Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/arc/mm/
A 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_none (*pgd_k)) in handle_kernel_vaddr_fault()
42 set_pgd(pgd, *pgd_k); in handle_kernel_vaddr_fault()
45 p4d_k = p4d_offset(pgd_k, address); in handle_kernel_vaddr_fault()
/linux-6.3-rc2/arch/nios2/mm/
A Dfault.c243 pgd_t *pgd, *pgd_k; in do_page_fault() local
250 pgd_k = init_mm.pgd + offset; in do_page_fault()
252 if (!pgd_present(*pgd_k)) in do_page_fault()
254 set_pgd(pgd, *pgd_k); in do_page_fault()
257 p4d_k = p4d_offset(pgd_k, address); in do_page_fault()
/linux-6.3-rc2/arch/xtensa/mm/
A Dfault.c34 pgd_t *pgd, *pgd_k; in vmalloc_fault() local
44 pgd_k = init_mm.pgd + index; in vmalloc_fault()
46 if (!pgd_present(*pgd_k)) in vmalloc_fault()
49 pgd_val(*pgd) = pgd_val(*pgd_k); in vmalloc_fault()
52 p4d_k = p4d_offset(pgd_k, address); in vmalloc_fault()
/linux-6.3-rc2/arch/sh/mm/
A 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()
/linux-6.3-rc2/arch/csky/mm/
A Dfault.c118 pgd_t *pgd, *pgd_k; in vmalloc_fault() local
140 pgd_k = init_mm.pgd + offset; in vmalloc_fault()
142 if (!pgd_present(*pgd_k)) { in vmalloc_fault()
146 set_pgd(pgd, *pgd_k); in vmalloc_fault()
149 pud_k = (pud_t *)pgd_k; in vmalloc_fault()
/linux-6.3-rc2/arch/alpha/mm/
A Dfault.c244 pgd_t *pgd, *pgd_k; in do_page_fault() local
247 pgd_k = swapper_pg_dir + index; in do_page_fault()
248 if (!pgd_present(*pgd) && pgd_present(*pgd_k)) { in do_page_fault()
249 pgd_val(*pgd) = pgd_val(*pgd_k); in do_page_fault()
/linux-6.3-rc2/arch/riscv/mm/
A Dfault.c104 pgd_t *pgd, *pgd_k; in vmalloc_fault() local
127 pgd_k = init_mm.pgd + index; in vmalloc_fault()
129 if (!pgd_present(*pgd_k)) { in vmalloc_fault()
133 set_pgd(pgd, *pgd_k); in vmalloc_fault()
135 p4d_k = p4d_offset(pgd_k, addr); in vmalloc_fault()
A Dkasan_init.c411 pgd_t *pgd_k = pgd_offset_k(vaddr); in kasan_shallow_populate_pgd() local
416 is_kasan_pgd_next = (pgd_page_vaddr(*pgd_k) == in kasan_shallow_populate_pgd()
421 set_pgd(pgd_k, pfn_pgd(PFN_DOWN(__pa(p)), PAGE_TABLE)); in kasan_shallow_populate_pgd()
428 kasan_shallow_populate_pgd_next(pgd_k, vaddr, next); in kasan_shallow_populate_pgd()
429 } while (pgd_k++, vaddr = next, vaddr != end); in kasan_shallow_populate_pgd()
/linux-6.3-rc2/arch/mips/mm/
A Dfault.c293 pgd_t *pgd, *pgd_k; in __do_page_fault() local
300 pgd_k = init_mm.pgd + offset; in __do_page_fault()
302 if (!pgd_present(*pgd_k)) in __do_page_fault()
304 set_pgd(pgd, *pgd_k); in __do_page_fault()
307 p4d_k = p4d_offset(pgd_k, address); in __do_page_fault()
/linux-6.3-rc2/arch/sparc/mm/
A Dfault_32.c282 pgd_t *pgd, *pgd_k; in do_sparc_fault() local
288 pgd_k = init_mm.pgd + offset; in do_sparc_fault()
291 if (!pgd_present(*pgd_k)) in do_sparc_fault()
293 pgd_val(*pgd) = pgd_val(*pgd_k); in do_sparc_fault()
301 p4d_k = p4d_offset(pgd_k, address); in do_sparc_fault()
/linux-6.3-rc2/arch/sh/kernel/
A 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()
/linux-6.3-rc2/arch/openrisc/mm/
A Dfault.c292 pgd_t *pgd, *pgd_k; in do_page_fault() local
306 pgd_k = init_mm.pgd + offset; in do_page_fault()
321 p4d_k = p4d_offset(pgd_k, address); in do_page_fault()
/linux-6.3-rc2/arch/x86/platform/efi/
A Defi_64.c110 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()
/linux-6.3-rc2/arch/arm/mm/
A Dfault.c431 pgd_t *pgd, *pgd_k; in do_translation_fault() local
445 pgd_k = init_mm.pgd + index; in do_translation_fault()
448 p4d_k = p4d_offset(pgd_k, addr); in do_translation_fault()
/linux-6.3-rc2/arch/x86/mm/
A Dfault.c176 pgd_t *pgd_k; in vmalloc_sync_one() local
182 pgd_k = init_mm.pgd + index; in vmalloc_sync_one()
184 if (!pgd_present(*pgd_k)) in vmalloc_sync_one()
193 p4d_k = p4d_offset(pgd_k, address); in vmalloc_sync_one()

Completed in 21 milliseconds