Home
last modified time | relevance | path

Searched refs:PTRS_PER_P4D (Results 1 – 10 of 10) sorted by relevance

/linux/arch/x86/boot/startup/
H A Dmap_kernel.c163 p4d[(i + 0) % PTRS_PER_P4D] = (pgdval_t)pud + pgtable_flags; in __startup_64()
164 p4d[(i + 1) % PTRS_PER_P4D] = (pgdval_t)pud + pgtable_flags; in __startup_64()
/linux/arch/riscv/include/asm/
H A Dpgtable-64.h51 #define PTRS_PER_P4D (PAGE_SIZE / sizeof(p4d_t)) macro
396 #define p4d_index(addr) (((addr) >> P4D_SHIFT) & (PTRS_PER_P4D - 1))
/linux/arch/x86/include/asm/
H A Dpgtable_64_types.h58 #define PTRS_PER_P4D ptrs_per_p4d macro
/linux/arch/x86/kernel/
H A Dhead64.c111 memset(p4d_p, 0, sizeof(*p4d_p) * PTRS_PER_P4D); in __early_make_pgtable()
/linux/arch/sh/mm/
H A Dfault.c70 if (PTRS_PER_P4D != 1) in show_pte()
/linux/arch/riscv/mm/
H A Dinit.c453 static p4d_t trampoline_p4d[PTRS_PER_P4D] __page_aligned_bss;
454 static p4d_t fixmap_p4d[PTRS_PER_P4D] __page_aligned_bss;
455 static p4d_t early_p4d[PTRS_PER_P4D] __initdata __aligned(PAGE_SIZE);
/linux/arch/arm/mm/
H A Ddump.c388 for (i = 0; i < PTRS_PER_P4D; i++, p4d++) { in walk_p4d()
/linux/arch/x86/mm/
H A Dkasan_init_64.c311 for (i = 0; pgtable_l5_enabled() && i < PTRS_PER_P4D; i++) in kasan_early_init()
/linux/arch/powerpc/mm/ptdump/
H A Dhashpagetable.c448 for (i = 0; i < PTRS_PER_P4D; i++, p4d++) { in walk_p4d()
/linux/arch/arm64/mm/
H A Dmmu.c1811 for (i = 0; i < PTRS_PER_P4D; i++) { in free_empty_p4d_table()