Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/mm/
Dmem_encrypt_identity.c124 memset(p4d, 0, sizeof(*p4d) * PTRS_PER_P4D); in sme_prepare_pgd()
125 ppd->pgtable_area += sizeof(*p4d) * PTRS_PER_P4D; in sme_prepare_pgd()
270 if (PTRS_PER_P4D > 1) in sme_pgtable_calc()
271 entries += (DIV_ROUND_UP(len, PGDIR_SIZE) + 1) * sizeof(p4d_t) * PTRS_PER_P4D; in sme_pgtable_calc()
281 if (PTRS_PER_P4D > 1) in sme_pgtable_calc()
282 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.c314 for (i = 0; pgtable_l5_enabled() && i < PTRS_PER_P4D; i++) in kasan_early_init()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dhead64.c218 p4d[(i + 0) % PTRS_PER_P4D] = (pgdval_t)pud + pgtable_flags; in __startup_64()
219 p4d[(i + 1) % PTRS_PER_P4D] = (pgdval_t)pud + pgtable_flags; in __startup_64()
355 memset(p4d_p, 0, sizeof(*p4d_p) * PTRS_PER_P4D); in __early_make_pgtable()
/kernel/linux/linux-5.10/include/asm-generic/
Dpgtable-nop4d.h13 #define PTRS_PER_P4D 1 macro
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpgtable_64_types.h63 #define PTRS_PER_P4D ptrs_per_p4d macro
Dpgtable.h933 return (address >> P4D_SHIFT) & (PTRS_PER_P4D - 1); in p4d_index()
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dpgtable-64.h221 #define p4d_index(address) (((address) >> P4D_SHIFT) & (PTRS_PER_P4D - 1))
/kernel/linux/linux-5.10/arch/sh/mm/
Dfault.c70 if (PTRS_PER_P4D != 1) in show_pte()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dpgtable.h343 #define PTRS_PER_P4D _CRST_ENTRIES macro
346 #define MAX_PTRS_PER_P4D PTRS_PER_P4D
1236 #define p4d_index(address) (((address) >> P4D_SHIFT) & (PTRS_PER_P4D-1))
/kernel/linux/linux-5.10/arch/arm/mm/
Ddump.c380 for (i = 0; i < PTRS_PER_P4D; i++, p4d++) { in walk_p4d()
/kernel/linux/linux-5.10/mm/kasan/
Dinit.c336 for (i = 0; i < PTRS_PER_P4D; i++) { in kasan_free_p4d()
/kernel/linux/linux-5.10/arch/powerpc/mm/ptdump/
Dhashpagetable.c439 for (i = 0; i < PTRS_PER_P4D; i++, p4d++) { in walk_p4d()
/kernel/linux/linux-5.10/mm/
Dpagewalk.c18 if (depth == 1 && PTRS_PER_P4D == 1) in real_depth()
/kernel/linux/linux-5.10/arch/s390/mm/
Dvmem.c433 for (i = 0; i < PTRS_PER_P4D; i++, p4d++) { in try_free_p4d_table()