Searched refs:PTRS_PER_P4D (Results 1 – 21 of 21) sorted by relevance
| /arch/x86/boot/startup/ |
| A D | sme.c | 119 memset(p4d, 0, sizeof(*p4d) * PTRS_PER_P4D); in sme_prepare_pgd() 120 ppd->pgtable_area += sizeof(*p4d) * PTRS_PER_P4D; in sme_prepare_pgd() 265 if (PTRS_PER_P4D > 1) in sme_pgtable_calc() 266 entries += (DIV_ROUND_UP(len, PGDIR_SIZE) + 1) * sizeof(p4d_t) * PTRS_PER_P4D; in sme_pgtable_calc() 276 if (PTRS_PER_P4D > 1) in sme_pgtable_calc() 277 tables += DIV_ROUND_UP(entries, PGDIR_SIZE) * sizeof(p4d_t) * PTRS_PER_P4D; in sme_pgtable_calc()
|
| A D | map_kernel.c | 163 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()
|
| /arch/riscv/mm/ |
| A D | kasan_init.c | 26 static p4d_t tmp_p4d[PTRS_PER_P4D] __page_aligned_bss; 119 p = memblock_alloc_or_panic(PTRS_PER_P4D * sizeof(p4d_t), PAGE_SIZE); in kasan_populate_p4d() 348 for (i = 0; i < PTRS_PER_P4D; ++i) in kasan_early_init() 466 memcpy(tmp_p4d, ptr, sizeof(p4d_t) * PTRS_PER_P4D); in create_tmp_mapping()
|
| A D | init.c | 477 static p4d_t trampoline_p4d[PTRS_PER_P4D] __page_aligned_bss; 478 static p4d_t fixmap_p4d[PTRS_PER_P4D] __page_aligned_bss; 479 static p4d_t early_p4d[PTRS_PER_P4D] __initdata __aligned(PAGE_SIZE);
|
| /arch/x86/include/asm/ |
| A D | pgtable_64_types.h | 55 #define PTRS_PER_P4D ptrs_per_p4d macro
|
| A D | pgtable.h | 1112 return (address >> P4D_SHIFT) & (PTRS_PER_P4D - 1); in p4d_index()
|
| /arch/riscv/include/asm/ |
| A D | pgtable-64.h | 51 #define PTRS_PER_P4D (PAGE_SIZE / sizeof(p4d_t)) macro 394 #define p4d_index(addr) (((addr) >> P4D_SHIFT) & (PTRS_PER_P4D - 1))
|
| /arch/x86/kernel/ |
| A D | head64.c | 108 memset(p4d_p, 0, sizeof(*p4d_p) * PTRS_PER_P4D); in __early_make_pgtable()
|
| /arch/mips/include/asm/ |
| A D | pgtable-64.h | 215 #define p4d_index(address) (((address) >> P4D_SHIFT) & (PTRS_PER_P4D - 1))
|
| /arch/x86/mm/ |
| A D | ident_map.c | 55 for (i = 0; i < PTRS_PER_P4D; i++) { in free_p4d()
|
| A D | kasan_init_64.c | 311 for (i = 0; pgtable_l5_enabled() && i < PTRS_PER_P4D; i++) in kasan_early_init()
|
| A D | dump_pagetables.c | 156 #define PGD_LEVEL_MULT (PTRS_PER_P4D * P4D_LEVEL_MULT)
|
| /arch/arm64/include/asm/ |
| A D | pgtable-hwdef.h | 75 #define PTRS_PER_P4D (1 << PTDESC_TABLE_SHIFT) macro
|
| A D | pgtable.h | 1022 VM_BUG_ON(((addr >> P4D_SHIFT) ^ ((u64)p4dp >> 3)) % PTRS_PER_P4D); in p4d_to_folded_pud() 1145 #define p4d_index(addr) (((addr) >> P4D_SHIFT) & (PTRS_PER_P4D - 1)) 1210 #define p4d_index(addr) (((addr) >> P4D_SHIFT) & (PTRS_PER_P4D - 1))
|
| /arch/sh/mm/ |
| A D | fault.c | 70 if (PTRS_PER_P4D != 1) in show_pte()
|
| /arch/arm/mm/ |
| A D | dump.c | 388 for (i = 0; i < PTRS_PER_P4D; i++, p4d++) { in walk_p4d()
|
| /arch/powerpc/mm/ptdump/ |
| A D | hashpagetable.c | 442 for (i = 0; i < PTRS_PER_P4D; i++, p4d++) { in walk_p4d()
|
| /arch/arm64/mm/ |
| A D | proc.S | 353 kpti_mk_tbl_ng p4d, PTRS_PER_P4D
|
| A D | mmu.c | 1153 for (i = 0; i < PTRS_PER_P4D; i++) { in free_empty_p4d_table()
|
| /arch/s390/mm/ |
| A D | vmem.c | 415 for (i = 0; i < PTRS_PER_P4D; i++, p4d++) { in try_free_p4d_table()
|
| /arch/s390/include/asm/ |
| A D | pgtable.h | 391 #define PTRS_PER_P4D _CRST_ENTRIES macro 1458 #define p4d_index(address) (((address) >> P4D_SHIFT) & (PTRS_PER_P4D-1))
|
Completed in 54 milliseconds