Searched refs:dst_pmdp (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/arch/arm64/mm/ |
D | trans_pgd.c | 64 static int copy_pte(struct trans_pgd_info *info, pmd_t *dst_pmdp, in copy_pte() argument 74 pmd_populate_kernel(NULL, dst_pmdp, dst_ptep); in copy_pte() 75 dst_ptep = pte_offset_kernel(dst_pmdp, start); in copy_pte() 89 pmd_t *dst_pmdp; in copy_pmd() local 94 dst_pmdp = trans_alloc(info); in copy_pmd() 95 if (!dst_pmdp) in copy_pmd() 97 pud_populate(NULL, dst_pudp, dst_pmdp); in copy_pmd() 99 dst_pmdp = pmd_offset(dst_pudp, start); in copy_pmd() 109 if (copy_pte(info, dst_pmdp, src_pmdp, addr, next)) in copy_pmd() 112 set_pmd(dst_pmdp, in copy_pmd() [all …]
|
/linux-6.12.1/arch/riscv/kernel/ |
D | hibernate.c | 168 static int temp_pgtable_map_pte(pmd_t *dst_pmdp, pmd_t *src_pmdp, unsigned long start, in temp_pgtable_map_pte() argument 174 if (pmd_none(READ_ONCE(*dst_pmdp))) { in temp_pgtable_map_pte() 179 pmd_populate_kernel(NULL, dst_pmdp, dst_ptep); in temp_pgtable_map_pte() 182 dst_ptep = pte_offset_kernel(dst_pmdp, start); in temp_pgtable_map_pte() 201 pmd_t *dst_pmdp; in temp_pgtable_map_pmd() local 204 dst_pmdp = (pmd_t *)get_safe_page(GFP_ATOMIC); in temp_pgtable_map_pmd() 205 if (!dst_pmdp) in temp_pgtable_map_pmd() 208 pud_populate(NULL, dst_pudp, dst_pmdp); in temp_pgtable_map_pmd() 211 dst_pmdp = pmd_offset(dst_pudp, start); in temp_pgtable_map_pmd() 223 set_pmd(dst_pmdp, __pmd(pmd_val(pmd) | pgprot_val(prot))); in temp_pgtable_map_pmd() [all …]
|