Lines Matching refs:vm_area_struct
24 bool validate_dst_vma(struct vm_area_struct *dst_vma, unsigned long dst_end) in validate_dst_vma()
42 struct vm_area_struct *find_vma_and_prepare_anon(struct mm_struct *mm, in find_vma_and_prepare_anon()
45 struct vm_area_struct *vma; in find_vma_and_prepare_anon()
69 static struct vm_area_struct *uffd_lock_vma(struct mm_struct *mm, in uffd_lock_vma()
72 struct vm_area_struct *vma; in uffd_lock_vma()
99 static struct vm_area_struct *uffd_mfill_lock(struct mm_struct *dst_mm, in uffd_mfill_lock()
103 struct vm_area_struct *dst_vma; in uffd_mfill_lock()
113 static void uffd_mfill_unlock(struct vm_area_struct *vma) in uffd_mfill_unlock()
120 static struct vm_area_struct *uffd_mfill_lock(struct mm_struct *dst_mm, in uffd_mfill_lock()
124 struct vm_area_struct *dst_vma; in uffd_mfill_lock()
140 static void uffd_mfill_unlock(struct vm_area_struct *vma) in uffd_mfill_unlock()
147 static bool mfill_file_over_size(struct vm_area_struct *dst_vma, in mfill_file_over_size()
169 struct vm_area_struct *dst_vma, in mfill_atomic_install_pte()
238 struct vm_area_struct *dst_vma, in mfill_atomic_pte_copy()
314 struct vm_area_struct *dst_vma, in mfill_atomic_pte_zeroed_folio()
346 struct vm_area_struct *dst_vma, in mfill_atomic_pte_zeropage()
381 struct vm_area_struct *dst_vma, in mfill_atomic_pte_continue()
425 struct vm_area_struct *dst_vma, in mfill_atomic_pte_poison()
490 struct vm_area_struct *dst_vma, in mfill_atomic_hugetlb()
646 struct vm_area_struct *dst_vma,
654 struct vm_area_struct *dst_vma, in mfill_atomic_pte()
704 struct vm_area_struct *dst_vma; in mfill_atomic()
900 long uffd_wp_range(struct vm_area_struct *dst_vma, in uffd_wp_range()
935 struct vm_area_struct *dst_vma; in mwriteprotect_range()
1030 struct vm_area_struct *dst_vma, in move_present_pte()
1031 struct vm_area_struct *src_vma, in move_present_pte()
1081 static int move_swap_pte(struct mm_struct *mm, struct vm_area_struct *dst_vma, in move_swap_pte()
1118 struct vm_area_struct *dst_vma, in move_zeropage_pte()
1119 struct vm_area_struct *src_vma, in move_zeropage_pte()
1151 struct vm_area_struct *dst_vma, in move_pages_pte()
1152 struct vm_area_struct *src_vma, in move_pages_pte()
1456 static inline bool vma_move_compatible(struct vm_area_struct *vma) in vma_move_compatible()
1463 struct vm_area_struct *src_vma, in validate_move_areas()
1464 struct vm_area_struct *dst_vma) in validate_move_areas()
1502 struct vm_area_struct **dst_vmap, in find_vmas_mm_locked()
1503 struct vm_area_struct **src_vmap) in find_vmas_mm_locked()
1505 struct vm_area_struct *vma; in find_vmas_mm_locked()
1529 struct vm_area_struct **dst_vmap, in uffd_move_lock()
1530 struct vm_area_struct **src_vmap) in uffd_move_lock()
1532 struct vm_area_struct *vma; in uffd_move_lock()
1592 static void uffd_move_unlock(struct vm_area_struct *dst_vma, in uffd_move_unlock()
1593 struct vm_area_struct *src_vma) in uffd_move_unlock()
1605 struct vm_area_struct **dst_vmap, in uffd_move_lock()
1606 struct vm_area_struct **src_vmap) in uffd_move_lock()
1617 static void uffd_move_unlock(struct vm_area_struct *dst_vma, in uffd_move_unlock()
1618 struct vm_area_struct *src_vma) in uffd_move_unlock()
1705 struct vm_area_struct *src_vma, *dst_vma; in move_pages()
1876 static void userfaultfd_set_vm_flags(struct vm_area_struct *vma, in userfaultfd_set_vm_flags()
1891 static void userfaultfd_set_ctx(struct vm_area_struct *vma, in userfaultfd_set_ctx()
1901 void userfaultfd_reset_ctx(struct vm_area_struct *vma) in userfaultfd_reset_ctx()
1906 struct vm_area_struct *userfaultfd_clear_vma(struct vma_iterator *vmi, in userfaultfd_clear_vma()
1907 struct vm_area_struct *prev, in userfaultfd_clear_vma()
1908 struct vm_area_struct *vma, in userfaultfd_clear_vma()
1912 struct vm_area_struct *ret; in userfaultfd_clear_vma()
1943 struct vm_area_struct *vma, in userfaultfd_register_range()
1949 struct vm_area_struct *prev = vma_prev(&vmi); in userfaultfd_register_range()
2005 struct vm_area_struct *vma; in userfaultfd_release_new()
2020 struct vm_area_struct *vma, *prev; in userfaultfd_release_all()