Home
last modified time | relevance | path

Searched defs:vma (Results 1 – 24 of 24) sorted by relevance

/mm/
Dmmap.c199 static void __remove_shared_vm_struct(struct vm_area_struct *vma, in __remove_shared_vm_struct()
219 void unlink_file_vma(struct vm_area_struct *vma) in unlink_file_vma()
234 static struct vm_area_struct *remove_vma(struct vm_area_struct *vma) in remove_vma()
314 struct vm_area_struct *vma; in browse_rb() local
361 struct vm_area_struct * vma; in find_vma_prepare() local
394 __vma_link_list(struct mm_struct *mm, struct vm_area_struct *vma, in __vma_link_list()
410 void __vma_link_rb(struct mm_struct *mm, struct vm_area_struct *vma, in __vma_link_rb()
417 static void __vma_link_file(struct vm_area_struct *vma) in __vma_link_file()
440 __vma_link(struct mm_struct *mm, struct vm_area_struct *vma, in __vma_link()
449 static void vma_link(struct mm_struct *mm, struct vm_area_struct *vma, in vma_link()
[all …]
Drmap.c97 int anon_vma_prepare(struct vm_area_struct *vma) in anon_vma_prepare()
132 void __anon_vma_merge(struct vm_area_struct *vma, struct vm_area_struct *next) in __anon_vma_merge()
138 void __anon_vma_link(struct vm_area_struct *vma) in __anon_vma_link()
146 void anon_vma_link(struct vm_area_struct *vma) in anon_vma_link()
157 void anon_vma_unlink(struct vm_area_struct *vma) in anon_vma_unlink()
226 vma_address(struct page *page, struct vm_area_struct *vma) in vma_address()
243 unsigned long page_address_in_vma(struct page *page, struct vm_area_struct *vma) in page_address_in_vma()
314 static int page_mapped_in_vma(struct page *page, struct vm_area_struct *vma) in page_mapped_in_vma()
336 struct vm_area_struct *vma, unsigned int *mapcount) in page_referenced_one()
392 struct vm_area_struct *vma; in page_referenced_anon() local
[all …]
Dprio_tree.c28 #define RADIX_INDEX(vma) ((vma)->vm_pgoff) argument
29 #define VMA_SIZE(vma) (((vma)->vm_end - (vma)->vm_start) >> PAGE_SHIFT) argument
31 #define HEAP_INDEX(vma) ((vma)->vm_pgoff + (VMA_SIZE(vma) - 1)) argument
75 void vma_prio_tree_add(struct vm_area_struct *vma, struct vm_area_struct *old) in vma_prio_tree_add()
97 void vma_prio_tree_insert(struct vm_area_struct *vma, in vma_prio_tree_insert()
113 void vma_prio_tree_remove(struct vm_area_struct *vma, in vma_prio_tree_remove()
164 struct vm_area_struct *vma_prio_tree_next(struct vm_area_struct *vma, in vma_prio_tree_next()
Dmemory.c277 void free_pgtables(struct mmu_gather *tlb, struct vm_area_struct *vma, in free_pgtables()
378 static void print_bad_pte(struct vm_area_struct *vma, unsigned long addr, in print_bad_pte()
491 struct page *vm_normal_page(struct vm_area_struct *vma, unsigned long addr, in vm_normal_page()
543 pte_t *dst_pte, pte_t *src_pte, struct vm_area_struct *vma, in copy_one_pte()
607 pmd_t *dst_pmd, pmd_t *src_pmd, struct vm_area_struct *vma, in copy_pte_range()
656 pud_t *dst_pud, pud_t *src_pud, struct vm_area_struct *vma, in copy_pmd_range()
678 pgd_t *dst_pgd, pgd_t *src_pgd, struct vm_area_struct *vma, in copy_pud_range()
700 struct vm_area_struct *vma) in copy_page_range()
762 struct vm_area_struct *vma, pmd_t *pmd, in zap_pte_range()
854 struct vm_area_struct *vma, pud_t *pud, in zap_pmd_range()
[all …]
Dhugetlb.c216 struct vm_area_struct *vma, unsigned long address) in vma_hugecache_offset()
226 unsigned long vma_kernel_pagesize(struct vm_area_struct *vma) in vma_kernel_pagesize()
245 unsigned long vma_mmu_pagesize(struct vm_area_struct *vma) in vma_mmu_pagesize()
279 static unsigned long get_vma_private_data(struct vm_area_struct *vma) in get_vma_private_data()
284 static void set_vma_private_data(struct vm_area_struct *vma, in set_vma_private_data()
316 static struct resv_map *vma_resv_map(struct vm_area_struct *vma) in vma_resv_map()
325 static void set_vma_resv_map(struct vm_area_struct *vma, struct resv_map *map) in set_vma_resv_map()
334 static void set_vma_resv_flags(struct vm_area_struct *vma, unsigned long flags) in set_vma_resv_flags()
342 static int is_vma_resv_set(struct vm_area_struct *vma, unsigned long flag) in is_vma_resv_set()
351 struct vm_area_struct *vma) in decrement_hugepage_resv_vma()
[all …]
Dnommu.c158 struct vm_area_struct *vma; in kobjsize() local
176 struct vm_area_struct *vma; in __get_user_pages() local
266 struct vm_area_struct *vma; in vmalloc_user() local
423 int vm_insert_page(struct vm_area_struct *vma, unsigned long addr, in vm_insert_page()
621 static void add_vma_to_mm(struct mm_struct *mm, struct vm_area_struct *vma) in add_vma_to_mm()
688 static void delete_vma_from_mm(struct vm_area_struct *vma) in delete_vma_from_mm()
724 static void delete_vma(struct mm_struct *mm, struct vm_area_struct *vma) in delete_vma()
744 struct vm_area_struct *vma; in find_vma() local
781 int expand_stack(struct vm_area_struct *vma, unsigned long address) in expand_stack()
794 struct vm_area_struct *vma; in find_vma_exact() local
[all …]
Dmadvise.c37 static long madvise_behavior(struct vm_area_struct * vma, in madvise_behavior()
106 static long madvise_willneed(struct vm_area_struct * vma, in madvise_willneed()
150 static long madvise_dontneed(struct vm_area_struct * vma, in madvise_dontneed()
176 static long madvise_remove(struct vm_area_struct *vma, in madvise_remove()
212 madvise_vma(struct vm_area_struct *vma, struct vm_area_struct **prev, in madvise_vma()
287 struct vm_area_struct * vma, *prev; in SYSCALL_DEFINE3() local
Dmlock.c157 static long __mlock_vma_pages_range(struct vm_area_struct *vma, in __mlock_vma_pages_range()
269 static long __mlock_vma_pages_range(struct vm_area_struct *vma, in __mlock_vma_pages_range()
298 long mlock_vma_pages_range(struct vm_area_struct *vma, in mlock_vma_pages_range()
354 void munlock_vma_pages_range(struct vm_area_struct *vma, in munlock_vma_pages_range()
370 static int mlock_fixup(struct vm_area_struct *vma, struct vm_area_struct **prev, in mlock_fixup()
447 struct vm_area_struct * vma, * prev; in do_mlock() local
535 struct vm_area_struct * vma, * prev = NULL; in do_mlockall() local
Dfremap.c26 static void zap_pte(struct mm_struct *mm, struct vm_area_struct *vma, in zap_pte()
56 static int install_file_pte(struct mm_struct *mm, struct vm_area_struct *vma, in install_file_pte()
84 static int populate_range(struct mm_struct *mm, struct vm_area_struct *vma, in populate_range()
129 struct vm_area_struct *vma; in SYSCALL_DEFINE5() local
Dmempolicy.c342 struct vm_area_struct *vma; in mpol_rebind_mm() local
373 static int check_pte_range(struct vm_area_struct *vma, pmd_t *pmd, in check_pte_range()
420 static inline int check_pmd_range(struct vm_area_struct *vma, pud_t *pud, in check_pmd_range()
440 static inline int check_pud_range(struct vm_area_struct *vma, pgd_t *pgd, in check_pud_range()
460 static inline int check_pgd_range(struct vm_area_struct *vma, in check_pgd_range()
490 struct vm_area_struct *first, *vma, *prev; in check_range() local
527 static int policy_vma(struct vm_area_struct *vma, struct mempolicy *new) in policy_vma()
548 static int mbind_range(struct vm_area_struct *vma, unsigned long start, in mbind_range()
674 struct vm_area_struct *vma = NULL; in do_get_mempolicy() local
895 struct vm_area_struct *vma = (struct vm_area_struct *)private; in new_vma_page() local
[all …]
Dmremap.c71 static void move_ptes(struct vm_area_struct *vma, pmd_t *old_pmd, in move_ptes()
131 unsigned long move_page_tables(struct vm_area_struct *vma, in move_page_tables()
165 static unsigned long move_vma(struct vm_area_struct *vma, in move_vma()
262 struct vm_area_struct *vma; in do_mremap() local
Dmigrate.c79 static void remove_migration_pte(struct vm_area_struct *vma, in remove_migration_pte()
149 struct vm_area_struct *vma; in remove_file_migration_ptes() local
172 struct vm_area_struct *vma; in remove_anon_migration_ptes() local
830 struct vm_area_struct *vma; in do_move_page_to_node_array() local
984 struct vm_area_struct *vma; in do_pages_stat_array() local
1129 struct vm_area_struct *vma; in migrate_vmas() local
Dmprotect.c113 static void change_protection(struct vm_area_struct *vma, in change_protection()
135 mprotect_fixup(struct vm_area_struct *vma, struct vm_area_struct **pprev, in mprotect_fixup()
225 struct vm_area_struct *vma, *prev; in SYSCALL_DEFINE3() local
Dfilemap_xip.c167 struct vm_area_struct *vma; in __xip_unmap() local
220 static int xip_file_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in xip_file_fault()
303 int xip_file_mmap(struct file * file, struct vm_area_struct * vma) in xip_file_mmap()
Dswapfile.c693 static int unuse_pte(struct vm_area_struct *vma, pmd_t *pmd, in unuse_pte()
732 static int unuse_pte_range(struct vm_area_struct *vma, pmd_t *pmd, in unuse_pte_range()
768 static inline int unuse_pmd_range(struct vm_area_struct *vma, pud_t *pud, in unuse_pmd_range()
788 static inline int unuse_pud_range(struct vm_area_struct *vma, pgd_t *pgd, in unuse_pud_range()
808 static int unuse_vma(struct vm_area_struct *vma, in unuse_vma()
841 struct vm_area_struct *vma; in unuse_mm() local
Dswap_state.c271 struct vm_area_struct *vma, unsigned long addr) in read_swap_cache_async()
350 struct vm_area_struct *vma, unsigned long addr) in swapin_readahead()
Dinternal.h70 static inline void munlock_vma_pages_all(struct vm_area_struct *vma) in munlock_vma_pages_all()
99 static inline int is_mlocked_vma(struct vm_area_struct *vma, struct page *page) in is_mlocked_vma()
Dmsync.c35 struct vm_area_struct *vma; in SYSCALL_DEFINE3() local
Dshmem.c1450 static int shmem_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in shmem_fault()
1467 static int shmem_set_policy(struct vm_area_struct *vma, struct mempolicy *new) in shmem_set_policy()
1473 static struct mempolicy *shmem_get_policy(struct vm_area_struct *vma, in shmem_get_policy()
1510 static int shmem_mmap(struct file *file, struct vm_area_struct *vma) in shmem_mmap()
2655 void shmem_set_file(struct vm_area_struct *vma, struct file *file) in shmem_set_file()
2667 int shmem_zero_setup(struct vm_area_struct *vma) in shmem_zero_setup()
Dmincore.c66 struct vm_area_struct *vma = find_vma(current->mm, addr); in do_mincore() local
Dfilemap.c1451 int filemap_fault(struct vm_area_struct *vma, struct vm_fault *vmf) in filemap_fault()
1613 int generic_file_mmap(struct file * file, struct vm_area_struct * vma) in generic_file_mmap()
1628 int generic_file_readonly_mmap(struct file *file, struct vm_area_struct *vma) in generic_file_readonly_mmap()
1635 int generic_file_mmap(struct file * file, struct vm_area_struct * vma) in generic_file_mmap()
1639 int generic_file_readonly_mmap(struct file * file, struct vm_area_struct * vma) in generic_file_readonly_mmap()
Dashmem.c214 static int ashmem_mmap(struct file *file, struct vm_area_struct *vma) in ashmem_mmap()
Dvmscan.c2420 int page_evictable(struct page *page, struct vm_area_struct *vma) in page_evictable()
Dvmalloc.c1615 int remap_vmalloc_range(struct vm_area_struct *vma, void *addr, in remap_vmalloc_range()