Home
last modified time | relevance | path

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

/arch/score/mm/
Dfault.c209 pgd_t *pgd, *pgd_k; in do_page_fault() local
215 pgd_k = init_mm.pgd + offset; in do_page_fault()
217 if (!pgd_present(*pgd_k)) in do_page_fault()
219 set_pgd(pgd, *pgd_k); in do_page_fault()
222 pud_k = pud_offset(pgd_k, address); in do_page_fault()
/arch/nios2/mm/
Dfault.c248 pgd_t *pgd, *pgd_k; in do_page_fault() local
254 pgd_k = init_mm.pgd + offset; in do_page_fault()
256 if (!pgd_present(*pgd_k)) in do_page_fault()
258 set_pgd(pgd, *pgd_k); in do_page_fault()
261 pud_k = pud_offset(pgd_k, address); in do_page_fault()
/arch/arc/mm/
Dhighmem.c117 pgd_t *pgd_k; in alloc_kmap_pgtable() local
122 pgd_k = pgd_offset_k(kvaddr); in alloc_kmap_pgtable()
123 pud_k = pud_offset(pgd_k, kvaddr); in alloc_kmap_pgtable()
Dfault.c34 pgd_t *pgd, *pgd_k; in handle_kernel_vaddr_fault() local
39 pgd_k = pgd_offset_k(address); in handle_kernel_vaddr_fault()
41 if (!pgd_present(*pgd_k)) in handle_kernel_vaddr_fault()
45 pud_k = pud_offset(pgd_k, address); in handle_kernel_vaddr_fault()
/arch/metag/mm/
Dfault.c71 pgd_t *pgd, *pgd_k; in do_page_fault() local
77 pgd_k = swapper_pg_dir + offset; in do_page_fault()
81 if (!pgd_present(*pgd_k)) in do_page_fault()
83 set_pgd(pgd, *pgd_k); in do_page_fault()
88 pud_k = pud_offset(pgd_k, address); in do_page_fault()
/arch/xtensa/mm/
Dfault.c209 pgd_t *pgd, *pgd_k; in do_page_fault() local
217 pgd_k = init_mm.pgd + index; in do_page_fault()
219 if (!pgd_present(*pgd_k)) in do_page_fault()
222 pgd_val(*pgd) = pgd_val(*pgd_k); in do_page_fault()
225 pmd_k = pmd_offset(pgd_k, address); in do_page_fault()
/arch/sh/mm/
Dfault.c131 pgd_t *pgd_k; in vmalloc_sync_one() local
136 pgd_k = init_mm.pgd + index; in vmalloc_sync_one()
138 if (!pgd_present(*pgd_k)) in vmalloc_sync_one()
142 pud_k = pud_offset(pgd_k, address); in vmalloc_sync_one()
180 pgd_t *pgd_k; in vmalloc_fault() local
195 pgd_k = get_TTB(); in vmalloc_fault()
196 pmd_k = vmalloc_sync_one(pgd_k, address); in vmalloc_fault()
/arch/alpha/mm/
Dfault.c249 pgd_t *pgd, *pgd_k; in do_page_fault() local
252 pgd_k = swapper_pg_dir + index; in do_page_fault()
253 if (!pgd_present(*pgd) && pgd_present(*pgd_k)) { in do_page_fault()
254 pgd_val(*pgd) = pgd_val(*pgd_k); in do_page_fault()
/arch/mips/mm/
Dfault.c304 pgd_t *pgd, *pgd_k; in __do_page_fault() local
310 pgd_k = init_mm.pgd + offset; in __do_page_fault()
312 if (!pgd_present(*pgd_k)) in __do_page_fault()
314 set_pgd(pgd, *pgd_k); in __do_page_fault()
317 pud_k = pud_offset(pgd_k, address); in __do_page_fault()
/arch/frv/mm/
Dfault.c298 pgd_t *pgd, *pgd_k; in do_page_fault() local
305 pgd_k = ((pgd_t *)(init_mm.pgd)) + index; in do_page_fault()
307 if (!pgd_present(*pgd_k)) in do_page_fault()
311 pud_k = pud_offset(pgd_k, ear0); in do_page_fault()
/arch/sparc/mm/
Dfault_32.c360 pgd_t *pgd, *pgd_k; in do_sparc_fault() local
364 pgd_k = init_mm.pgd + offset; in do_sparc_fault()
367 if (!pgd_present(*pgd_k)) in do_sparc_fault()
369 pgd_val(*pgd) = pgd_val(*pgd_k); in do_sparc_fault()
374 pmd_k = pmd_offset(pgd_k, address); in do_sparc_fault()
/arch/sh/kernel/
Dio_trapped.c141 pgd_t *pgd_k; in lookup_tiop() local
147 pgd_k = swapper_pg_dir + pgd_index(address); in lookup_tiop()
148 if (!pgd_present(*pgd_k)) in lookup_tiop()
151 pud_k = pud_offset(pgd_k, address); in lookup_tiop()
/arch/mn10300/mm/
Dfault.c386 pgd_t *pgd, *pgd_k; in do_page_fault() local
391 pgd_k = init_mm.pgd + index; in do_page_fault()
393 if (!pgd_present(*pgd_k)) in do_page_fault()
396 pud_k = pud_offset(pgd_k, address); in do_page_fault()
/arch/openrisc/mm/
Dfault.c310 pgd_t *pgd, *pgd_k; in do_page_fault() local
323 pgd_k = init_mm.pgd + offset; in do_page_fault()
338 pud_k = pud_offset(pgd_k, address); in do_page_fault()
/arch/cris/mm/
Dfault.c326 pgd_t *pgd, *pgd_k; in do_page_fault() local
332 pgd_k = init_mm.pgd + offset; in do_page_fault()
347 pud_k = pud_offset(pgd_k, address); in do_page_fault()
/arch/x86/platform/efi/
Defi_64.c76 pgd_t *save_pgd, *pgd_k, *pgd_efi; in efi_call_phys_prolog() local
132 pgd_k = pgd_offset_k(vaddr); in efi_call_phys_prolog()
133 p4d_k = p4d_offset(pgd_k, vaddr); in efi_call_phys_prolog()
243 pgd_t *pgd_k, *pgd_efi; in efi_sync_low_kernel_mappings() local
263 pgd_k = pgd_offset_k(PAGE_OFFSET); in efi_sync_low_kernel_mappings()
266 memcpy(pgd_efi, pgd_k, sizeof(pgd_t) * num_entries); in efi_sync_low_kernel_mappings()
276 pgd_k = pgd_offset_k(EFI_VA_END); in efi_sync_low_kernel_mappings()
278 p4d_k = p4d_offset(pgd_k, 0); in efi_sync_low_kernel_mappings()
291 p4d_k = p4d_offset(pgd_k, EFI_VA_END); in efi_sync_low_kernel_mappings()
/arch/m32r/mm/
Dfault.c309 pgd_t *pgd, *pgd_k; in do_page_fault() local
315 pgd_k = init_mm.pgd + offset; in do_page_fault()
317 if (!pgd_present(*pgd_k)) in do_page_fault()
326 pmd_k = pmd_offset(pgd_k, address); in do_page_fault()
/arch/arm/mm/
Dfault.c433 pgd_t *pgd, *pgd_k; in do_translation_fault() local
446 pgd_k = init_mm.pgd + index; in do_translation_fault()
448 if (pgd_none(*pgd_k)) in do_translation_fault()
451 set_pgd(pgd, *pgd_k); in do_translation_fault()
454 pud_k = pud_offset(pgd_k, addr); in do_translation_fault()
/arch/unicore32/mm/
Dfault.c346 pgd_t *pgd, *pgd_k; in do_ifault() local
358 pgd_k = init_mm.pgd + index; in do_ifault()
360 if (pgd_none(*pgd_k)) in do_ifault()
363 pmd_k = pmd_offset((pud_t *) pgd_k, addr); in do_ifault()
/arch/tile/mm/
Dfault.c110 pgd_t *pgd_k; in vmalloc_sync_one() local
115 pgd_k = init_mm.pgd + index; in vmalloc_sync_one()
117 if (!pgd_present(*pgd_k)) in vmalloc_sync_one()
121 pud_k = pud_offset(pgd_k, address); in vmalloc_sync_one()
/arch/metag/kernel/
Ddma.c374 pgd_t *pgd, *pgd_k; in dma_alloc_init() local
394 pgd_k = ((pgd_t *) mmu_get_base()) + offset; in dma_alloc_init()
395 pud_k = pud_offset(pgd_k, CONSISTENT_START); in dma_alloc_init()
/arch/x86/mm/
Dfault.c235 pgd_t *pgd_k; in vmalloc_sync_one() local
241 pgd_k = init_mm.pgd + index; in vmalloc_sync_one()
243 if (!pgd_present(*pgd_k)) in vmalloc_sync_one()
252 p4d_k = p4d_offset(pgd_k, address); in vmalloc_sync_one()