Home
last modified time | relevance | path

Searched refs:pgd_k (Results 1 – 15 of 15) sorted by relevance

/arch/csky/mm/
Dfault.c82 pgd_t *pgd, *pgd_k; in do_page_fault() local
91 pgd_k = init_mm.pgd + offset; in do_page_fault()
93 if (!pgd_present(*pgd_k)) in do_page_fault()
95 set_pgd(pgd, *pgd_k); in do_page_fault()
98 pud_k = (pud_t *)pgd_k; in do_page_fault()
/arch/nios2/mm/
Dfault.c238 pgd_t *pgd, *pgd_k; in do_page_fault() local
245 pgd_k = init_mm.pgd + offset; in do_page_fault()
247 if (!pgd_present(*pgd_k)) in do_page_fault()
249 set_pgd(pgd, *pgd_k); in do_page_fault()
252 p4d_k = p4d_offset(pgd_k, address); in do_page_fault()
/arch/arc/mm/
Dfault.c31 pgd_t *pgd, *pgd_k; in handle_kernel_vaddr_fault() local
37 pgd_k = pgd_offset_k(address); in handle_kernel_vaddr_fault()
39 if (!pgd_present(*pgd_k)) in handle_kernel_vaddr_fault()
43 p4d_k = p4d_offset(pgd_k, address); in handle_kernel_vaddr_fault()
/arch/xtensa/mm/
Dfault.c193 pgd_t *pgd, *pgd_k; in do_page_fault() local
203 pgd_k = init_mm.pgd + index; in do_page_fault()
205 if (!pgd_present(*pgd_k)) in do_page_fault()
208 pgd_val(*pgd) = pgd_val(*pgd_k); in do_page_fault()
211 p4d_k = p4d_offset(pgd_k, address); in do_page_fault()
/arch/riscv/mm/
Dfault.c83 pgd_t *pgd, *pgd_k; in vmalloc_fault() local
106 pgd_k = init_mm.pgd + index; in vmalloc_fault()
108 if (!pgd_present(*pgd_k)) { in vmalloc_fault()
112 set_pgd(pgd, *pgd_k); in vmalloc_fault()
115 p4d_k = p4d_offset(pgd_k, addr); in vmalloc_fault()
/arch/alpha/mm/
Dfault.c239 pgd_t *pgd, *pgd_k; in do_page_fault() local
242 pgd_k = swapper_pg_dir + index; in do_page_fault()
243 if (!pgd_present(*pgd) && pgd_present(*pgd_k)) { in do_page_fault()
244 pgd_val(*pgd) = pgd_val(*pgd_k); in do_page_fault()
/arch/sh/mm/
Dfault.c123 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()
/arch/mips/mm/
Dfault.c287 pgd_t *pgd, *pgd_k; in __do_page_fault() local
294 pgd_k = init_mm.pgd + offset; in __do_page_fault()
296 if (!pgd_present(*pgd_k)) in __do_page_fault()
298 set_pgd(pgd, *pgd_k); in __do_page_fault()
301 p4d_k = p4d_offset(pgd_k, address); in __do_page_fault()
/arch/nds32/mm/
Dfault.c350 pgd_t *pgd, *pgd_k; in do_page_fault() local
357 pgd_k = init_mm.pgd + index; in do_page_fault()
359 if (!pgd_present(*pgd_k)) in do_page_fault()
363 p4d_k = p4d_offset(pgd_k, addr); in do_page_fault()
/arch/openrisc/mm/
Dfault.c296 pgd_t *pgd, *pgd_k; in do_page_fault() local
310 pgd_k = init_mm.pgd + offset; in do_page_fault()
325 p4d_k = p4d_offset(pgd_k, address); in do_page_fault()
/arch/sparc/mm/
Dfault_32.c338 pgd_t *pgd, *pgd_k; in do_sparc_fault() local
344 pgd_k = init_mm.pgd + offset; in do_sparc_fault()
347 if (!pgd_present(*pgd_k)) in do_sparc_fault()
349 pgd_val(*pgd) = pgd_val(*pgd_k); in do_sparc_fault()
357 p4d_k = p4d_offset(pgd_k, address); in do_sparc_fault()
/arch/sh/kernel/
Dio_trapped.c136 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()
/arch/x86/platform/efi/
Defi_64.c113 pgd_t *pgd_k, *pgd_efi; in efi_sync_low_kernel_mappings() local
119 pgd_k = pgd_offset_k(PAGE_OFFSET); in efi_sync_low_kernel_mappings()
122 memcpy(pgd_efi, pgd_k, sizeof(pgd_t) * num_entries); in efi_sync_low_kernel_mappings()
125 pgd_k = pgd_offset_k(EFI_VA_END); in efi_sync_low_kernel_mappings()
127 p4d_k = p4d_offset(pgd_k, 0); in efi_sync_low_kernel_mappings()
140 p4d_k = p4d_offset(pgd_k, EFI_VA_END); in efi_sync_low_kernel_mappings()
/arch/arm/mm/
Dfault.c395 pgd_t *pgd, *pgd_k; in do_translation_fault() local
409 pgd_k = init_mm.pgd + index; in do_translation_fault()
412 p4d_k = p4d_offset(pgd_k, addr); in do_translation_fault()
/arch/x86/mm/
Dfault.c161 pgd_t *pgd_k; in vmalloc_sync_one() local
167 pgd_k = init_mm.pgd + index; in vmalloc_sync_one()
169 if (!pgd_present(*pgd_k)) in vmalloc_sync_one()
178 p4d_k = p4d_offset(pgd_k, address); in vmalloc_sync_one()