/openbmc/linux/arch/arc/mm/ |
H A D | fault.c | 32 pgd_t *pgd, *pgd_k; in handle_kernel_vaddr_fault() local 38 pgd_k = pgd_offset_k(address); in handle_kernel_vaddr_fault() 40 if (pgd_none (*pgd_k)) in handle_kernel_vaddr_fault() 43 set_pgd(pgd, *pgd_k); in handle_kernel_vaddr_fault() 46 p4d_k = p4d_offset(pgd_k, address); in handle_kernel_vaddr_fault()
|
/openbmc/linux/arch/nios2/mm/ |
H A D | fault.c | 230 pgd_t *pgd, *pgd_k; in do_page_fault() local 237 pgd_k = init_mm.pgd + offset; in do_page_fault() 239 if (!pgd_present(*pgd_k)) in do_page_fault() 241 set_pgd(pgd, *pgd_k); in do_page_fault() 244 p4d_k = p4d_offset(pgd_k, address); in do_page_fault()
|
/openbmc/linux/arch/xtensa/mm/ |
H A D | fault.c | 35 pgd_t *pgd, *pgd_k; in vmalloc_fault() local 45 pgd_k = init_mm.pgd + index; in vmalloc_fault() 47 if (!pgd_present(*pgd_k)) in vmalloc_fault() 50 pgd_val(*pgd) = pgd_val(*pgd_k); in vmalloc_fault() 53 p4d_k = p4d_offset(pgd_k, address); in vmalloc_fault()
|
/openbmc/linux/arch/sh/mm/ |
H A D | fault.c | 123 pgd_t *pgd_k; in vmalloc_sync_one() local 129 pgd_k = init_mm.pgd + index; in vmalloc_sync_one() 131 if (!pgd_present(*pgd_k)) in vmalloc_sync_one() 135 p4d_k = p4d_offset(pgd_k, address); in vmalloc_sync_one() 178 pgd_t *pgd_k; in vmalloc_fault() local 193 pgd_k = get_TTB(); in vmalloc_fault() 194 pmd_k = vmalloc_sync_one(pgd_k, address); in vmalloc_fault()
|
/openbmc/linux/arch/csky/mm/ |
H A D | fault.c | 117 pgd_t *pgd, *pgd_k; in vmalloc_fault() local 139 pgd_k = init_mm.pgd + offset; in vmalloc_fault() 141 if (!pgd_present(*pgd_k)) { in vmalloc_fault() 145 set_pgd(pgd, *pgd_k); in vmalloc_fault() 148 pud_k = (pud_t *)pgd_k; in vmalloc_fault()
|
/openbmc/linux/arch/alpha/mm/ |
H A D | fault.c | 237 pgd_t *pgd, *pgd_k; in do_page_fault() local 240 pgd_k = swapper_pg_dir + index; in do_page_fault() 241 if (!pgd_present(*pgd) && pgd_present(*pgd_k)) { in do_page_fault() 242 pgd_val(*pgd) = pgd_val(*pgd_k); in do_page_fault()
|
/openbmc/linux/arch/mips/mm/ |
H A D | fault.c | 285 pgd_t *pgd, *pgd_k; in __do_page_fault() local 292 pgd_k = init_mm.pgd + offset; in __do_page_fault() 294 if (!pgd_present(*pgd_k)) in __do_page_fault() 296 set_pgd(pgd, *pgd_k); in __do_page_fault() 299 p4d_k = p4d_offset(pgd_k, address); in __do_page_fault()
|
/openbmc/linux/arch/riscv/mm/ |
H A D | fault.c | 115 pgd_t *pgd, *pgd_k; in vmalloc_fault() local 138 pgd_k = init_mm.pgd + index; in vmalloc_fault() 140 if (!pgd_present(pgdp_get(pgd_k))) { in vmalloc_fault() 144 set_pgd(pgd, pgdp_get(pgd_k)); in vmalloc_fault() 146 p4d_k = p4d_offset(pgd_k, addr); in vmalloc_fault()
|
H A D | kasan_init.c | 421 pgd_t *pgd_k = pgd_offset_k(vaddr); in kasan_shallow_populate_pgd() local 426 if (pgd_none(pgdp_get(pgd_k))) { in kasan_shallow_populate_pgd() 428 set_pgd(pgd_k, pfn_pgd(PFN_DOWN(__pa(p)), PAGE_TABLE)); in kasan_shallow_populate_pgd() 432 kasan_shallow_populate_p4d(pgd_k, vaddr, next); in kasan_shallow_populate_pgd() 433 } while (pgd_k++, vaddr = next, vaddr != end); in kasan_shallow_populate_pgd()
|
/openbmc/linux/arch/sparc/mm/ |
H A D | fault_32.c | 273 pgd_t *pgd, *pgd_k; in do_sparc_fault() local 279 pgd_k = init_mm.pgd + offset; in do_sparc_fault() 282 if (!pgd_present(*pgd_k)) in do_sparc_fault() 284 pgd_val(*pgd) = pgd_val(*pgd_k); in do_sparc_fault() 292 p4d_k = p4d_offset(pgd_k, address); in do_sparc_fault()
|
/openbmc/linux/arch/sh/kernel/ |
H A D | io_trapped.c | 136 pgd_t *pgd_k; in lookup_tiop() local 143 pgd_k = swapper_pg_dir + pgd_index(address); in lookup_tiop() 144 if (!pgd_present(*pgd_k)) in lookup_tiop() 147 p4d_k = p4d_offset(pgd_k, address); in lookup_tiop()
|
/openbmc/linux/arch/openrisc/mm/ |
H A D | fault.c | 295 pgd_t *pgd, *pgd_k; in do_page_fault() local 309 pgd_k = init_mm.pgd + offset; in do_page_fault() 324 p4d_k = p4d_offset(pgd_k, address); in do_page_fault()
|
/openbmc/linux/arch/x86/platform/efi/ |
H A D | efi_64.c | 110 pgd_t *pgd_k, *pgd_efi; in efi_sync_low_kernel_mappings() local 116 pgd_k = pgd_offset_k(PAGE_OFFSET); in efi_sync_low_kernel_mappings() 119 memcpy(pgd_efi, pgd_k, sizeof(pgd_t) * num_entries); in efi_sync_low_kernel_mappings() 122 pgd_k = pgd_offset_k(EFI_VA_END); in efi_sync_low_kernel_mappings() 124 p4d_k = p4d_offset(pgd_k, 0); in efi_sync_low_kernel_mappings() 137 p4d_k = p4d_offset(pgd_k, EFI_VA_END); in efi_sync_low_kernel_mappings()
|
/openbmc/linux/arch/arm/mm/ |
H A D | fault.c | 399 pgd_t *pgd, *pgd_k; in do_translation_fault() local 413 pgd_k = init_mm.pgd + index; in do_translation_fault() 416 p4d_k = p4d_offset(pgd_k, addr); in do_translation_fault()
|
/openbmc/linux/arch/x86/mm/ |
H A D | fault.c | 177 pgd_t *pgd_k; in vmalloc_sync_one() local 183 pgd_k = init_mm.pgd + index; in vmalloc_sync_one() 185 if (!pgd_present(*pgd_k)) in vmalloc_sync_one() 194 p4d_k = p4d_offset(pgd_k, address); in vmalloc_sync_one()
|