Lines Matching defs:vma
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()
285 struct vm_area_struct *vma; in validate_mm() local
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() local
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()
453 struct vm_area_struct *vma) in init_vma_prep()
630 int vma_expand(struct vma_iterator *vmi, struct vm_area_struct *vma, 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()
872 struct vm_area_struct *vma, *adjust, *remove, *remove2; in vma_merge() local
1104 struct anon_vma *find_mergeable_anon_vma(struct vm_area_struct *vma) 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()
1696 struct vm_area_struct *vma, *prev; in generic_get_unmapped_area() local
1743 struct vm_area_struct *vma, *prev; in generic_get_unmapped_area_topdown() local
1898 struct vm_area_struct *vma; in find_vma_prev() local
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()
2052 int expand_downwards(struct vm_area_struct *vma, unsigned long address) in expand_downwards()
2158 int expand_stack_locked(struct vm_area_struct *vma, unsigned long address) in expand_stack_locked()
2165 struct vm_area_struct *vma, *prev; in find_extend_vma_locked() local
2180 int expand_stack_locked(struct vm_area_struct *vma, unsigned long address) in expand_stack_locked()
2189 struct vm_area_struct *vma; in find_extend_vma_locked() local
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()
2244 #define vma_expand_up(vma,addr) expand_upwards(vma, addr) argument
2245 #define vma_expand_down(vma, addr) (-EFAULT) argument
2249 #define vma_expand_up(vma,addr) (-EFAULT) argument
2250 #define vma_expand_down(vma, addr) expand_downwards(vma, addr) argument
2267 struct vm_area_struct *vma, *prev; in expand_stack() local
2302 struct vm_area_struct *vma; in remove_mt() local
2323 struct vm_area_struct *vma, struct vm_area_struct *prev, in unmap_region()
2346 int __split_vma(struct vma_iterator *vmi, struct vm_area_struct *vma, 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()
2623 struct vm_area_struct *vma; in do_vmi_munmap() local
2667 struct vm_area_struct *vma = NULL; in mmap_region() local
2957 struct vm_area_struct *vma; in SYSCALL_DEFINE5() local
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() local
3207 struct vm_area_struct *vma; in exit_mmap() local
3271 int insert_vm_struct(struct mm_struct *mm, struct vm_area_struct *vma) in insert_vm_struct()
3316 struct vm_area_struct *vma = *vmap; in copy_vma() local
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()
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() local
3529 struct vm_area_struct *vma; in __install_special_mapping() local
3560 bool vma_is_special_mapping(const struct vm_area_struct *vma, in vma_is_special_mapping()
3590 struct vm_area_struct *vma = __install_special_mapping( in install_special_mapping() local
3680 struct vm_area_struct *vma; in mm_take_all_locks() local
3776 struct vm_area_struct *vma; in mm_drop_all_locks() local