Searched refs:dst_pgdp (Results 1 - 3 of 3) sorted by relevance
/kernel/linux/linux-6.6/arch/arm64/mm/ |
H A D | trans_pgd.c | 154 static int copy_p4d(struct trans_pgd_info *info, pgd_t *dst_pgdp, in copy_p4d() argument 163 dst_p4dp = p4d_offset(dst_pgdp, start); in copy_p4d() 176 static int copy_page_tables(struct trans_pgd_info *info, pgd_t *dst_pgdp, in copy_page_tables() argument 183 dst_pgdp = pgd_offset_pgd(dst_pgdp, start); 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() 198 * dst_pgdp: new page table that is created, and to which map is copied. 204 int trans_pgd_create_copy(struct trans_pgd_info *info, pgd_t **dst_pgdp, in trans_pgd_create_copy() argument 217 *dst_pgdp in trans_pgd_create_copy() [all...] |
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | hibernate.c | 578 static int copy_p4d(pgd_t *dst_pgdp, pgd_t *src_pgdp, unsigned long start, in copy_p4d() argument 586 dst_p4dp = p4d_offset(dst_pgdp, start); in copy_p4d() 599 static int copy_page_tables(pgd_t *dst_pgdp, unsigned long start, in copy_page_tables() argument 606 dst_pgdp = pgd_offset_pgd(dst_pgdp, start); in copy_page_tables() 611 if (copy_p4d(dst_pgdp, src_pgdp, addr, next)) in copy_page_tables() 613 } while (dst_pgdp++, src_pgdp++, addr = next, addr != end); in copy_page_tables() 618 static int trans_pgd_create_copy(pgd_t **dst_pgdp, unsigned long start, in trans_pgd_create_copy() argument 631 *dst_pgdp = trans_pgd; in trans_pgd_create_copy()
|
Completed in 3 milliseconds