Lines Matching refs:dst_vma

701 		pte_t *dst_pte, pte_t *src_pte, struct vm_area_struct *dst_vma,
704 unsigned long vm_flags = dst_vma->vm_flags;
773 if (!userfaultfd_wp(dst_vma))
800 copy_present_page(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma,
850 page_add_new_anon_rmap(new_page, dst_vma, addr, false);
851 lru_cache_add_inactive_or_unevictable(new_page, dst_vma);
855 pte = mk_pte(new_page, dst_vma->vm_page_prot);
856 pte = maybe_mkwrite(pte_mkdirty(pte), dst_vma);
857 if (userfaultfd_pte_wp(dst_vma, *src_pte))
860 set_pte_at(dst_vma->vm_mm, addr, dst_pte, pte);
869 copy_present_pte(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma,
882 retval = copy_present_page(dst_vma, src_vma, dst_pte, src_pte,
909 if (!userfaultfd_wp(dst_vma))
912 set_pte_at(dst_vma->vm_mm, addr, dst_pte, pte);
936 copy_pte_range(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma,
940 struct mm_struct *dst_mm = dst_vma->vm_mm;
984 dst_vma, src_vma,
992 ret = copy_present_pte(dst_vma, src_vma, dst_pte, src_pte,
1043 copy_pmd_range(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma,
1047 struct mm_struct *dst_mm = dst_vma->vm_mm;
1063 addr, dst_vma, src_vma);
1072 if (copy_pte_range(dst_vma, src_vma, dst_pmd, src_pmd,
1080 copy_pud_range(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma,
1084 struct mm_struct *dst_mm = dst_vma->vm_mm;
1109 if (copy_pmd_range(dst_vma, src_vma, dst_pud, src_pud,
1117 copy_p4d_range(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma,
1121 struct mm_struct *dst_mm = dst_vma->vm_mm;
1133 if (copy_pud_range(dst_vma, src_vma, dst_p4d, src_p4d,
1141 copy_page_range(struct vm_area_struct *dst_vma, struct vm_area_struct *src_vma)
1147 struct mm_struct *dst_mm = dst_vma->vm_mm;
1206 if (unlikely(copy_p4d_range(dst_vma, src_vma, dst_pgd, src_pgd,