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
1117 struct anon_vma *find_mergeable_anon_vma(struct vm_area_struct *vma) in find_mergeable_anon_vma()
1476 static bool vma_is_shared_writable(struct vm_area_struct *vma) in vma_is_shared_writable()
1482 static bool vma_fs_can_writeback(struct vm_area_struct *vma) in vma_fs_can_writeback()
1496 bool vma_needs_dirty_tracking(struct vm_area_struct *vma) in vma_needs_dirty_tracking()
1519 int vma_wants_writenotify(struct vm_area_struct *vma, pgprot_t vm_page_prot) in vma_wants_writenotify()
1709 struct vm_area_struct *vma, *prev; in generic_get_unmapped_area() local
1756 struct vm_area_struct *vma, *prev; in generic_get_unmapped_area_topdown() local
1916 struct vm_area_struct *vma; in find_vma_prev() local
1931 static int acct_stack_growth(struct vm_area_struct *vma, in acct_stack_growth()
1970 static int expand_upwards(struct vm_area_struct *vma, unsigned long address) in expand_upwards()
2070 int expand_downwards(struct vm_area_struct *vma, unsigned long address) in expand_downwards()
2176 int expand_stack_locked(struct vm_area_struct *vma, unsigned long address) in expand_stack_locked()
2183 struct vm_area_struct *vma, *prev; in find_extend_vma_locked() local
2198 int expand_stack_locked(struct vm_area_struct *vma, unsigned long address) in expand_stack_locked()
2205 struct vm_area_struct *vma; in find_extend_vma_locked() local
2225 #define vma_expand_up(vma,addr) expand_upwards(vma, addr) argument
2226 #define vma_expand_down(vma, addr) (-EFAULT) argument
2230 #define vma_expand_up(vma,addr) (-EFAULT) argument
2231 #define vma_expand_down(vma, addr) expand_downwards(vma, addr) argument
2248 struct vm_area_struct *vma, *prev; in expand_stack() local
2283 struct vm_area_struct *vma; in remove_mt() local
2304 struct vm_area_struct *vma, struct vm_area_struct *prev, in unmap_region()
2327 static int __split_vma(struct vma_iterator *vmi, struct vm_area_struct *vma, in __split_vma()
2409 static int split_vma(struct vma_iterator *vmi, struct vm_area_struct *vma, in split_vma()
2431 struct vm_area_struct *vma_modify(struct vma_iterator *vmi, in vma_modify()
2472 struct vm_area_struct *vma, unsigned long start, in vma_merge_new_vma()
2484 struct vm_area_struct *vma_merge_extend(struct vma_iterator *vmi, in vma_merge_extend()
2512 do_vmi_align_munmap(struct vma_iterator *vmi, struct vm_area_struct *vma, in do_vmi_align_munmap()
2683 struct vm_area_struct *vma; in do_vmi_munmap() local
2727 struct vm_area_struct *vma = NULL; in mmap_region() local
3019 struct vm_area_struct *vma; in SYSCALL_DEFINE5() local
3109 int do_vma_munmap(struct vma_iterator *vmi, struct vm_area_struct *vma, in do_vma_munmap()
3131 static int do_brk_flags(struct vma_iterator *vmi, struct vm_area_struct *vma, in do_brk_flags()
3215 struct vm_area_struct *vma = NULL; in vm_brk_flags() local
3263 struct vm_area_struct *vma; in exit_mmap() local
3330 int insert_vm_struct(struct mm_struct *mm, struct vm_area_struct *vma) in insert_vm_struct()
3376 struct vm_area_struct *vma = *vmap; in copy_vma() local
3502 static void special_mapping_close(struct vm_area_struct *vma) in special_mapping_close()
3506 static const char *special_mapping_name(struct vm_area_struct *vma) in special_mapping_name()
3524 static int special_mapping_split(struct vm_area_struct *vma, unsigned long addr) in special_mapping_split()
3552 struct vm_area_struct *vma = vmf->vma; in special_mapping_fault() local
3587 struct vm_area_struct *vma; in __install_special_mapping() local
3618 bool vma_is_special_mapping(const struct vm_area_struct *vma, in vma_is_special_mapping()
3648 struct vm_area_struct *vma = __install_special_mapping( in install_special_mapping() local
3738 struct vm_area_struct *vma; in mm_take_all_locks() local
3834 struct vm_area_struct *vma; in mm_drop_all_locks() local