Searched refs:dst_pgdp (Results 1 – 2 of 2) sorted by relevance
/linux/arch/arm64/mm/ |
H A D | trans_pgd.c | 156 static int copy_p4d(struct trans_pgd_info *info, pgd_t *dst_pgdp, in copy_p4d() argument 165 dst_p4dp = p4d_offset(dst_pgdp, start); in copy_p4d() 178 static int copy_page_tables(struct trans_pgd_info *info, pgd_t *dst_pgdp, in copy_page_tables() argument 185 dst_pgdp = pgd_offset_pgd(dst_pgdp, start); in copy_page_tables() 190 if (copy_p4d(info, dst_pgdp, src_pgdp, addr, next)) in copy_page_tables() 192 } while (dst_pgdp++, src_pgdp++, addr = next, addr != end); in copy_page_tables() 206 int trans_pgd_create_copy(struct trans_pgd_info *info, pgd_t **dst_pgdp, in trans_pgd_create_copy() argument 219 *dst_pgdp = trans_pgd; in trans_pgd_create_copy()
|
/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 281 if (pgd_none(READ_ONCE(*dst_pgdp))) { 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() 314 pgd_t *dst_pgdp = pgd_offset_pgd(pgdp, start); in temp_pgtable_mapping() local 328 set_pgd(dst_pgdp, __pgd(pgd_val(pgd) | pgprot_val(prot))); 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()
|