Lines Matching refs:dst_vma

775 		pte_t *dst_pte, pte_t *src_pte, struct vm_area_struct *dst_vma,  in copy_nonpresent_pte()  argument
778 unsigned long vm_flags = dst_vma->vm_flags; in copy_nonpresent_pte()
860 if (!userfaultfd_wp(dst_vma)) in copy_nonpresent_pte()
887 copy_present_page(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma, in copy_present_page() argument
920 page_add_new_anon_rmap(new_page, dst_vma, addr, false); in copy_present_page()
921 lru_cache_add_inactive_or_unevictable(new_page, dst_vma); in copy_present_page()
925 pte = mk_pte(new_page, dst_vma->vm_page_prot); in copy_present_page()
926 pte = maybe_mkwrite(pte_mkdirty(pte), dst_vma); in copy_present_page()
927 if (userfaultfd_pte_wp(dst_vma, *src_pte)) in copy_present_page()
930 set_pte_at(dst_vma->vm_mm, addr, dst_pte, pte); in copy_present_page()
939 copy_present_pte(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma, in copy_present_pte() argument
952 retval = copy_present_page(dst_vma, src_vma, dst_pte, src_pte, in copy_present_pte()
979 if (!userfaultfd_wp(dst_vma)) in copy_present_pte()
982 set_pte_at(dst_vma->vm_mm, addr, dst_pte, pte); in copy_present_pte()
1006 copy_pte_range(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma, in copy_pte_range() argument
1010 struct mm_struct *dst_mm = dst_vma->vm_mm; in copy_pte_range()
1054 dst_vma, src_vma, in copy_pte_range()
1073 ret = copy_present_pte(dst_vma, src_vma, dst_pte, src_pte, in copy_pte_range()
1130 copy_pmd_range(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma, in copy_pmd_range() argument
1134 struct mm_struct *dst_mm = dst_vma->vm_mm; in copy_pmd_range()
1150 addr, dst_vma, src_vma); in copy_pmd_range()
1159 if (copy_pte_range(dst_vma, src_vma, dst_pmd, src_pmd, in copy_pmd_range()
1167 copy_pud_range(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma, in copy_pud_range() argument
1171 struct mm_struct *dst_mm = dst_vma->vm_mm; in copy_pud_range()
1196 if (copy_pmd_range(dst_vma, src_vma, dst_pud, src_pud, in copy_pud_range()
1204 copy_p4d_range(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma, in copy_p4d_range() argument
1208 struct mm_struct *dst_mm = dst_vma->vm_mm; in copy_p4d_range()
1220 if (copy_pud_range(dst_vma, src_vma, dst_p4d, src_p4d, in copy_p4d_range()
1228 copy_page_range(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma) in copy_page_range() argument
1234 struct mm_struct *dst_mm = dst_vma->vm_mm; in copy_page_range()
1293 if (unlikely(copy_p4d_range(dst_vma, src_vma, dst_pgd, src_pgd, in copy_page_range()