Lines Matching refs:vm_area_struct
24 struct vm_area_struct *prev;
25 struct vm_area_struct *next;
63 struct vm_area_struct *vma = merge_next ? vmg->next : vmg->prev; in is_mergeable_vma()
87 struct anon_vma *anon_vma2, struct vm_area_struct *vma) in is_mergeable_anon_vma()
100 static inline bool are_anon_vmas_compatible(struct vm_area_struct *vma1, in are_anon_vmas_compatible()
101 struct vm_area_struct *vma2) in are_anon_vmas_compatible()
115 struct vm_area_struct *vma, in init_multi_vma_prep()
116 struct vm_area_struct *next, in init_multi_vma_prep()
117 struct vm_area_struct *remove, in init_multi_vma_prep()
118 struct vm_area_struct *remove2) in init_multi_vma_prep()
180 static void __vma_link_file(struct vm_area_struct *vma, in __vma_link_file()
194 static void __remove_shared_vm_struct(struct vm_area_struct *vma, in __remove_shared_vm_struct()
220 anon_vma_interval_tree_pre_update_vma(struct vm_area_struct *vma) in anon_vma_interval_tree_pre_update_vma()
229 anon_vma_interval_tree_post_update_vma(struct vm_area_struct *vma) in anon_vma_interval_tree_post_update_vma()
363 static void init_vma_prep(struct vma_prepare *vp, struct vm_area_struct *vma) in init_vma_prep()
409 void remove_vma(struct vm_area_struct *vma, bool unreachable) in remove_vma()
427 void unmap_region(struct ma_state *mas, struct vm_area_struct *vma, in unmap_region()
428 struct vm_area_struct *prev, struct vm_area_struct *next) in unmap_region()
450 __split_vma(struct vma_iterator *vmi, struct vm_area_struct *vma, in __split_vma()
454 struct vm_area_struct *new; in __split_vma()
536 static int split_vma(struct vma_iterator *vmi, struct vm_area_struct *vma, in split_vma()
553 static int dup_anon_vma(struct vm_area_struct *dst, in dup_anon_vma()
554 struct vm_area_struct *src, struct vm_area_struct **dup) in dup_anon_vma()
581 struct vm_area_struct *vma; in validate_mm()
634 struct vm_area_struct *adjust, in commit_merge()
635 struct vm_area_struct *remove, in commit_merge()
636 struct vm_area_struct *remove2, in commit_merge()
680 static bool can_merge_remove_vma(struct vm_area_struct *vma) in can_merge_remove_vma()
713 static __must_check struct vm_area_struct *vma_merge_existing_range( in vma_merge_existing_range()
716 struct vm_area_struct *vma = vmg->vma; in vma_merge_existing_range()
717 struct vm_area_struct *prev = vmg->prev; in vma_merge_existing_range()
718 struct vm_area_struct *next, *res; in vma_merge_existing_range()
719 struct vm_area_struct *anon_dup = NULL; in vma_merge_existing_range()
720 struct vm_area_struct *adjust = NULL; in vma_merge_existing_range()
967 struct vm_area_struct *vma_merge_new_range(struct vma_merge_struct *vmg) in vma_merge_new_range()
969 struct vm_area_struct *prev = vmg->prev; in vma_merge_new_range()
970 struct vm_area_struct *next = vmg->next; in vma_merge_new_range()
1047 struct vm_area_struct *anon_dup = NULL; in vma_expand()
1049 struct vm_area_struct *vma = vmg->vma; in vma_expand()
1050 struct vm_area_struct *next = vmg->next; in vma_expand()
1094 int vma_shrink(struct vma_iterator *vmi, struct vm_area_struct *vma, in vma_shrink()
1151 struct vm_area_struct *vma; in vms_clean_up_area()
1174 struct vm_area_struct *vma; in vms_complete_munmap_vmas()
1220 struct vm_area_struct *vma; in reattach_vmas()
1242 struct vm_area_struct *next = NULL; in vms_gather_munmap_vmas()
1345 struct vm_area_struct *vma_mas, *vma_test; in vms_gather_munmap_vmas()
1388 struct vma_iterator *vmi, struct vm_area_struct *vma, in init_vma_munmap()
1424 int do_vmi_align_munmap(struct vma_iterator *vmi, struct vm_area_struct *vma, in do_vmi_align_munmap()
1476 struct vm_area_struct *vma; in do_vmi_munmap()
1509 static struct vm_area_struct *vma_modify(struct vma_merge_struct *vmg) in vma_modify()
1511 struct vm_area_struct *vma = vmg->vma; in vma_modify()
1514 struct vm_area_struct *merged; in vma_modify()
1542 struct vm_area_struct *vma_modify_flags( in vma_modify_flags()
1543 struct vma_iterator *vmi, struct vm_area_struct *prev, in vma_modify_flags()
1544 struct vm_area_struct *vma, unsigned long start, unsigned long end, in vma_modify_flags()
1554 struct vm_area_struct
1556 struct vm_area_struct *prev, in vma_modify_flags_name()
1557 struct vm_area_struct *vma, in vma_modify_flags_name()
1571 struct vm_area_struct
1573 struct vm_area_struct *prev, in vma_modify_policy()
1574 struct vm_area_struct *vma, in vma_modify_policy()
1585 struct vm_area_struct
1587 struct vm_area_struct *prev, in vma_modify_flags_uffd()
1588 struct vm_area_struct *vma, in vma_modify_flags_uffd()
1605 struct vm_area_struct *vma_merge_extend(struct vma_iterator *vmi, in vma_merge_extend()
1606 struct vm_area_struct *vma, in vma_merge_extend()
1639 struct vm_area_struct *vma) in unlink_file_vma_batch_add()
1662 void unlink_file_vma(struct vm_area_struct *vma) in unlink_file_vma()
1675 void vma_link_file(struct vm_area_struct *vma) in vma_link_file()
1688 int vma_link(struct mm_struct *mm, struct vm_area_struct *vma) in vma_link()
1708 struct vm_area_struct *copy_vma(struct vm_area_struct **vmap, in copy_vma()
1712 struct vm_area_struct *vma = *vmap; in copy_vma()
1715 struct vm_area_struct *new_vma; in copy_vma()
1807 static int anon_vma_compatible(struct vm_area_struct *a, struct vm_area_struct *b) in anon_vma_compatible()
1838 static struct anon_vma *reusable_anon_vma(struct vm_area_struct *old, in reusable_anon_vma()
1839 struct vm_area_struct *a, in reusable_anon_vma()
1840 struct vm_area_struct *b) in reusable_anon_vma()
1859 struct anon_vma *find_mergeable_anon_vma(struct vm_area_struct *vma) in find_mergeable_anon_vma()
1862 struct vm_area_struct *prev, *next; in find_mergeable_anon_vma()
1898 static bool vma_is_shared_writable(struct vm_area_struct *vma) in vma_is_shared_writable()
1904 static bool vma_fs_can_writeback(struct vm_area_struct *vma) in vma_fs_can_writeback()
1918 bool vma_needs_dirty_tracking(struct vm_area_struct *vma) in vma_needs_dirty_tracking()
1941 bool vma_wants_writenotify(struct vm_area_struct *vma, pgprot_t vm_page_prot) in vma_wants_writenotify()
2055 struct vm_area_struct *vma; in mm_take_all_locks()
2151 struct vm_area_struct *vma; in mm_drop_all_locks()
2290 struct vm_area_struct *vma) in __mmap_new_file_vma()
2334 static int __mmap_new_vma(struct mmap_state *map, struct vm_area_struct **vmap) in __mmap_new_vma()
2338 struct vm_area_struct *vma; in __mmap_new_vma()
2404 static void __mmap_complete(struct mmap_state *map, struct vm_area_struct *vma) in __mmap_complete()
2444 struct vm_area_struct *vma = NULL; in __mmap_region()
2469 struct vm_area_struct *merged; in __mmap_region()
2562 int do_brk_flags(struct vma_iterator *vmi, struct vm_area_struct *vma, in do_brk_flags()
2646 struct vm_area_struct *tmp; in unmapped_area()
2703 struct vm_area_struct *tmp; in unmapped_area_topdown()
2746 static int acct_stack_growth(struct vm_area_struct *vma, in acct_stack_growth()
2785 int expand_upwards(struct vm_area_struct *vma, unsigned long address) in expand_upwards()
2788 struct vm_area_struct *next; in expand_upwards()
2871 int expand_downwards(struct vm_area_struct *vma, unsigned long address) in expand_downwards()
2874 struct vm_area_struct *prev; in expand_downwards()