Home
last modified time | relevance | path

Searched refs:pgd_k (Results 1 – 21 of 21) 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.c116 pgd_t *pgd_k; in alloc_kmap_pgtable() local
121 pgd_k = pgd_offset_k(kvaddr); in alloc_kmap_pgtable()
122 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.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/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.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.c432 pgd_t *pgd, *pgd_k; in do_translation_fault() local
445 pgd_k = init_mm.pgd + index; in do_translation_fault()
447 if (pgd_none(*pgd_k)) in do_translation_fault()
450 set_pgd(pgd, *pgd_k); in do_translation_fault()
453 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/metag/kernel/
Ddma.c391 pgd_t *pgd, *pgd_k; in dma_alloc_init() local
411 pgd_k = ((pgd_t *) mmu_get_base()) + offset; in dma_alloc_init()
412 pud_k = pud_offset(pgd_k, CONSISTENT_START); in dma_alloc_init()
/arch/tile/mm/
Dfault.c108 pgd_t *pgd_k; in vmalloc_sync_one() local
113 pgd_k = init_mm.pgd + index; in vmalloc_sync_one()
115 if (!pgd_present(*pgd_k)) in vmalloc_sync_one()
119 pud_k = pud_offset(pgd_k, address); in vmalloc_sync_one()
/arch/x86/mm/
Dfault.c197 pgd_t *pgd_k; in vmalloc_sync_one() local
202 pgd_k = init_mm.pgd + index; in vmalloc_sync_one()
204 if (!pgd_present(*pgd_k)) in vmalloc_sync_one()
213 pud_k = pud_offset(pgd_k, address); in vmalloc_sync_one()