Searched refs:PTRS_PER_P4D (Results 1 – 20 of 20) sorted by relevance
/Linux-v6.6/arch/x86/mm/ |
D | mem_encrypt_identity.c | 127 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()
|
D | dump_pagetables.c | 156 #define PGD_LEVEL_MULT (PTRS_PER_P4D * P4D_LEVEL_MULT)
|
D | kasan_init_64.c | 312 for (i = 0; pgtable_l5_enabled() && i < PTRS_PER_P4D; i++) in kasan_early_init()
|
/Linux-v6.6/arch/riscv/mm/ |
D | kasan_init.c | 26 static p4d_t tmp_p4d[PTRS_PER_P4D] __page_aligned_bss; 117 p = memblock_alloc(PTRS_PER_P4D * sizeof(p4d_t), PAGE_SIZE); in kasan_populate_p4d() 345 for (i = 0; i < PTRS_PER_P4D; ++i) in kasan_early_init() 455 memcpy(tmp_p4d, ptr, sizeof(p4d_t) * PTRS_PER_P4D); in create_tmp_mapping()
|
D | init.c | 392 static p4d_t trampoline_p4d[PTRS_PER_P4D] __page_aligned_bss; 393 static p4d_t fixmap_p4d[PTRS_PER_P4D] __page_aligned_bss; 394 static p4d_t early_p4d[PTRS_PER_P4D] __initdata __aligned(PAGE_SIZE);
|
/Linux-v6.6/include/asm-generic/ |
D | pgtable-nop4d.h | 12 #define PTRS_PER_P4D 1 macro
|
/Linux-v6.6/arch/x86/kernel/ |
D | head64.c | 257 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-v6.6/arch/riscv/include/asm/ |
D | pgtable-64.h | 53 #define PTRS_PER_P4D (PAGE_SIZE / sizeof(p4d_t)) macro 400 #define p4d_index(addr) (((addr) >> P4D_SHIFT) & (PTRS_PER_P4D - 1))
|
/Linux-v6.6/arch/x86/include/asm/ |
D | pgtable_64_types.h | 64 #define PTRS_PER_P4D ptrs_per_p4d macro
|
D | pgtable.h | 1142 return (address >> P4D_SHIFT) & (PTRS_PER_P4D - 1); in p4d_index()
|
/Linux-v6.6/arch/mips/include/asm/ |
D | pgtable-64.h | 215 #define p4d_index(address) (((address) >> P4D_SHIFT) & (PTRS_PER_P4D - 1))
|
/Linux-v6.6/arch/sh/mm/ |
D | fault.c | 70 if (PTRS_PER_P4D != 1) in show_pte()
|
/Linux-v6.6/mm/kasan/ |
D | init.c | 342 for (i = 0; i < PTRS_PER_P4D; i++) { in kasan_free_p4d()
|
/Linux-v6.6/arch/arm/mm/ |
D | dump.c | 388 for (i = 0; i < PTRS_PER_P4D; i++, p4d++) { in walk_p4d()
|
/Linux-v6.6/arch/powerpc/mm/ptdump/ |
D | hashpagetable.c | 442 for (i = 0; i < PTRS_PER_P4D; i++, p4d++) { in walk_p4d()
|
/Linux-v6.6/mm/ |
D | pagewalk.c | 18 if (depth == 1 && PTRS_PER_P4D == 1) in real_depth()
|
/Linux-v6.6/arch/s390/mm/ |
D | vmem.c | 409 for (i = 0; i < PTRS_PER_P4D; i++, p4d++) { in try_free_p4d_table()
|
/Linux-v6.6/Documentation/mm/ |
D | page_tables.rst | 126 contains `PTRS_PER_P4D` pointers to **pud** items and so on. The number of
|
/Linux-v6.6/arch/s390/include/asm/ |
D | pgtable.h | 350 #define PTRS_PER_P4D _CRST_ENTRIES macro 1372 #define p4d_index(address) (((address) >> P4D_SHIFT) & (PTRS_PER_P4D-1))
|
/Linux-v6.6/include/linux/ |
D | pgtable.h | 1672 #define MAX_PTRS_PER_P4D PTRS_PER_P4D
|