Lines Matching refs:vm_area_struct
79 struct vm_area_struct *vma, struct vm_area_struct *prev,
80 struct vm_area_struct *next, unsigned long start,
89 void vma_set_page_prot(struct vm_area_struct *vma) in vma_set_page_prot()
106 static void __remove_shared_vm_struct(struct vm_area_struct *vma, in __remove_shared_vm_struct()
121 void unlink_file_vma(struct vm_area_struct *vma) in unlink_file_vma()
136 static void remove_vma(struct vm_area_struct *vma) in remove_vma()
165 static int do_brk_munmap(struct ma_state *mas, struct vm_area_struct *vma,
168 static int do_brk_flags(struct ma_state *mas, struct vm_area_struct *brkvma,
174 struct vm_area_struct *brkvma, *next = NULL; in SYSCALL_DEFINE1()
291 struct vm_area_struct *vma_mt; in validate_mm_mt()
329 struct vm_area_struct *vma; in validate_mm()
375 anon_vma_interval_tree_pre_update_vma(struct vm_area_struct *vma) in anon_vma_interval_tree_pre_update_vma()
384 anon_vma_interval_tree_post_update_vma(struct vm_area_struct *vma) in anon_vma_interval_tree_post_update_vma()
396 struct vm_area_struct *vma; in count_vma_pages_range()
409 static void __vma_link_file(struct vm_area_struct *vma, in __vma_link_file()
430 void vma_mas_store(struct vm_area_struct *vma, struct ma_state *mas) in vma_mas_store()
446 void vma_mas_remove(struct vm_area_struct *vma, struct ma_state *mas) in vma_mas_remove()
470 static int vma_link(struct mm_struct *mm, struct vm_area_struct *vma) in vma_link()
512 inline int vma_expand(struct ma_state *mas, struct vm_area_struct *vma, in vma_expand()
514 struct vm_area_struct *next) in vma_expand()
615 int __vma_adjust(struct vm_area_struct *vma, unsigned long start, in __vma_adjust()
616 unsigned long end, pgoff_t pgoff, struct vm_area_struct *insert, in __vma_adjust()
617 struct vm_area_struct *expand) in __vma_adjust()
620 struct vm_area_struct *next_next = NULL; /* uninit var warning */ in __vma_adjust()
621 struct vm_area_struct *next = find_vma(mm, vma->vm_end); in __vma_adjust()
622 struct vm_area_struct *orig_vma = vma; in __vma_adjust()
631 struct vm_area_struct *exporter = NULL, *importer = NULL; in __vma_adjust()
866 static inline int is_mergeable_vma(struct vm_area_struct *vma, in is_mergeable_vma()
894 struct vm_area_struct *vma) in is_mergeable_anon_vma()
918 can_vma_merge_before(struct vm_area_struct *vma, unsigned long vm_flags, in can_vma_merge_before()
940 can_vma_merge_after(struct vm_area_struct *vma, unsigned long vm_flags, in can_vma_merge_after()
999 struct vm_area_struct *vma_merge(struct mm_struct *mm, in vma_merge()
1000 struct vm_area_struct *prev, unsigned long addr, in vma_merge()
1008 struct vm_area_struct *mid, *next, *res; in vma_merge()
1090 static int anon_vma_compatible(struct vm_area_struct *a, struct vm_area_struct *b) in anon_vma_compatible()
1121 …struct anon_vma *reusable_anon_vma(struct vm_area_struct *old, struct vm_area_struct *a, struct vm… in reusable_anon_vma()
1140 struct anon_vma *find_mergeable_anon_vma(struct vm_area_struct *vma) in find_mergeable_anon_vma()
1144 struct vm_area_struct *prev, *next; in find_mergeable_anon_vma()
1501 int vma_wants_writenotify(struct vm_area_struct *vma, pgprot_t vm_page_prot) in vma_wants_writenotify()
1654 struct vm_area_struct *vma, *prev; in generic_get_unmapped_area()
1701 struct vm_area_struct *vma, *prev; in generic_get_unmapped_area_topdown()
1811 struct vm_area_struct *find_vma_intersection(struct mm_struct *mm, in find_vma_intersection()
1830 struct vm_area_struct *find_vma(struct mm_struct *mm, unsigned long addr) in find_vma()
1852 struct vm_area_struct *
1854 struct vm_area_struct **pprev) in find_vma_prev()
1856 struct vm_area_struct *vma; in find_vma_prev()
1871 static int acct_stack_growth(struct vm_area_struct *vma, in acct_stack_growth()
1910 int expand_upwards(struct vm_area_struct *vma, unsigned long address) in expand_upwards()
1913 struct vm_area_struct *next; in expand_upwards()
2002 int expand_downwards(struct vm_area_struct *vma, unsigned long address) in expand_downwards()
2006 struct vm_area_struct *prev; in expand_downwards()
2097 int expand_stack(struct vm_area_struct *vma, unsigned long address) in expand_stack()
2102 struct vm_area_struct *
2105 struct vm_area_struct *vma, *prev; in find_extend_vma()
2118 int expand_stack(struct vm_area_struct *vma, unsigned long address) in expand_stack()
2123 struct vm_area_struct *
2126 struct vm_area_struct *vma; in find_extend_vma()
2157 struct vm_area_struct *vma; in remove_mt()
2179 struct vm_area_struct *vma, struct vm_area_struct *prev, in unmap_region()
2180 struct vm_area_struct *next, in unmap_region()
2198 int __split_vma(struct mm_struct *mm, struct vm_area_struct *vma, in __split_vma()
2201 struct vm_area_struct *new; in __split_vma()
2267 int split_vma(struct mm_struct *mm, struct vm_area_struct *vma, in split_vma()
2276 static inline int munmap_sidetree(struct vm_area_struct *vma, in munmap_sidetree()
2302 do_mas_align_munmap(struct ma_state *mas, struct vm_area_struct *vma, in do_mas_align_munmap()
2306 struct vm_area_struct *prev, *next = NULL; in do_mas_align_munmap()
2360 struct vm_area_struct *split; in do_mas_align_munmap()
2413 struct vm_area_struct *vma_mas, *vma_test; in do_mas_align_munmap()
2485 struct vm_area_struct *vma; in do_mas_munmap()
2524 struct vm_area_struct *vma = NULL; in mmap_region()
2525 struct vm_area_struct *next, *prev, *merge; in mmap_region()
2816 struct vm_area_struct *vma; in SYSCALL_DEFINE5()
2846 struct vm_area_struct *next, *prev = vma; in SYSCALL_DEFINE5()
2903 static int do_brk_munmap(struct ma_state *mas, struct vm_area_struct *vma, in do_brk_munmap()
2928 static int do_brk_flags(struct ma_state *mas, struct vm_area_struct *vma, in do_brk_flags()
3012 struct vm_area_struct *vma = NULL; in vm_brk_flags()
3066 struct vm_area_struct *vma; in exit_mmap()
3127 int insert_vm_struct(struct mm_struct *mm, struct vm_area_struct *vma) in insert_vm_struct()
3168 struct vm_area_struct *copy_vma(struct vm_area_struct **vmap, in copy_vma()
3172 struct vm_area_struct *vma = *vmap; in copy_vma()
3175 struct vm_area_struct *new_vma, *prev; in copy_vma()
3302 static void special_mapping_close(struct vm_area_struct *vma) in special_mapping_close()
3306 static const char *special_mapping_name(struct vm_area_struct *vma) in special_mapping_name()
3311 static int special_mapping_mremap(struct vm_area_struct *new_vma) in special_mapping_mremap()
3324 static int special_mapping_split(struct vm_area_struct *vma, unsigned long addr) in special_mapping_split()
3352 struct vm_area_struct *vma = vmf->vma; in special_mapping_fault()
3380 static struct vm_area_struct *__install_special_mapping( in __install_special_mapping()
3387 struct vm_area_struct *vma; in __install_special_mapping()
3421 bool vma_is_special_mapping(const struct vm_area_struct *vma, in vma_is_special_mapping()
3438 struct vm_area_struct *_install_special_mapping( in _install_special_mapping()
3451 struct vm_area_struct *vma = __install_special_mapping( in install_special_mapping()
3540 struct vm_area_struct *vma; in mm_take_all_locks()
3623 struct vm_area_struct *vma; in mm_drop_all_locks()