Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/mm/
Dmem_encrypt_identity.c127 memset(p4d, 0, sizeof(*p4d) * PTRS_PER_P4D); in sme_prepare_pgd()
128 ppd->pgtable_area += sizeof(*p4d) * PTRS_PER_P4D; in sme_prepare_pgd()
273 if (PTRS_PER_P4D > 1) in sme_pgtable_calc()
274 entries += (DIV_ROUND_UP(len, PGDIR_SIZE) + 1) * sizeof(p4d_t) * PTRS_PER_P4D; in sme_pgtable_calc()
284 if (PTRS_PER_P4D > 1) in sme_pgtable_calc()
285 tables += DIV_ROUND_UP(entries, PGDIR_SIZE) * sizeof(p4d_t) * PTRS_PER_P4D; in sme_pgtable_calc()
Ddump_pagetables.c156 #define PGD_LEVEL_MULT (PTRS_PER_P4D * P4D_LEVEL_MULT)
Dkasan_init_64.c312 for (i = 0; pgtable_l5_enabled() && i < PTRS_PER_P4D; i++) in kasan_early_init()
/linux-6.1.9/include/asm-generic/
Dpgtable-nop4d.h12 #define PTRS_PER_P4D 1 macro
/linux-6.1.9/arch/x86/kernel/
Dhead64.c257 p4d[(i + 0) % PTRS_PER_P4D] = (pgdval_t)pud + pgtable_flags; in __startup_64()
258 p4d[(i + 1) % PTRS_PER_P4D] = (pgdval_t)pud + pgtable_flags; in __startup_64()
363 memset(p4d_p, 0, sizeof(*p4d_p) * PTRS_PER_P4D); in __early_make_pgtable()
/linux-6.1.9/arch/riscv/include/asm/
Dpgtable-64.h53 #define PTRS_PER_P4D (PAGE_SIZE / sizeof(p4d_t)) macro
366 #define p4d_index(addr) (((addr) >> P4D_SHIFT) & (PTRS_PER_P4D - 1))
/linux-6.1.9/arch/x86/include/asm/
Dpgtable_64_types.h63 #define PTRS_PER_P4D ptrs_per_p4d macro
Dpgtable.h904 return (address >> P4D_SHIFT) & (PTRS_PER_P4D - 1); in p4d_index()
/linux-6.1.9/arch/riscv/mm/
Dkasan_init.c181 sizeof(p4d_t) * PTRS_PER_P4D); in kasan_populate_p4d()
291 for (i = 0; i < PTRS_PER_P4D; ++i) in kasan_early_init()
Dinit.c282 static p4d_t __maybe_unused early_dtb_p4d[PTRS_PER_P4D] __initdata __aligned(PAGE_SIZE);
394 static p4d_t trampoline_p4d[PTRS_PER_P4D] __page_aligned_bss;
395 static p4d_t fixmap_p4d[PTRS_PER_P4D] __page_aligned_bss;
396 static p4d_t early_p4d[PTRS_PER_P4D] __initdata __aligned(PAGE_SIZE);
/linux-6.1.9/arch/mips/include/asm/
Dpgtable-64.h215 #define p4d_index(address) (((address) >> P4D_SHIFT) & (PTRS_PER_P4D - 1))
/linux-6.1.9/arch/sh/mm/
Dfault.c70 if (PTRS_PER_P4D != 1) in show_pte()
/linux-6.1.9/mm/kasan/
Dinit.c332 for (i = 0; i < PTRS_PER_P4D; i++) { in kasan_free_p4d()
/linux-6.1.9/arch/arm/mm/
Ddump.c388 for (i = 0; i < PTRS_PER_P4D; i++, p4d++) { in walk_p4d()
/linux-6.1.9/arch/powerpc/mm/ptdump/
Dhashpagetable.c442 for (i = 0; i < PTRS_PER_P4D; i++, p4d++) { in walk_p4d()
/linux-6.1.9/mm/
Dpagewalk.c18 if (depth == 1 && PTRS_PER_P4D == 1) in real_depth()
/linux-6.1.9/arch/s390/mm/
Dvmem.c434 for (i = 0; i < PTRS_PER_P4D; i++, p4d++) { in try_free_p4d_table()
/linux-6.1.9/arch/s390/include/asm/
Dpgtable.h345 #define PTRS_PER_P4D _CRST_ENTRIES macro
1294 #define p4d_index(address) (((address) >> P4D_SHIFT) & (PTRS_PER_P4D-1))
/linux-6.1.9/include/linux/
Dpgtable.h1715 #define MAX_PTRS_PER_P4D PTRS_PER_P4D