Searched refs:dst_mm (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/mm/ |
D | memory.c | 806 copy_one_pte(struct mm_struct *dst_mm, struct mm_struct *src_mm, in copy_one_pte() argument 823 if (unlikely(list_empty(&dst_mm->mmlist))) { in copy_one_pte() 825 if (list_empty(&dst_mm->mmlist)) in copy_one_pte() 826 list_add(&dst_mm->mmlist, in copy_one_pte() 883 set_pte_at(dst_mm, addr, dst_pte, pte); in copy_one_pte() 887 static int copy_pte_range(struct mm_struct *dst_mm, struct mm_struct *src_mm, in copy_pte_range() argument 901 dst_pte = pte_alloc_map_lock(dst_mm, dst_pmd, addr, &dst_ptl); in copy_pte_range() 926 entry.val = copy_one_pte(dst_mm, src_mm, dst_pte, src_pte, in copy_pte_range() 936 add_mm_rss_vec(dst_mm, rss); in copy_pte_range() 950 static inline int copy_pmd_range(struct mm_struct *dst_mm, struct mm_struct *src_mm, in copy_pmd_range() argument [all …]
|
D | huge_memory.c | 844 int copy_huge_pmd(struct mm_struct *dst_mm, struct mm_struct *src_mm, in copy_huge_pmd() argument 855 pgtable = pte_alloc_one(dst_mm, addr); in copy_huge_pmd() 859 dst_ptl = pmd_lock(dst_mm, dst_pmd); in copy_huge_pmd() 866 pte_free(dst_mm, pgtable); in copy_huge_pmd() 883 set = set_huge_zero_page(pgtable, dst_mm, vma, addr, dst_pmd, in copy_huge_pmd() 894 pte_free(dst_mm, pgtable); in copy_huge_pmd() 903 add_mm_counter(dst_mm, MM_ANONPAGES, HPAGE_PMD_NR); in copy_huge_pmd() 907 pgtable_trans_huge_deposit(dst_mm, dst_pmd, pgtable); in copy_huge_pmd() 908 set_pmd_at(dst_mm, addr, dst_pmd, pmd); in copy_huge_pmd() 909 atomic_long_inc(&dst_mm->nr_ptes); in copy_huge_pmd()
|
/linux-4.1.27/include/linux/ |
D | huge_mm.h | 8 extern int copy_huge_pmd(struct mm_struct *dst_mm, struct mm_struct *src_mm,
|