Lines Matching refs:pgd
70 pgd_t *pgd, *efi_pgd; in efi_alloc_page_tables() local
80 pgd = efi_pgd + pgd_index(EFI_VA_END); in efi_alloc_page_tables()
81 p4d = p4d_alloc(&init_mm, pgd, EFI_VA_END); in efi_alloc_page_tables()
89 efi_mm.pgd = efi_pgd; in efi_alloc_page_tables()
97 free_page((unsigned long)pgd_page_vaddr(*pgd)); in efi_alloc_page_tables()
113 pgd_t *efi_pgd = efi_mm.pgd; in efi_sync_low_kernel_mappings()
182 pgd_t *pgd = efi_mm.pgd; in efi_setup_page_tables() local
192 if (kernel_map_pages_in_pgd(pgd, pfn, pa_memmap, num_pages, pf)) { in efi_setup_page_tables()
208 if (kernel_map_pages_in_pgd(pgd, 0x0, 0x0, 1, pf)) { in efi_setup_page_tables()
217 if (sev_es_efi_map_ghcbs(pgd)) { in efi_setup_page_tables()
244 if (kernel_map_pages_in_pgd(pgd, pfn, text, npages, pf)) { in efi_setup_page_tables()
254 if (kernel_map_pages_in_pgd(pgd, pfn, rodata, npages, pf)) { in efi_setup_page_tables()
266 pgd_t *pgd = efi_mm.pgd; in __map_region() local
292 if (kernel_map_pages_in_pgd(pgd, pfn, va, md->num_pages, flags)) in __map_region()
364 pgd_t *pgd = efi_mm.pgd; in efi_update_mappings() local
369 err1 = kernel_map_pages_in_pgd(pgd, pfn, md->phys_addr, md->num_pages, pf); in efi_update_mappings()
375 err2 = kernel_map_pages_in_pgd(pgd, pfn, md->virt_addr, md->num_pages, pf); in efi_update_mappings()