Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm64/mm/
H A Dtrans_pgd.c83 static int copy_pmd(struct trans_pgd_info *info, pud_t *dst_pudp, in copy_pmd() argument
91 if (pud_none(READ_ONCE(*dst_pudp))) { in copy_pmd()
95 pud_populate(NULL, dst_pudp, dst_pmdp); in copy_pmd()
97 dst_pmdp = pmd_offset(dst_pudp, start); in copy_pmd()
122 pud_t *dst_pudp; in copy_pud() local
128 dst_pudp = trans_alloc(info); in copy_pud()
129 if (!dst_pudp) 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()
143 if (copy_pmd(info, dst_pudp, src_pudp, addr, next)) in copy_pud()
[all …]
/openbmc/linux/arch/riscv/kernel/
H A Dhibernate.c195 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 …]