| /linux-6.15/arch/x86/kernel/ |
| H A D | head64.c | 194 RIP_REL_REF(level3_kernel_pgt)[PTRS_PER_PUD - 2].pud += load_delta; in __startup_64() 195 RIP_REL_REF(level3_kernel_pgt)[PTRS_PER_PUD - 1].pud += load_delta; in __startup_64() 230 pud[(i + 0) % PTRS_PER_PUD] = (pudval_t)pmd + pgtable_flags; in __startup_64() 231 pud[(i + 1) % PTRS_PER_PUD] = (pudval_t)pmd + pgtable_flags; in __startup_64() 335 memset(pud_p, 0, sizeof(*pud_p) * PTRS_PER_PUD); in __early_make_pgtable()
|
| H A D | espfix_64.c | 65 static __page_aligned_bss pud_t espfix_pud_page[PTRS_PER_PUD]
|
| /linux-6.15/arch/mips/include/asm/ |
| H A D | pgtable-64.h | 127 #define PTRS_PER_PUD ((PAGE_SIZE << PUD_TABLE_ORDER) / sizeof(pud_t)) macro 144 min(PTRS_PER_PGD * PTRS_PER_PUD * PTRS_PER_PMD * PTRS_PER_PTE * PAGE_SIZE, \ 179 extern pud_t invalid_pud_table[PTRS_PER_PUD];
|
| /linux-6.15/arch/x86/mm/ |
| H A D | mem_encrypt_identity.c | 129 memset(pud, 0, sizeof(*pud) * PTRS_PER_PUD); in sme_prepare_pgd() 130 ppd->pgtable_area += sizeof(*pud) * PTRS_PER_PUD; in sme_prepare_pgd() 269 entries += (DIV_ROUND_UP(len, P4D_SIZE) + 1) * sizeof(pud_t) * PTRS_PER_PUD; in sme_pgtable_calc() 280 tables += DIV_ROUND_UP(entries, P4D_SIZE) * sizeof(pud_t) * PTRS_PER_PUD; in sme_pgtable_calc()
|
| /linux-6.15/arch/loongarch/include/asm/ |
| H A D | pgtable.h | 49 #define PTRS_PER_PUD (PAGE_SIZE >> 3) macro 96 …min(PTRS_PER_PGD * PTRS_PER_PUD * PTRS_PER_PMD * PTRS_PER_PTE * PAGE_SIZE, (1UL << cpu_vabits)) - … 100 …min(PTRS_PER_PGD * PTRS_PER_PUD * PTRS_PER_PMD * PTRS_PER_PTE * PAGE_SIZE, (1UL << cpu_vabits) / 2… 133 extern pud_t invalid_pud_table[PTRS_PER_PUD];
|
| /linux-6.15/arch/riscv/mm/ |
| H A D | kasan_init.c | 27 static pud_t tmp_pud[PTRS_PER_PUD] __page_aligned_bss; 88 p = memblock_alloc_or_panic(PTRS_PER_PUD * sizeof(pud_t), PAGE_SIZE); in kasan_populate_pud() 340 for (i = 0; i < PTRS_PER_PUD; ++i) in kasan_early_init() 477 memcpy(tmp_pud, ptr, sizeof(pud_t) * PTRS_PER_PUD); in create_tmp_mapping()
|
| /linux-6.15/include/asm-generic/ |
| H A D | pgtable-nopud.h | 19 #define PTRS_PER_PUD 1 macro
|
| /linux-6.15/arch/powerpc/include/asm/nohash/64/ |
| H A D | pgtable-4k.h | 26 #define PTRS_PER_PUD (1 << PUD_INDEX_SIZE) macro
|
| /linux-6.15/arch/powerpc/mm/kasan/ |
| H A D | init_book3s_64.c | 75 for (i = 0; i < PTRS_PER_PUD; i++) in kasan_init()
|
| H A D | init_book3e_64.c | 100 for (i = 0; i < PTRS_PER_PUD; i++) in kasan_early_init()
|
| /linux-6.15/arch/riscv/include/asm/ |
| H A D | pgtable-64.h | 60 #define PTRS_PER_PUD (PAGE_SIZE / sizeof(pud_t)) macro 338 #define pud_index(addr) (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
|
| /linux-6.15/arch/mips/mm/ |
| H A D | pgtable-64.c | 76 end = p + PTRS_PER_PUD; in pud_init()
|
| H A D | init.c | 246 for ( ; (j < PTRS_PER_PUD) && (vaddr < end); pud++, j++) { in fixrange_init() 539 pud_t invalid_pud_table[PTRS_PER_PUD] __page_aligned_bss;
|
| /linux-6.15/arch/x86/include/asm/ |
| H A D | pgtable_64_types.h | 85 #define PTRS_PER_PUD 512 macro
|
| H A D | pgtable_64.h | 276 #define pud_index(x) (((x) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
|
| /linux-6.15/arch/arc/mm/ |
| H A D | init.c | 167 BUILD_BUG_ON((PTRS_PER_PUD * sizeof(pud_t)) > PAGE_SIZE); in arch_mm_preinit()
|
| /linux-6.15/arch/um/include/asm/ |
| H A D | pgtable-4level.h | 40 #define PTRS_PER_PUD 512 macro
|
| /linux-6.15/arch/loongarch/mm/ |
| H A D | pgtable.c | 101 end = p + PTRS_PER_PUD; in pud_init()
|
| H A D | init.c | 227 pud_t invalid_pud_table[PTRS_PER_PUD] __page_aligned_bss;
|
| /linux-6.15/arch/powerpc/mm/book3s64/ |
| H A D | hugetlbpage.c | 82 offset = PTRS_PER_PUD; in __hash_page_huge()
|
| H A D | hash_tlb.c | 67 offset = PTRS_PER_PUD; in hpte_need_flush()
|
| /linux-6.15/arch/x86/xen/ |
| H A D | xen-head.S | 152 ELFNOTE(Xen, XEN_ELFNOTE_INIT_P2M, .quad (PUD_SIZE * PTRS_PER_PUD))
|
| /linux-6.15/arch/csky/mm/ |
| H A D | init.c | 105 for ( ; (j < PTRS_PER_PUD) && (vaddr != end); pud++, j++) { in fixrange_init()
|
| /linux-6.15/arch/arm64/mm/ |
| H A D | fixmap.c | 36 static pud_t bm_pud[PTRS_PER_PUD] __page_aligned_bss __maybe_unused;
|
| /linux-6.15/arch/arc/include/asm/ |
| H A D | pgtable-levels.h | 77 #define PTRS_PER_PUD BIT(PGDIR_SHIFT - PUD_SHIFT) macro
|