Searched refs:dst_p4dp (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/riscv/kernel/ |
H A D | hibernate.c | 242 if (p4d_none(READ_ONCE(*dst_p4dp))) { 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() 278 p4d_t *dst_p4dp; in temp_pgtable_map_p4d() local 282 dst_p4dp = (p4d_t *)get_safe_page(GFP_ATOMIC); in temp_pgtable_map_p4d() 283 if (!dst_p4dp) in temp_pgtable_map_p4d() 286 pgd_populate(NULL, dst_pgdp, dst_p4dp); in temp_pgtable_map_p4d() 289 dst_p4dp = p4d_offset(dst_pgdp, start); in temp_pgtable_map_p4d() 301 set_p4d(dst_p4dp, __p4d(p4d_val(p4d) | pgprot_val(prot))); in temp_pgtable_map_p4d() 303 ret = temp_pgtable_map_pud(dst_p4dp, src_p4dp, start, next, prot); in temp_pgtable_map_p4d() [all …]
|
/openbmc/linux/arch/arm64/mm/ |
H A D | trans_pgd.c | 118 static int copy_pud(struct trans_pgd_info *info, p4d_t *dst_p4dp, in copy_pud() argument 127 if (p4d_none(READ_ONCE(*dst_p4dp))) { in copy_pud() 131 p4d_populate(NULL, dst_p4dp, dst_pudp); in copy_pud() 133 dst_pudp = pud_offset(dst_p4dp, start); in copy_pud() 158 p4d_t *dst_p4dp; in copy_p4d() local 163 dst_p4dp = p4d_offset(dst_pgdp, start); in copy_p4d() 169 if (copy_pud(info, dst_p4dp, src_p4dp, addr, next)) in copy_p4d() 171 } while (dst_p4dp++, src_p4dp++, addr = next, addr != end); in copy_p4d()
|