Home
last modified time | relevance | path

Searched refs:dst_p4dp (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/arch/riscv/kernel/
Dhibernate.c234 static int temp_pgtable_map_pud(p4d_t *dst_p4dp, p4d_t *src_p4dp, unsigned long start, in temp_pgtable_map_pud() argument
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()
[all …]
/linux-6.12.1/arch/arm64/mm/
Dtrans_pgd.c120 static int copy_pud(struct trans_pgd_info *info, p4d_t *dst_p4dp, in copy_pud() argument
129 if (p4d_none(READ_ONCE(*dst_p4dp))) { 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()
160 p4d_t *dst_p4dp; in copy_p4d() local
165 dst_p4dp = p4d_offset(dst_pgdp, start); in copy_p4d()
171 if (copy_pud(info, dst_p4dp, src_p4dp, addr, next)) in copy_p4d()
173 } while (dst_p4dp++, src_p4dp++, addr = next, addr != end); in copy_p4d()