Searched refs:dst_pudp (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/arch/arm64/mm/ |
D | trans_pgd.c | 85 static int copy_pmd(struct trans_pgd_info *info, pud_t *dst_pudp, in copy_pmd() argument 93 if (pud_none(READ_ONCE(*dst_pudp))) { 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() 124 pud_t *dst_pudp; in copy_pud() local 130 dst_pudp = trans_alloc(info); in copy_pud() 131 if (!dst_pudp) in copy_pud() 133 p4d_populate(NULL, dst_p4dp, dst_pudp); in copy_pud() 135 dst_pudp = pud_offset(dst_p4dp, start); in copy_pud() 145 if (copy_pmd(info, dst_pudp, src_pudp, addr, next)) in copy_pud() [all …]
|
/linux-6.12.1/arch/riscv/kernel/ |
D | hibernate.c | 195 static int temp_pgtable_map_pmd(pud_t *dst_pudp, pud_t *src_pudp, unsigned long start, in temp_pgtable_map_pmd() argument 203 if (pud_none(READ_ONCE(*dst_pudp))) { 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() 239 pud_t *dst_pudp; in temp_pgtable_map_pud() local 243 dst_pudp = (pud_t *)get_safe_page(GFP_ATOMIC); in temp_pgtable_map_pud() 244 if (!dst_pudp) in temp_pgtable_map_pud() 247 p4d_populate(NULL, dst_p4dp, dst_pudp); in temp_pgtable_map_pud() 250 dst_pudp = pud_offset(dst_p4dp, start); in temp_pgtable_map_pud() 262 set_pud(dst_pudp, __pud(pud_val(pud) | pgprot_val(prot))); in temp_pgtable_map_pud() [all …]
|