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.c247 pgd_t *pgd, *pgd_k; in do_page_fault() local
253 pgd_k = init_mm.pgd + offset; in do_page_fault()
255 if (!pgd_present(*pgd_k)) in do_page_fault()
257 set_pgd(pgd, *pgd_k); in do_page_fault()
260 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/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/metag/mm/
Dfault.c69 pgd_t *pgd, *pgd_k; in do_page_fault() local
75 pgd_k = swapper_pg_dir + offset; in do_page_fault()
79 if (!pgd_present(*pgd_k)) in do_page_fault()
81 set_pgd(pgd, *pgd_k); in do_page_fault()
86 pud_k = pud_offset(pgd_k, address); in do_page_fault()
/arch/sh/mm/
Dfault.c130 pgd_t *pgd_k; in vmalloc_sync_one() local
135 pgd_k = init_mm.pgd + index; in vmalloc_sync_one()
137 if (!pgd_present(*pgd_k)) in vmalloc_sync_one()
141 pud_k = pud_offset(pgd_k, address); in vmalloc_sync_one()
179 pgd_t *pgd_k; in vmalloc_fault() local
194 pgd_k = get_TTB(); in vmalloc_fault()
195 pmd_k = vmalloc_sync_one(pgd_k, address); in vmalloc_fault()
/arch/alpha/mm/
Dfault.c248 pgd_t *pgd, *pgd_k; in do_page_fault() local
251 pgd_k = swapper_pg_dir + index; in do_page_fault()
252 if (!pgd_present(*pgd) && pgd_present(*pgd_k)) { in do_page_fault()
253 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.c299 pgd_t *pgd, *pgd_k; in do_page_fault() local
306 pgd_k = ((pgd_t *)(init_mm.pgd)) + index; in do_page_fault()
308 if (!pgd_present(*pgd_k)) in do_page_fault()
312 pud_k = pud_offset(pgd_k, ear0); in do_page_fault()
/arch/sparc/mm/
Dfault_32.c359 pgd_t *pgd, *pgd_k; in do_sparc_fault() local
363 pgd_k = init_mm.pgd + offset; in do_sparc_fault()
366 if (!pgd_present(*pgd_k)) in do_sparc_fault()
368 pgd_val(*pgd) = pgd_val(*pgd_k); in do_sparc_fault()
373 pmd_k = pmd_offset(pgd_k, address); in do_sparc_fault()
/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/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/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.c324 pgd_t *pgd, *pgd_k; in do_page_fault() local
330 pgd_k = init_mm.pgd + offset; in do_page_fault()
345 pud_k = pud_offset(pgd_k, address); in do_page_fault()
/arch/m32r/mm/
Dfault.c308 pgd_t *pgd, *pgd_k; in do_page_fault() local
314 pgd_k = init_mm.pgd + offset; in do_page_fault()
316 if (!pgd_present(*pgd_k)) in do_page_fault()
325 pmd_k = pmd_offset(pgd_k, address); in do_page_fault()
/arch/arm/mm/
Dfault.c429 pgd_t *pgd, *pgd_k; in do_translation_fault() local
442 pgd_k = init_mm.pgd + index; in do_translation_fault()
444 if (pgd_none(*pgd_k)) in do_translation_fault()
447 set_pgd(pgd, *pgd_k); in do_translation_fault()
450 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/x86/platform/efi/
Defi_64.c168 pgd_t *pgd_k, *pgd_efi; in efi_sync_low_kernel_mappings() local
187 pgd_k = pgd_offset_k(PAGE_OFFSET); in efi_sync_low_kernel_mappings()
190 memcpy(pgd_efi, pgd_k, sizeof(pgd_t) * num_entries); in efi_sync_low_kernel_mappings()
202 pgd_k = pgd_offset_k(EFI_VA_END); in efi_sync_low_kernel_mappings()
203 pud_k = pud_offset(pgd_k, 0); in efi_sync_low_kernel_mappings()
209 pud_k = pud_offset(pgd_k, EFI_VA_START); in efi_sync_low_kernel_mappings()
/arch/tile/mm/
Dfault.c107 pgd_t *pgd_k; in vmalloc_sync_one() local
112 pgd_k = init_mm.pgd + index; in vmalloc_sync_one()
114 if (!pgd_present(*pgd_k)) in vmalloc_sync_one()
118 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.c253 pgd_t *pgd_k; in vmalloc_sync_one() local
258 pgd_k = init_mm.pgd + index; in vmalloc_sync_one()
260 if (!pgd_present(*pgd_k)) in vmalloc_sync_one()
269 pud_k = pud_offset(pgd_k, address); in vmalloc_sync_one()