Home
last modified time | relevance | path

Searched refs:PTRS_PER_PUD (Results 1 – 25 of 53) sorted by relevance

123

/Linux-v6.6/arch/mips/include/asm/
Dpgtable-64.h127 #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/
Dmem_encrypt_identity.c135 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/
Dpgtable.h49 #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/
Dkasan_init.c27 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/
Dpgtable-nopud.h19 #define PTRS_PER_PUD 1 macro
/Linux-v6.6/arch/x86/kernel/
Dhead64.c266 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()
Despfix_64.c65 static __page_aligned_bss pud_t espfix_pud_page[PTRS_PER_PUD]
/Linux-v6.6/arch/powerpc/include/asm/nohash/64/
Dpgtable-4k.h26 #define PTRS_PER_PUD (1 << PUD_INDEX_SIZE) macro
/Linux-v6.6/arch/powerpc/mm/kasan/
Dinit_book3s_64.c75 for (i = 0; i < PTRS_PER_PUD; i++) in kasan_init()
Dinit_book3e_64.c100 for (i = 0; i < PTRS_PER_PUD; i++) in kasan_early_init()
/Linux-v6.6/arch/riscv/include/asm/
Dpgtable-64.h62 #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/
Dpgtable-64.c76 end = p + PTRS_PER_PUD; in pud_init()
Dinit.c252 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/
Dpgtable_64_types.h85 #define PTRS_PER_PUD 512 macro
/Linux-v6.6/arch/x86/xen/
Dxen-head.S96 ELFNOTE(Xen, XEN_ELFNOTE_INIT_P2M, .quad (PUD_SIZE * PTRS_PER_PUD))
Dmmu_pv.c107 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/
Dpgtable.c102 end = p + PTRS_PER_PUD; in pud_init()
Dinit.c242 pud_t invalid_pud_table[PTRS_PER_PUD] __page_aligned_bss;
/Linux-v6.6/arch/arc/mm/
Dinit.c190 BUILD_BUG_ON((PTRS_PER_PUD * sizeof(pud_t)) > PAGE_SIZE); in mem_init()
/Linux-v6.6/arch/powerpc/mm/book3s64/
Dhugetlbpage.c72 offset = PTRS_PER_PUD; in __hash_page_huge()
Dhash_tlb.c67 offset = PTRS_PER_PUD; in hpte_need_flush()
/Linux-v6.6/arch/arc/include/asm/
Dpgtable-levels.h77 #define PTRS_PER_PUD BIT(PGDIR_SHIFT - PUD_SHIFT) macro
/Linux-v6.6/arch/arm64/mm/
Dfixmap.c33 static pud_t bm_pud[PTRS_PER_PUD] __page_aligned_bss __maybe_unused;
/Linux-v6.6/arch/csky/mm/
Dinit.c172 for ( ; (j < PTRS_PER_PUD) && (vaddr != end); pud++, j++) { in fixrange_init()
/Linux-v6.6/arch/arm64/include/asm/
Dpgtable-hwdef.h62 #define PTRS_PER_PUD (1 << (PAGE_SHIFT - 3)) macro

123