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()
103 static struct vm_area_struct *uffd_mfill_lock(struct mm_struct *dst_mm, in uffd_mfill_lock()
107 struct vm_area_struct *dst_vma; in uffd_mfill_lock()
117 static void uffd_mfill_unlock(struct vm_area_struct *vma) in uffd_mfill_unlock()
124 static struct vm_area_struct *uffd_mfill_lock(struct mm_struct *dst_mm, in uffd_mfill_lock()
128 struct vm_area_struct *dst_vma; in uffd_mfill_lock()
144 static void uffd_mfill_unlock(struct vm_area_struct *vma) in uffd_mfill_unlock()
151 static bool mfill_file_over_size(struct vm_area_struct *dst_vma, in mfill_file_over_size()
173 struct vm_area_struct *dst_vma, in mfill_atomic_install_pte()
242 struct vm_area_struct *dst_vma, in mfill_atomic_pte_copy()
318 struct vm_area_struct *dst_vma, in mfill_atomic_pte_zeroed_folio()
350 struct vm_area_struct *dst_vma, in mfill_atomic_pte_zeropage()
385 struct vm_area_struct *dst_vma, in mfill_atomic_pte_continue()
429 struct vm_area_struct *dst_vma, in mfill_atomic_pte_poison()
494 struct vm_area_struct *dst_vma, in mfill_atomic_hugetlb()
650 struct vm_area_struct *dst_vma,
658 struct vm_area_struct *dst_vma, in mfill_atomic_pte()
708 struct vm_area_struct *dst_vma; in mfill_atomic()
904 long uffd_wp_range(struct vm_area_struct *dst_vma, in uffd_wp_range()
939 struct vm_area_struct *dst_vma; in mwriteprotect_range()
1034 struct vm_area_struct *dst_vma, in move_present_pte()
1035 struct vm_area_struct *src_vma, in move_present_pte()
1080 static int move_swap_pte(struct mm_struct *mm, struct vm_area_struct *dst_vma, in move_swap_pte()
1114 struct vm_area_struct *dst_vma, in move_zeropage_pte()
1115 struct vm_area_struct *src_vma, in move_zeropage_pte()
1147 struct vm_area_struct *dst_vma, in move_pages_pte()
1148 struct vm_area_struct *src_vma, in move_pages_pte()
1452 static inline bool vma_move_compatible(struct vm_area_struct *vma) in vma_move_compatible()
1459 struct vm_area_struct *src_vma, in validate_move_areas()
1460 struct vm_area_struct *dst_vma) in validate_move_areas()
1498 struct vm_area_struct **dst_vmap, in find_vmas_mm_locked()
1499 struct vm_area_struct **src_vmap) in find_vmas_mm_locked()
1501 struct vm_area_struct *vma; in find_vmas_mm_locked()
1525 struct vm_area_struct **dst_vmap, in uffd_move_lock()
1526 struct vm_area_struct **src_vmap) in uffd_move_lock()
1528 struct vm_area_struct *vma; in uffd_move_lock()
1580 static void uffd_move_unlock(struct vm_area_struct *dst_vma, in uffd_move_unlock()
1581 struct vm_area_struct *src_vma) in uffd_move_unlock()
1593 struct vm_area_struct **dst_vmap, in uffd_move_lock()
1594 struct vm_area_struct **src_vmap) in uffd_move_lock()
1605 static void uffd_move_unlock(struct vm_area_struct *dst_vma, in uffd_move_unlock()
1606 struct vm_area_struct *src_vma) in uffd_move_unlock()
1693 struct vm_area_struct *src_vma, *dst_vma; in move_pages()
1864 static void userfaultfd_set_vm_flags(struct vm_area_struct *vma, in userfaultfd_set_vm_flags()
1879 static void userfaultfd_set_ctx(struct vm_area_struct *vma, in userfaultfd_set_ctx()
1889 void userfaultfd_reset_ctx(struct vm_area_struct *vma) in userfaultfd_reset_ctx()
1894 struct vm_area_struct *userfaultfd_clear_vma(struct vma_iterator *vmi, in userfaultfd_clear_vma()
1895 struct vm_area_struct *prev, in userfaultfd_clear_vma()
1896 struct vm_area_struct *vma, in userfaultfd_clear_vma()
1900 struct vm_area_struct *ret; in userfaultfd_clear_vma()
1923 struct vm_area_struct *vma, in userfaultfd_register_range()
1929 struct vm_area_struct *prev = vma_prev(&vmi); in userfaultfd_register_range()
1984 struct vm_area_struct *vma; in userfaultfd_release_new()
1999 struct vm_area_struct *vma, *prev; in userfaultfd_release_all()