/Linux-v6.6/arch/mips/include/asm/ |
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-v6.6/arch/x86/mm/ |
D | mem_encrypt_identity.c | 135 memset(pud, 0, sizeof(*pud) * PTRS_PER_PUD); in sme_prepare_pgd() 136 ppd->pgtable_area += sizeof(*pud) * PTRS_PER_PUD; in sme_prepare_pgd() 275 entries += (DIV_ROUND_UP(len, P4D_SIZE) + 1) * sizeof(pud_t) * PTRS_PER_PUD; in sme_pgtable_calc() 286 tables += DIV_ROUND_UP(entries, P4D_SIZE) * sizeof(pud_t) * PTRS_PER_PUD; in sme_pgtable_calc()
|
/Linux-v6.6/arch/loongarch/include/asm/ |
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… 130 extern pud_t invalid_pud_table[PTRS_PER_PUD];
|
/Linux-v6.6/arch/riscv/mm/ |
D | kasan_init.c | 27 static pud_t tmp_pud[PTRS_PER_PUD] __page_aligned_bss; 87 p = memblock_alloc(PTRS_PER_PUD * sizeof(pud_t), PAGE_SIZE); in kasan_populate_pud() 337 for (i = 0; i < PTRS_PER_PUD; ++i) in kasan_early_init() 466 memcpy(tmp_pud, ptr, sizeof(pud_t) * PTRS_PER_PUD); in create_tmp_mapping()
|
/Linux-v6.6/include/asm-generic/ |
D | pgtable-nopud.h | 19 #define PTRS_PER_PUD 1 macro
|
/Linux-v6.6/arch/x86/kernel/ |
D | head64.c | 266 pud[(i + 0) % PTRS_PER_PUD] = (pudval_t)pmd + pgtable_flags; in __startup_64() 267 pud[(i + 1) % PTRS_PER_PUD] = (pudval_t)pmd + pgtable_flags; in __startup_64() 378 memset(pud_p, 0, sizeof(*pud_p) * PTRS_PER_PUD); in __early_make_pgtable()
|
D | espfix_64.c | 65 static __page_aligned_bss pud_t espfix_pud_page[PTRS_PER_PUD]
|
/Linux-v6.6/arch/powerpc/include/asm/nohash/64/ |
D | pgtable-4k.h | 26 #define PTRS_PER_PUD (1 << PUD_INDEX_SIZE) macro
|
/Linux-v6.6/arch/powerpc/mm/kasan/ |
D | init_book3s_64.c | 75 for (i = 0; i < PTRS_PER_PUD; i++) in kasan_init()
|
D | init_book3e_64.c | 100 for (i = 0; i < PTRS_PER_PUD; i++) in kasan_early_init()
|
/Linux-v6.6/arch/riscv/include/asm/ |
D | pgtable-64.h | 62 #define PTRS_PER_PUD (PAGE_SIZE / sizeof(pud_t)) macro 336 #define pud_index(addr) (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
|
/Linux-v6.6/arch/mips/mm/ |
D | pgtable-64.c | 76 end = p + PTRS_PER_PUD; in pud_init()
|
D | init.c | 252 for ( ; (j < PTRS_PER_PUD) && (vaddr < end); pud++, j++) { in fixrange_init() 568 pud_t invalid_pud_table[PTRS_PER_PUD] __page_aligned_bss;
|
/Linux-v6.6/arch/x86/include/asm/ |
D | pgtable_64_types.h | 85 #define PTRS_PER_PUD 512 macro
|
/Linux-v6.6/arch/x86/xen/ |
D | xen-head.S | 96 ELFNOTE(Xen, XEN_ELFNOTE_INIT_P2M, .quad (PUD_SIZE * PTRS_PER_PUD))
|
D | mmu_pv.c | 107 static pud_t level3_user_vsyscall[PTRS_PER_PUD] __page_aligned_bss; 574 nr = last ? pud_index(limit) + 1 : PTRS_PER_PUD; in xen_pud_walk() 600 if (PTRS_PER_PUD > 1) in xen_p4d_walk() 1114 for (i = 0; i < PTRS_PER_PUD; i++) { in xen_cleanmfnmap_p4d() 1932 for (idx_pmd = 0; idx_pmd < min(n_pmd, PTRS_PER_PUD); in xen_relocate_p2m() 1963 n_pmd -= PTRS_PER_PUD; in xen_relocate_p2m()
|
/Linux-v6.6/arch/loongarch/mm/ |
D | pgtable.c | 102 end = p + PTRS_PER_PUD; in pud_init()
|
D | init.c | 242 pud_t invalid_pud_table[PTRS_PER_PUD] __page_aligned_bss;
|
/Linux-v6.6/arch/arc/mm/ |
D | init.c | 190 BUILD_BUG_ON((PTRS_PER_PUD * sizeof(pud_t)) > PAGE_SIZE); in mem_init()
|
/Linux-v6.6/arch/powerpc/mm/book3s64/ |
D | hugetlbpage.c | 72 offset = PTRS_PER_PUD; in __hash_page_huge()
|
D | hash_tlb.c | 67 offset = PTRS_PER_PUD; in hpte_need_flush()
|
/Linux-v6.6/arch/arc/include/asm/ |
D | pgtable-levels.h | 77 #define PTRS_PER_PUD BIT(PGDIR_SHIFT - PUD_SHIFT) macro
|
/Linux-v6.6/arch/arm64/mm/ |
D | fixmap.c | 33 static pud_t bm_pud[PTRS_PER_PUD] __page_aligned_bss __maybe_unused;
|
/Linux-v6.6/arch/csky/mm/ |
D | init.c | 172 for ( ; (j < PTRS_PER_PUD) && (vaddr != end); pud++, j++) { in fixrange_init()
|
/Linux-v6.6/arch/arm64/include/asm/ |
D | pgtable-hwdef.h | 62 #define PTRS_PER_PUD (1 << (PAGE_SHIFT - 3)) macro
|