anon_vma 1178 fs/binfmt_elf.c if (vma->anon_vma && FILTER(ANON_PRIVATE)) anon_vma 1223 fs/binfmt_elf_fdpic.c if (!vma->anon_vma) { anon_vma 18 include/linux/mm.h struct anon_vma; anon_vma 1072 include/linux/mm.h extern struct anon_vma *find_mergeable_anon_vma(struct vm_area_struct *); anon_vma 145 include/linux/mm_types.h struct anon_vma *anon_vma; /* Serialized by page_table_lock */ anon_vma 44 include/linux/rmap.h static inline struct anon_vma *anon_vma_alloc(void) anon_vma 51 include/linux/rmap.h kmem_cache_free(anon_vma_cachep, anon_vma); anon_vma 56 include/linux/rmap.h struct anon_vma *anon_vma = vma->anon_vma; anon_vma 57 include/linux/rmap.h if (anon_vma) anon_vma 58 include/linux/rmap.h spin_lock(&anon_vma->lock); anon_vma 63 include/linux/rmap.h struct anon_vma *anon_vma = vma->anon_vma; anon_vma 64 include/linux/rmap.h if (anon_vma) anon_vma 65 include/linux/rmap.h spin_unlock(&anon_vma->lock); anon_vma 70 mm/madvise.c *prev = vma_merge(mm, *prev, start, end, new_flags, vma->anon_vma, anon_vma 665 mm/memory.c if (!vma->anon_vma) anon_vma 229 mm/migrate.c struct anon_vma *anon_vma; anon_vma 241 mm/migrate.c anon_vma = (struct anon_vma *) (mapping - PAGE_MAPPING_ANON); anon_vma 242 mm/migrate.c spin_lock(&anon_vma->lock); anon_vma 244 mm/migrate.c list_for_each_entry(vma, &anon_vma->head, anon_vma_node) anon_vma 247 mm/migrate.c spin_unlock(&anon_vma->lock); anon_vma 40 mm/mlock.c *prev = vma_merge(mm, *prev, start, end, newflags, vma->anon_vma, anon_vma 514 mm/mmap.c struct anon_vma *anon_vma = NULL; anon_vma 526 mm/mmap.c anon_vma = next->anon_vma; anon_vma 534 mm/mmap.c anon_vma = next->anon_vma; anon_vma 543 mm/mmap.c anon_vma = next->anon_vma; anon_vma 577 mm/mmap.c if (vma->anon_vma) anon_vma 578 mm/mmap.c anon_vma = vma->anon_vma; anon_vma 579 mm/mmap.c if (anon_vma) { anon_vma 580 mm/mmap.c spin_lock(&anon_vma->lock); anon_vma 586 mm/mmap.c if (importer && !importer->anon_vma) { anon_vma 587 mm/mmap.c importer->anon_vma = anon_vma; anon_vma 622 mm/mmap.c if (next->anon_vma) anon_vma 633 mm/mmap.c if (anon_vma) anon_vma 634 mm/mmap.c spin_unlock(&anon_vma->lock); anon_vma 701 mm/mmap.c is_mergeable_anon_vma(anon_vma, vma->anon_vma)) { anon_vma 720 mm/mmap.c is_mergeable_anon_vma(anon_vma, vma->anon_vma)) { anon_vma 788 mm/mmap.c anon_vma, file, pgoff)) { anon_vma 795 mm/mmap.c anon_vma, file, pgoff+pglen) && anon_vma 796 mm/mmap.c is_mergeable_anon_vma(prev->anon_vma, anon_vma 797 mm/mmap.c next->anon_vma)) { anon_vma 813 mm/mmap.c anon_vma, file, pgoff+pglen)) { anon_vma 834 mm/mmap.c struct anon_vma *find_mergeable_anon_vma(struct vm_area_struct *vma) anon_vma 852 mm/mmap.c if (near->anon_vma && vma->vm_end == near->vm_start && anon_vma 857 mm/mmap.c return near->anon_vma; anon_vma 873 mm/mmap.c if (near->anon_vma && near->vm_end == vma->vm_start && anon_vma 877 mm/mmap.c return near->anon_vma; anon_vma 2113 mm/mmap.c BUG_ON(vma->anon_vma); anon_vma 2144 mm/mmap.c if (!vma->vm_file && !vma->anon_vma) anon_vma 2149 mm/mmap.c vma->anon_vma, vma->vm_file, pgoff, vma_policy(vma)); anon_vma 2282 mm/mmap.c if (!test_bit(0, (unsigned long *) &anon_vma->head.next)) { anon_vma 2287 mm/mmap.c spin_lock_nest_lock(&anon_vma->lock, &mm->mmap_sem); anon_vma 2298 mm/mmap.c &anon_vma->head.next)) anon_vma 2372 mm/mmap.c if (vma->anon_vma) anon_vma 2373 mm/mmap.c vm_lock_anon_vma(mm, vma->anon_vma); anon_vma 2387 mm/mmap.c if (test_bit(0, (unsigned long *) &anon_vma->head.next)) { anon_vma 2401 mm/mmap.c &anon_vma->head.next)) anon_vma 2403 mm/mmap.c spin_unlock(&anon_vma->lock); anon_vma 2433 mm/mmap.c if (vma->anon_vma) anon_vma 2434 mm/mmap.c vm_unlock_anon_vma(vma->anon_vma); anon_vma 173 mm/mprotect.c vma->anon_vma, vma->vm_file, pgoff, vma_policy(vma)); anon_vma 61 mm/rmap.c struct anon_vma *anon_vma = vma->anon_vma; anon_vma 64 mm/rmap.c if (unlikely(!anon_vma)) { anon_vma 66 mm/rmap.c struct anon_vma *allocated, *locked; anon_vma 68 mm/rmap.c anon_vma = find_mergeable_anon_vma(vma); anon_vma 69 mm/rmap.c if (anon_vma) { anon_vma 71 mm/rmap.c locked = anon_vma; anon_vma 74 mm/rmap.c anon_vma = anon_vma_alloc(); anon_vma 75 mm/rmap.c if (unlikely(!anon_vma)) anon_vma 77 mm/rmap.c allocated = anon_vma; anon_vma 83 mm/rmap.c if (likely(!vma->anon_vma)) { anon_vma 84 mm/rmap.c vma->anon_vma = anon_vma; anon_vma 85 mm/rmap.c list_add_tail(&vma->anon_vma_node, &anon_vma->head); anon_vma 100 mm/rmap.c BUG_ON(vma->anon_vma != next->anon_vma); anon_vma 106 mm/rmap.c struct anon_vma *anon_vma = vma->anon_vma; anon_vma 108 mm/rmap.c if (anon_vma) anon_vma 109 mm/rmap.c list_add_tail(&vma->anon_vma_node, &anon_vma->head); anon_vma 114 mm/rmap.c struct anon_vma *anon_vma = vma->anon_vma; anon_vma 116 mm/rmap.c if (anon_vma) { anon_vma 117 mm/rmap.c spin_lock(&anon_vma->lock); anon_vma 118 mm/rmap.c list_add_tail(&vma->anon_vma_node, &anon_vma->head); anon_vma 119 mm/rmap.c spin_unlock(&anon_vma->lock); anon_vma 125 mm/rmap.c struct anon_vma *anon_vma = vma->anon_vma; anon_vma 128 mm/rmap.c if (!anon_vma) anon_vma 131 mm/rmap.c spin_lock(&anon_vma->lock); anon_vma 135 mm/rmap.c empty = list_empty(&anon_vma->head); anon_vma 136 mm/rmap.c spin_unlock(&anon_vma->lock); anon_vma 139 mm/rmap.c anon_vma_free(anon_vma); anon_vma 144 mm/rmap.c struct anon_vma *anon_vma = data; anon_vma 146 mm/rmap.c spin_lock_init(&anon_vma->lock); anon_vma 147 mm/rmap.c INIT_LIST_HEAD(&anon_vma->head); anon_vma 152 mm/rmap.c anon_vma_cachep = kmem_cache_create("anon_vma", sizeof(struct anon_vma), anon_vma 160 mm/rmap.c static struct anon_vma *page_lock_anon_vma(struct page *page) anon_vma 162 mm/rmap.c struct anon_vma *anon_vma; anon_vma 172 mm/rmap.c anon_vma = (struct anon_vma *) (anon_mapping - PAGE_MAPPING_ANON); anon_vma 173 mm/rmap.c spin_lock(&anon_vma->lock); anon_vma 174 mm/rmap.c return anon_vma; anon_vma 182 mm/rmap.c spin_unlock(&anon_vma->lock); anon_vma 212 mm/rmap.c if ((void *)vma->anon_vma != anon_vma 314 mm/rmap.c struct anon_vma *anon_vma; anon_vma 318 mm/rmap.c anon_vma = page_lock_anon_vma(page); anon_vma 319 mm/rmap.c if (!anon_vma) anon_vma 323 mm/rmap.c list_for_each_entry(vma, &anon_vma->head, anon_vma_node) { anon_vma 336 mm/rmap.c page_unlock_anon_vma(anon_vma); anon_vma 525 mm/rmap.c struct anon_vma *anon_vma = vma->anon_vma; anon_vma 527 mm/rmap.c BUG_ON(!anon_vma); anon_vma 528 mm/rmap.c anon_vma = (void *) anon_vma + PAGE_MAPPING_ANON; anon_vma 529 mm/rmap.c page->mapping = (struct address_space *) anon_vma; anon_vma 562 mm/rmap.c struct anon_vma *anon_vma = vma->anon_vma; anon_vma 563 mm/rmap.c anon_vma = (void *) anon_vma + PAGE_MAPPING_ANON; anon_vma 564 mm/rmap.c BUG_ON(page->mapping != (struct address_space *)anon_vma); anon_vma 878 mm/rmap.c struct anon_vma *anon_vma; anon_vma 882 mm/rmap.c anon_vma = page_lock_anon_vma(page); anon_vma 883 mm/rmap.c if (!anon_vma) anon_vma 886 mm/rmap.c list_for_each_entry(vma, &anon_vma->head, anon_vma_node) { anon_vma 892 mm/rmap.c page_unlock_anon_vma(anon_vma); anon_vma 668 mm/swapfile.c if (vma->anon_vma && (ret = unuse_vma(vma, entry, page))) anon_vma 3039 security/selinux/hooks.c } else if (vma->vm_file && vma->anon_vma) {