Home
last modified time | relevance | path

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

/linux/arch/x86/mm/
A Dmem_encrypt_identity.c125 memset(p4d, 0, sizeof(*p4d) * PTRS_PER_P4D); in sme_prepare_pgd()
126 ppd->pgtable_area += sizeof(*p4d) * PTRS_PER_P4D; in sme_prepare_pgd()
271 if (PTRS_PER_P4D > 1) in sme_pgtable_calc()
272 entries += (DIV_ROUND_UP(len, PGDIR_SIZE) + 1) * sizeof(p4d_t) * PTRS_PER_P4D; in sme_pgtable_calc()
282 if (PTRS_PER_P4D > 1) in sme_pgtable_calc()
283 tables += DIV_ROUND_UP(entries, PGDIR_SIZE) * sizeof(p4d_t) * PTRS_PER_P4D; in sme_pgtable_calc()
A Ddump_pagetables.c156 #define PGD_LEVEL_MULT (PTRS_PER_P4D * P4D_LEVEL_MULT)
A Dkasan_init_64.c312 for (i = 0; pgtable_l5_enabled() && i < PTRS_PER_P4D; i++) in kasan_early_init()
/linux/arch/x86/kernel/
A Dhead64.c217 p4d[(i + 0) % PTRS_PER_P4D] = (pgdval_t)pud + pgtable_flags; in __startup_64()
218 p4d[(i + 1) % PTRS_PER_P4D] = (pgdval_t)pud + pgtable_flags; in __startup_64()
359 memset(p4d_p, 0, sizeof(*p4d_p) * PTRS_PER_P4D); in __early_make_pgtable()
/linux/include/asm-generic/
A Dpgtable-nop4d.h12 #define PTRS_PER_P4D 1 macro
/linux/arch/x86/include/asm/
A Dpgtable_64_types.h63 #define PTRS_PER_P4D ptrs_per_p4d macro
A Dpgtable.h904 return (address >> P4D_SHIFT) & (PTRS_PER_P4D - 1); in p4d_index()
/linux/arch/mips/include/asm/
A Dpgtable-64.h220 #define p4d_index(address) (((address) >> P4D_SHIFT) & (PTRS_PER_P4D - 1))
/linux/arch/sh/mm/
A Dfault.c70 if (PTRS_PER_P4D != 1) in show_pte()
/linux/arch/arm/mm/
A Ddump.c384 for (i = 0; i < PTRS_PER_P4D; i++, p4d++) { in walk_p4d()
/linux/mm/kasan/
A Dinit.c332 for (i = 0; i < PTRS_PER_P4D; i++) { in kasan_free_p4d()
/linux/arch/powerpc/mm/ptdump/
A Dhashpagetable.c439 for (i = 0; i < PTRS_PER_P4D; i++, p4d++) { in walk_p4d()
/linux/arch/s390/mm/
A Dvmem.c435 for (i = 0; i < PTRS_PER_P4D; i++, p4d++) { in try_free_p4d_table()
/linux/mm/
A Dpagewalk.c18 if (depth == 1 && PTRS_PER_P4D == 1) in real_depth()
/linux/arch/s390/include/asm/
A Dpgtable.h343 #define PTRS_PER_P4D _CRST_ENTRIES macro
1233 #define p4d_index(address) (((address) >> P4D_SHIFT) & (PTRS_PER_P4D-1))
/linux/include/linux/
A Dpgtable.h1632 #define MAX_PTRS_PER_P4D PTRS_PER_P4D

Completed in 37 milliseconds