Lines Matching refs:vm_area_struct
23 bool validate_dst_vma(struct vm_area_struct *dst_vma, unsigned long dst_end) in validate_dst_vma()
41 struct vm_area_struct *find_vma_and_prepare_anon(struct mm_struct *mm, in find_vma_and_prepare_anon()
44 struct vm_area_struct *vma; in find_vma_and_prepare_anon()
68 static struct vm_area_struct *uffd_lock_vma(struct mm_struct *mm, in uffd_lock_vma()
71 struct vm_area_struct *vma; in uffd_lock_vma()
102 static struct vm_area_struct *uffd_mfill_lock(struct mm_struct *dst_mm, in uffd_mfill_lock()
106 struct vm_area_struct *dst_vma; in uffd_mfill_lock()
116 static void uffd_mfill_unlock(struct vm_area_struct *vma) in uffd_mfill_unlock()
123 static struct vm_area_struct *uffd_mfill_lock(struct mm_struct *dst_mm, in uffd_mfill_lock()
127 struct vm_area_struct *dst_vma; in uffd_mfill_lock()
143 static void uffd_mfill_unlock(struct vm_area_struct *vma) in uffd_mfill_unlock()
150 static bool mfill_file_over_size(struct vm_area_struct *dst_vma, in mfill_file_over_size()
172 struct vm_area_struct *dst_vma, in mfill_atomic_install_pte()
241 struct vm_area_struct *dst_vma, in mfill_atomic_pte_copy()
317 struct vm_area_struct *dst_vma, in mfill_atomic_pte_zeroed_folio()
349 struct vm_area_struct *dst_vma, in mfill_atomic_pte_zeropage()
384 struct vm_area_struct *dst_vma, in mfill_atomic_pte_continue()
428 struct vm_area_struct *dst_vma, in mfill_atomic_pte_poison()
493 struct vm_area_struct *dst_vma, in mfill_atomic_hugetlb()
649 struct vm_area_struct *dst_vma,
657 struct vm_area_struct *dst_vma, in mfill_atomic_pte()
707 struct vm_area_struct *dst_vma; in mfill_atomic()
903 long uffd_wp_range(struct vm_area_struct *dst_vma, in uffd_wp_range()
938 struct vm_area_struct *dst_vma; in mwriteprotect_range()
1025 struct vm_area_struct *dst_vma, in move_present_pte()
1026 struct vm_area_struct *src_vma, in move_present_pte()
1095 struct vm_area_struct *dst_vma, in move_zeropage_pte()
1096 struct vm_area_struct *src_vma, in move_zeropage_pte()
1127 struct vm_area_struct *dst_vma, in move_pages_pte()
1128 struct vm_area_struct *src_vma, in move_pages_pte()
1355 static inline bool vma_move_compatible(struct vm_area_struct *vma) in vma_move_compatible()
1362 struct vm_area_struct *src_vma, in validate_move_areas()
1363 struct vm_area_struct *dst_vma) in validate_move_areas()
1401 struct vm_area_struct **dst_vmap, in find_vmas_mm_locked()
1402 struct vm_area_struct **src_vmap) in find_vmas_mm_locked()
1404 struct vm_area_struct *vma; in find_vmas_mm_locked()
1428 struct vm_area_struct **dst_vmap, in uffd_move_lock()
1429 struct vm_area_struct **src_vmap) in uffd_move_lock()
1431 struct vm_area_struct *vma; in uffd_move_lock()
1483 static void uffd_move_unlock(struct vm_area_struct *dst_vma, in uffd_move_unlock()
1484 struct vm_area_struct *src_vma) in uffd_move_unlock()
1496 struct vm_area_struct **dst_vmap, in uffd_move_lock()
1497 struct vm_area_struct **src_vmap) in uffd_move_lock()
1508 static void uffd_move_unlock(struct vm_area_struct *dst_vma, in uffd_move_unlock()
1509 struct vm_area_struct *src_vma) in uffd_move_unlock()
1596 struct vm_area_struct *src_vma, *dst_vma; in move_pages()
1767 static void userfaultfd_set_vm_flags(struct vm_area_struct *vma, in userfaultfd_set_vm_flags()
1782 static void userfaultfd_set_ctx(struct vm_area_struct *vma, in userfaultfd_set_ctx()
1792 void userfaultfd_reset_ctx(struct vm_area_struct *vma) in userfaultfd_reset_ctx()
1797 struct vm_area_struct *userfaultfd_clear_vma(struct vma_iterator *vmi, in userfaultfd_clear_vma()
1798 struct vm_area_struct *prev, in userfaultfd_clear_vma()
1799 struct vm_area_struct *vma, in userfaultfd_clear_vma()
1803 struct vm_area_struct *ret; in userfaultfd_clear_vma()
1826 struct vm_area_struct *vma, in userfaultfd_register_range()
1832 struct vm_area_struct *prev = vma_prev(&vmi); in userfaultfd_register_range()
1887 struct vm_area_struct *vma; in userfaultfd_release_new()
1902 struct vm_area_struct *vma, *prev; in userfaultfd_release_all()