Home
last modified time | relevance | path

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

/linux-6.1.9/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_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.1.9/arch/nios2/mm/
Dfault.c240 pgd_t *pgd, *pgd_k; in do_page_fault() local
247 pgd_k = init_mm.pgd + offset; in do_page_fault()
249 if (!pgd_present(*pgd_k)) in do_page_fault()
251 set_pgd(pgd, *pgd_k); in do_page_fault()
254 p4d_k = p4d_offset(pgd_k, address); in do_page_fault()
/linux-6.1.9/arch/xtensa/mm/
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.1.9/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()
/linux-6.1.9/arch/csky/mm/
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.1.9/arch/alpha/mm/
Dfault.c241 pgd_t *pgd, *pgd_k; in do_page_fault() local
244 pgd_k = swapper_pg_dir + index; in do_page_fault()
245 if (!pgd_present(*pgd) && pgd_present(*pgd_k)) { in do_page_fault()
246 pgd_val(*pgd) = pgd_val(*pgd_k); in do_page_fault()
/linux-6.1.9/arch/mips/mm/
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.1.9/arch/riscv/mm/
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()
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.1.9/arch/sparc/mm/
Dfault_32.c279 pgd_t *pgd, *pgd_k; in do_sparc_fault() local
285 pgd_k = init_mm.pgd + offset; in do_sparc_fault()
288 if (!pgd_present(*pgd_k)) in do_sparc_fault()
290 pgd_val(*pgd) = pgd_val(*pgd_k); in do_sparc_fault()
298 p4d_k = p4d_offset(pgd_k, address); in do_sparc_fault()
/linux-6.1.9/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()
/linux-6.1.9/arch/openrisc/mm/
Dfault.c289 pgd_t *pgd, *pgd_k; in do_page_fault() local
303 pgd_k = init_mm.pgd + offset; in do_page_fault()
318 p4d_k = p4d_offset(pgd_k, address); in do_page_fault()
/linux-6.1.9/arch/x86/platform/efi/
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.1.9/arch/arm/mm/
Dfault.c430 pgd_t *pgd, *pgd_k; in do_translation_fault() local
444 pgd_k = init_mm.pgd + index; in do_translation_fault()
447 p4d_k = p4d_offset(pgd_k, addr); in do_translation_fault()
/linux-6.1.9/arch/x86/mm/
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()