Lines Matching refs:vm_area_struct
80 struct vm_area_struct *vma, struct vm_area_struct *prev,
81 struct vm_area_struct *next, unsigned long start,
90 void vma_set_page_prot(struct vm_area_struct *vma) in vma_set_page_prot()
107 static void __remove_shared_vm_struct(struct vm_area_struct *vma, in __remove_shared_vm_struct()
122 void unlink_file_vma(struct vm_area_struct *vma) in unlink_file_vma()
137 static void remove_vma(struct vm_area_struct *vma, bool unreachable) in remove_vma()
151 static inline struct vm_area_struct *vma_prev_limit(struct vma_iterator *vmi, in vma_prev_limit()
176 static int do_brk_flags(struct vma_iterator *vmi, struct vm_area_struct *brkvma,
182 struct vm_area_struct *brkvma, *next = NULL; in SYSCALL_DEFINE1()
285 struct vm_area_struct *vma; in validate_mm()
350 anon_vma_interval_tree_pre_update_vma(struct vm_area_struct *vma) in anon_vma_interval_tree_pre_update_vma()
359 anon_vma_interval_tree_post_update_vma(struct vm_area_struct *vma) in anon_vma_interval_tree_post_update_vma()
371 struct vm_area_struct *vma; in count_vma_pages_range()
384 static void __vma_link_file(struct vm_area_struct *vma, in __vma_link_file()
395 static int vma_link(struct mm_struct *mm, struct vm_area_struct *vma) in vma_link()
429 struct vm_area_struct *vma, struct vm_area_struct *next, in init_multi_vma_prep()
430 struct vm_area_struct *remove, struct vm_area_struct *remove2) in init_multi_vma_prep()
453 struct vm_area_struct *vma) in init_vma_prep()
590 static inline int dup_anon_vma(struct vm_area_struct *dst, in dup_anon_vma()
591 struct vm_area_struct *src, struct vm_area_struct **dup) in dup_anon_vma()
630 int vma_expand(struct vma_iterator *vmi, struct vm_area_struct *vma, in vma_expand()
632 struct vm_area_struct *next) in vma_expand()
634 struct vm_area_struct *anon_dup = NULL; in vma_expand()
686 int vma_shrink(struct vma_iterator *vmi, struct vm_area_struct *vma, in vma_shrink()
720 static inline bool is_mergeable_vma(struct vm_area_struct *vma, in is_mergeable_vma()
747 struct anon_vma *anon_vma2, struct vm_area_struct *vma) in is_mergeable_anon_vma()
773 can_vma_merge_before(struct vm_area_struct *vma, unsigned long vm_flags, in can_vma_merge_before()
796 can_vma_merge_after(struct vm_area_struct *vma, unsigned long vm_flags, in can_vma_merge_after()
863 struct vm_area_struct *vma_merge(struct vma_iterator *vmi, struct mm_struct *mm, in vma_merge()
864 struct vm_area_struct *prev, unsigned long addr, in vma_merge()
871 struct vm_area_struct *curr, *next, *res; in vma_merge()
872 struct vm_area_struct *vma, *adjust, *remove, *remove2; in vma_merge()
873 struct vm_area_struct *anon_dup = NULL; in vma_merge()
1054 static int anon_vma_compatible(struct vm_area_struct *a, struct vm_area_struct *b) in anon_vma_compatible()
1085 …struct anon_vma *reusable_anon_vma(struct vm_area_struct *old, struct vm_area_struct *a, struct vm… in reusable_anon_vma()
1104 struct anon_vma *find_mergeable_anon_vma(struct vm_area_struct *vma) in find_mergeable_anon_vma()
1108 struct vm_area_struct *prev, *next; in find_mergeable_anon_vma()
1463 static bool vma_is_shared_writable(struct vm_area_struct *vma) in vma_is_shared_writable()
1469 static bool vma_fs_can_writeback(struct vm_area_struct *vma) in vma_fs_can_writeback()
1483 bool vma_needs_dirty_tracking(struct vm_area_struct *vma) in vma_needs_dirty_tracking()
1506 int vma_wants_writenotify(struct vm_area_struct *vma, pgprot_t vm_page_prot) in vma_wants_writenotify()
1567 struct vm_area_struct *tmp; in unmapped_area()
1619 struct vm_area_struct *tmp; in unmapped_area_topdown()
1696 struct vm_area_struct *vma, *prev; in generic_get_unmapped_area()
1743 struct vm_area_struct *vma, *prev; in generic_get_unmapped_area_topdown()
1853 struct vm_area_struct *find_vma_intersection(struct mm_struct *mm, in find_vma_intersection()
1872 struct vm_area_struct *find_vma(struct mm_struct *mm, unsigned long addr) in find_vma()
1894 struct vm_area_struct *
1896 struct vm_area_struct **pprev) in find_vma_prev()
1898 struct vm_area_struct *vma; in find_vma_prev()
1913 static int acct_stack_growth(struct vm_area_struct *vma, in acct_stack_growth()
1952 static int expand_upwards(struct vm_area_struct *vma, unsigned long address) in expand_upwards()
1955 struct vm_area_struct *next; in expand_upwards()
2052 int expand_downwards(struct vm_area_struct *vma, unsigned long address) in expand_downwards()
2056 struct vm_area_struct *prev; in expand_downwards()
2158 int expand_stack_locked(struct vm_area_struct *vma, unsigned long address) in expand_stack_locked()
2163 struct vm_area_struct *find_extend_vma_locked(struct mm_struct *mm, unsigned long addr) in find_extend_vma_locked()
2165 struct vm_area_struct *vma, *prev; in find_extend_vma_locked()
2180 int expand_stack_locked(struct vm_area_struct *vma, unsigned long address) in expand_stack_locked()
2187 struct vm_area_struct *find_extend_vma_locked(struct mm_struct *mm, unsigned long addr) in find_extend_vma_locked()
2189 struct vm_area_struct *vma; in find_extend_vma_locked()
2215 static inline bool vma_expand_ok(struct vm_area_struct *vma, unsigned long addr) in vma_expand_ok()
2226 static inline int vma_expand_up(struct vm_area_struct *vma, unsigned long addr) in vma_expand_up()
2235 static inline bool vma_expand_down(struct vm_area_struct *vma, unsigned long addr) in vma_expand_down()
2265 struct vm_area_struct *expand_stack(struct mm_struct *mm, unsigned long addr) in expand_stack()
2267 struct vm_area_struct *vma, *prev; in expand_stack()
2302 struct vm_area_struct *vma; in remove_mt()
2323 struct vm_area_struct *vma, struct vm_area_struct *prev, in unmap_region()
2324 struct vm_area_struct *next, unsigned long start, in unmap_region()
2346 int __split_vma(struct vma_iterator *vmi, struct vm_area_struct *vma, in __split_vma()
2350 struct vm_area_struct *new; in __split_vma()
2428 int split_vma(struct vma_iterator *vmi, struct vm_area_struct *vma, in split_vma()
2452 do_vmi_align_munmap(struct vma_iterator *vmi, struct vm_area_struct *vma, in do_vmi_align_munmap()
2456 struct vm_area_struct *prev, *next = NULL; in do_vmi_align_munmap()
2536 struct vm_area_struct *vma_mas, *vma_test; in do_vmi_align_munmap()
2623 struct vm_area_struct *vma; in do_vmi_munmap()
2667 struct vm_area_struct *vma = NULL; in mmap_region()
2668 struct vm_area_struct *next, *prev, *merge; in mmap_region()
2957 struct vm_area_struct *vma; in SYSCALL_DEFINE5()
2987 struct vm_area_struct *next, *prev = vma; in SYSCALL_DEFINE5()
3047 int do_vma_munmap(struct vma_iterator *vmi, struct vm_area_struct *vma, in do_vma_munmap()
3069 static int do_brk_flags(struct vma_iterator *vmi, struct vm_area_struct *vma, in do_brk_flags()
3153 struct vm_area_struct *vma = NULL; in vm_brk_flags()
3207 struct vm_area_struct *vma; in exit_mmap()
3271 int insert_vm_struct(struct mm_struct *mm, struct vm_area_struct *vma) in insert_vm_struct()
3312 struct vm_area_struct *copy_vma(struct vm_area_struct **vmap, in copy_vma()
3316 struct vm_area_struct *vma = *vmap; in copy_vma()
3319 struct vm_area_struct *new_vma, *prev; in copy_vma()
3444 static void special_mapping_close(struct vm_area_struct *vma) in special_mapping_close()
3448 static const char *special_mapping_name(struct vm_area_struct *vma) in special_mapping_name()
3453 static int special_mapping_mremap(struct vm_area_struct *new_vma) in special_mapping_mremap()
3466 static int special_mapping_split(struct vm_area_struct *vma, unsigned long addr) in special_mapping_split()
3494 struct vm_area_struct *vma = vmf->vma; in special_mapping_fault()
3522 static struct vm_area_struct *__install_special_mapping( in __install_special_mapping()
3529 struct vm_area_struct *vma; in __install_special_mapping()
3560 bool vma_is_special_mapping(const struct vm_area_struct *vma, in vma_is_special_mapping()
3577 struct vm_area_struct *_install_special_mapping( in _install_special_mapping()
3590 struct vm_area_struct *vma = __install_special_mapping( in install_special_mapping()
3680 struct vm_area_struct *vma; in mm_take_all_locks()
3776 struct vm_area_struct *vma; in mm_drop_all_locks()