Searched refs:src_pgdp (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/arm64/mm/ |
H A D | trans_pgd.c | 155 pgd_t *src_pgdp, unsigned long start, in copy_p4d() argument 164 src_p4dp = p4d_offset(src_pgdp, start); in copy_p4d() 181 pgd_t *src_pgdp = pgd_offset_k(start); in copy_page_tables() local 186 if (pgd_none(READ_ONCE(*src_pgdp))) in copy_page_tables() 188 if (copy_p4d(info, dst_pgdp, src_pgdp, addr, next)) in copy_page_tables() 190 } while (dst_pgdp++, src_pgdp++, addr = next, addr != end); in copy_page_tables()
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | hibernate.c | 273 static int temp_pgtable_map_p4d(pgd_t *dst_pgdp, pgd_t *src_pgdp, unsigned long start, in temp_pgtable_map_p4d() argument 290 src_p4dp = p4d_offset(src_pgdp, start); in temp_pgtable_map_p4d() 315 pgd_t *src_pgdp = pgd_offset_k(start); in temp_pgtable_mapping() local 320 pgd_t pgd = READ_ONCE(*src_pgdp); in temp_pgtable_mapping() 330 ret = temp_pgtable_map_p4d(dst_pgdp, src_pgdp, start, next, prot); in temp_pgtable_mapping() 334 } while (dst_pgdp++, src_pgdp++, start = next, start != end); in temp_pgtable_mapping()
|