Lines Matching refs:pgd
79 static int __init init_transition_pgtable(pgd_t *pgd) in init_transition_pgtable() argument
89 pgd += pgd_index(vaddr); in init_transition_pgtable()
90 if (!pgd_present(*pgd)) { in init_transition_pgtable()
94 set_pgd(pgd, __pgd(__pa(p4d) | _KERNPG_TABLE)); in init_transition_pgtable()
96 p4d = p4d_offset(pgd, vaddr); in init_transition_pgtable()
133 pgd_t *pgd; in acpi_mp_setup_reset() local
135 pgd = alloc_pgt_page(NULL); in acpi_mp_setup_reset()
136 if (!pgd) in acpi_mp_setup_reset()
144 if (kernel_ident_mapping_init(&info, pgd, mstart, mend)) { in acpi_mp_setup_reset()
145 kernel_ident_mapping_free(&info, pgd); in acpi_mp_setup_reset()
150 if (kernel_ident_mapping_init(&info, pgd, in acpi_mp_setup_reset()
153 kernel_ident_mapping_free(&info, pgd); in acpi_mp_setup_reset()
157 if (init_transition_pgtable(pgd)) { in acpi_mp_setup_reset()
158 kernel_ident_mapping_free(&info, pgd); in acpi_mp_setup_reset()
167 acpi_mp_pgd = __pa(pgd); in acpi_mp_setup_reset()