Lines Matching refs:dst_mm
766 copy_nonpresent_pte(struct mm_struct *dst_mm, struct mm_struct *src_mm, in copy_nonpresent_pte() argument
781 if (unlikely(list_empty(&dst_mm->mmlist))) { in copy_nonpresent_pte()
783 if (list_empty(&dst_mm->mmlist)) in copy_nonpresent_pte()
784 list_add(&dst_mm->mmlist, in copy_nonpresent_pte()
863 set_pte_at(dst_mm, addr, dst_pte, in copy_nonpresent_pte()
869 set_pte_at(dst_mm, addr, dst_pte, pte); in copy_nonpresent_pte()
1005 struct mm_struct *dst_mm = dst_vma->vm_mm; in copy_pte_range() local
1028 dst_pte = pte_alloc_map_lock(dst_mm, dst_pmd, addr, &dst_ptl); in copy_pte_range()
1061 ret = copy_nonpresent_pte(dst_mm, src_mm, in copy_pte_range()
1105 add_mm_rss_vec(dst_mm, rss); in copy_pte_range()
1142 struct mm_struct *dst_mm = dst_vma->vm_mm; in copy_pmd_range() local
1147 dst_pmd = pmd_alloc(dst_mm, dst_pud, addr); in copy_pmd_range()
1157 err = copy_huge_pmd(dst_mm, src_mm, dst_pmd, src_pmd, in copy_pmd_range()
1179 struct mm_struct *dst_mm = dst_vma->vm_mm; in copy_pud_range() local
1184 dst_pud = pud_alloc(dst_mm, dst_p4d, addr); in copy_pud_range()
1194 err = copy_huge_pud(dst_mm, src_mm, in copy_pud_range()
1216 struct mm_struct *dst_mm = dst_vma->vm_mm; in copy_p4d_range() local
1220 dst_p4d = p4d_alloc(dst_mm, dst_pgd, addr); in copy_p4d_range()
1274 struct mm_struct *dst_mm = dst_vma->vm_mm; in copy_page_range() local
1284 return copy_hugetlb_page_range(dst_mm, src_mm, dst_vma, src_vma); in copy_page_range()
1320 dst_pgd = pgd_offset(dst_mm, addr); in copy_page_range()