Lines Matching refs:vm_area_struct
12 struct vm_area_struct *vma = merge_next ? vmg->next : vmg->prev; in is_mergeable_vma()
36 struct anon_vma *anon_vma2, struct vm_area_struct *vma) in is_mergeable_anon_vma()
49 static inline bool are_anon_vmas_compatible(struct vm_area_struct *vma1, in are_anon_vmas_compatible()
50 struct vm_area_struct *vma2) in are_anon_vmas_compatible()
64 struct vm_area_struct *vma, in init_multi_vma_prep()
65 struct vm_area_struct *next, in init_multi_vma_prep()
66 struct vm_area_struct *remove, in init_multi_vma_prep()
67 struct vm_area_struct *remove2) in init_multi_vma_prep()
129 static void __vma_link_file(struct vm_area_struct *vma, in __vma_link_file()
143 static void __remove_shared_vm_struct(struct vm_area_struct *vma, in __remove_shared_vm_struct()
280 static void init_vma_prep(struct vma_prepare *vp, struct vm_area_struct *vma) in init_vma_prep()
326 void remove_vma(struct vm_area_struct *vma, bool unreachable) in remove_vma()
344 void unmap_region(struct ma_state *mas, struct vm_area_struct *vma, in unmap_region()
345 struct vm_area_struct *prev, struct vm_area_struct *next) in unmap_region()
367 static int __split_vma(struct vma_iterator *vmi, struct vm_area_struct *vma, in __split_vma()
371 struct vm_area_struct *new; in __split_vma()
453 static int split_vma(struct vma_iterator *vmi, struct vm_area_struct *vma, in split_vma()
477 anon_vma_interval_tree_pre_update_vma(struct vm_area_struct *vma) in anon_vma_interval_tree_pre_update_vma()
486 anon_vma_interval_tree_post_update_vma(struct vm_area_struct *vma) in anon_vma_interval_tree_post_update_vma()
502 static int dup_anon_vma(struct vm_area_struct *dst, in dup_anon_vma()
503 struct vm_area_struct *src, struct vm_area_struct **dup) in dup_anon_vma()
530 struct vm_area_struct *vma; in validate_mm()
579 struct vm_area_struct *adjust, in commit_merge()
580 struct vm_area_struct *remove, in commit_merge()
581 struct vm_area_struct *remove2, in commit_merge()
625 static bool can_merge_remove_vma(struct vm_area_struct *vma) in can_merge_remove_vma()
658 static struct vm_area_struct *vma_merge_existing_range(struct vma_merge_struct *vmg) in vma_merge_existing_range()
660 struct vm_area_struct *vma = vmg->vma; in vma_merge_existing_range()
661 struct vm_area_struct *prev = vmg->prev; in vma_merge_existing_range()
662 struct vm_area_struct *next, *res; in vma_merge_existing_range()
663 struct vm_area_struct *anon_dup = NULL; in vma_merge_existing_range()
664 struct vm_area_struct *adjust = NULL; in vma_merge_existing_range()
910 struct vm_area_struct *vma_merge_new_range(struct vma_merge_struct *vmg) in vma_merge_new_range()
912 struct vm_area_struct *prev = vmg->prev; in vma_merge_new_range()
913 struct vm_area_struct *next = vmg->next; in vma_merge_new_range()
1004 struct vm_area_struct *anon_dup = NULL; in vma_expand()
1006 struct vm_area_struct *vma = vmg->vma; in vma_expand()
1007 struct vm_area_struct *next = vmg->next; in vma_expand()
1051 int vma_shrink(struct vma_iterator *vmi, struct vm_area_struct *vma, in vma_shrink()
1109 struct vm_area_struct *vma; in vms_clean_up_area()
1132 struct vm_area_struct *vma; in vms_complete_munmap_vmas()
1183 struct vm_area_struct *next = NULL; in vms_gather_munmap_vmas()
1286 struct vm_area_struct *vma_mas, *vma_test; in vms_gather_munmap_vmas()
1332 int do_vmi_align_munmap(struct vma_iterator *vmi, struct vm_area_struct *vma, in do_vmi_align_munmap()
1384 struct vm_area_struct *vma; in do_vmi_munmap()
1417 static struct vm_area_struct *vma_modify(struct vma_merge_struct *vmg) in vma_modify()
1419 struct vm_area_struct *vma = vmg->vma; in vma_modify()
1420 struct vm_area_struct *merged; in vma_modify()
1446 struct vm_area_struct *vma_modify_flags( in vma_modify_flags()
1447 struct vma_iterator *vmi, struct vm_area_struct *prev, in vma_modify_flags()
1448 struct vm_area_struct *vma, unsigned long start, unsigned long end, in vma_modify_flags()
1458 struct vm_area_struct
1460 struct vm_area_struct *prev, in vma_modify_flags_name()
1461 struct vm_area_struct *vma, in vma_modify_flags_name()
1475 struct vm_area_struct
1477 struct vm_area_struct *prev, in vma_modify_policy()
1478 struct vm_area_struct *vma, in vma_modify_policy()
1489 struct vm_area_struct
1491 struct vm_area_struct *prev, in vma_modify_flags_uffd()
1492 struct vm_area_struct *vma, in vma_modify_flags_uffd()
1509 struct vm_area_struct *vma_merge_extend(struct vma_iterator *vmi, in vma_merge_extend()
1510 struct vm_area_struct *vma, in vma_merge_extend()
1543 struct vm_area_struct *vma) in unlink_file_vma_batch_add()
1566 void unlink_file_vma(struct vm_area_struct *vma) in unlink_file_vma()
1579 void vma_link_file(struct vm_area_struct *vma) in vma_link_file()
1592 int vma_link(struct mm_struct *mm, struct vm_area_struct *vma) in vma_link()
1612 struct vm_area_struct *copy_vma(struct vm_area_struct **vmap, in copy_vma()
1616 struct vm_area_struct *vma = *vmap; in copy_vma()
1619 struct vm_area_struct *new_vma; in copy_vma()
1711 static int anon_vma_compatible(struct vm_area_struct *a, struct vm_area_struct *b) in anon_vma_compatible()
1742 static struct anon_vma *reusable_anon_vma(struct vm_area_struct *old, in reusable_anon_vma()
1743 struct vm_area_struct *a, in reusable_anon_vma()
1744 struct vm_area_struct *b) in reusable_anon_vma()
1763 struct anon_vma *find_mergeable_anon_vma(struct vm_area_struct *vma) in find_mergeable_anon_vma()
1766 struct vm_area_struct *prev, *next; in find_mergeable_anon_vma()
1802 static bool vma_is_shared_writable(struct vm_area_struct *vma) in vma_is_shared_writable()
1808 static bool vma_fs_can_writeback(struct vm_area_struct *vma) in vma_fs_can_writeback()
1822 bool vma_needs_dirty_tracking(struct vm_area_struct *vma) in vma_needs_dirty_tracking()
1845 bool vma_wants_writenotify(struct vm_area_struct *vma, pgprot_t vm_page_prot) in vma_wants_writenotify()
1959 struct vm_area_struct *vma; in mm_take_all_locks()
2055 struct vm_area_struct *vma; in mm_drop_all_locks()