Lines Matching refs:dst_mm
997 int copy_huge_pmd(struct mm_struct *dst_mm, struct mm_struct *src_mm, in copy_huge_pmd() argument
1011 pgtable = pte_alloc_one(dst_mm); in copy_huge_pmd()
1015 dst_ptl = pmd_lock(dst_mm, dst_pmd); in copy_huge_pmd()
1042 add_mm_counter(dst_mm, MM_ANONPAGES, HPAGE_PMD_NR); in copy_huge_pmd()
1043 mm_inc_nr_ptes(dst_mm); in copy_huge_pmd()
1044 pgtable_trans_huge_deposit(dst_mm, dst_pmd, pgtable); in copy_huge_pmd()
1045 set_pmd_at(dst_mm, addr, dst_pmd, pmd); in copy_huge_pmd()
1052 pte_free(dst_mm, pgtable); in copy_huge_pmd()
1067 zero_page = mm_get_huge_zero_page(dst_mm); in copy_huge_pmd()
1068 set_huge_zero_page(pgtable, dst_mm, vma, addr, dst_pmd, in copy_huge_pmd()
1087 pte_free(dst_mm, pgtable); in copy_huge_pmd()
1096 add_mm_counter(dst_mm, MM_ANONPAGES, HPAGE_PMD_NR); in copy_huge_pmd()
1097 mm_inc_nr_ptes(dst_mm); in copy_huge_pmd()
1098 pgtable_trans_huge_deposit(dst_mm, dst_pmd, pgtable); in copy_huge_pmd()
1102 set_pmd_at(dst_mm, addr, dst_pmd, pmd); in copy_huge_pmd()
1171 int copy_huge_pud(struct mm_struct *dst_mm, struct mm_struct *src_mm, in copy_huge_pud() argument
1179 dst_ptl = pud_lock(dst_mm, dst_pud); in copy_huge_pud()
1209 set_pud_at(dst_mm, addr, dst_pud, pud); in copy_huge_pud()