Home
last modified time | relevance | path

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

12

/arch/powerpc/include/asm/nohash/64/
Dpgtable-4k.h26 #define PTRS_PER_PUD (1 << PUD_INDEX_SIZE) macro
83 (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)))
/arch/mips/include/asm/
Dpgtable-64.h133 #define PTRS_PER_PUD ((PAGE_SIZE << PUD_ORDER) / sizeof(pud_t)) macro
151 min(PTRS_PER_PGD * PTRS_PER_PUD * PTRS_PER_PMD * PTRS_PER_PTE * PAGE_SIZE, \
186 extern pud_t invalid_pud_table[PTRS_PER_PUD];
214 #define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
323 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
Dpgtable-32.h203 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
/arch/x86/mm/
Dmem_encrypt_identity.c132 memset(pud, 0, sizeof(*pud) * PTRS_PER_PUD); in sme_prepare_pgd()
133 ppd->pgtable_area += sizeof(*pud) * PTRS_PER_PUD; in sme_prepare_pgd()
272 entries += (DIV_ROUND_UP(len, P4D_SIZE) + 1) * sizeof(pud_t) * PTRS_PER_PUD; in sme_pgtable_calc()
283 tables += DIV_ROUND_UP(entries, P4D_SIZE) * sizeof(pud_t) * PTRS_PER_PUD; in sme_pgtable_calc()
Ddump_pagetables.c153 #define P4D_LEVEL_MULT (PTRS_PER_PUD * PUD_LEVEL_MULT)
436 #if PTRS_PER_PUD > 1
447 for (i = 0; i < PTRS_PER_PUD; i++) { in walk_pud_level()
Dkasan_init_64.c286 for (i = 0; i < PTRS_PER_PUD; i++) in kasan_early_init()
/arch/x86/kernel/
Dhead64.c204 pud[(i + 0) % PTRS_PER_PUD] = (pudval_t)pmd + pgtable_flags; in __startup_64()
205 pud[(i + 1) % PTRS_PER_PUD] = (pudval_t)pmd + pgtable_flags; in __startup_64()
347 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]
Dhead_64.S42 #define pud_index(x) (((x) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
/arch/x86/include/asm/
Dpgtable_64_types.h84 #define PTRS_PER_PUD 512 macro
/arch/mips/mm/
Dpgtable-64.c75 end = p + PTRS_PER_PUD; in pud_init()
Dinit.c249 for ( ; (j < PTRS_PER_PUD) && (vaddr < end); pud++, j++) { in fixrange_init()
519 pud_t invalid_pud_table[PTRS_PER_PUD] __page_aligned_bss;
/arch/x86/xen/
Dxen-head.S97 ELFNOTE(Xen, XEN_ELFNOTE_INIT_P2M, .quad (PUD_SIZE * PTRS_PER_PUD))
Dmmu_pv.c100 static pud_t level3_user_vsyscall[PTRS_PER_PUD] __page_aligned_bss;
596 nr = last ? pud_index(limit) + 1 : PTRS_PER_PUD; in xen_pud_walk()
624 if (PTRS_PER_PUD > 1) in xen_p4d_walk()
1195 for (i = 0; i < PTRS_PER_PUD; i++) { in xen_cleanmfnmap_p4d()
2098 for (idx_pmd = 0; idx_pmd < min(n_pmd, PTRS_PER_PUD); in xen_relocate_p2m()
2129 n_pmd -= PTRS_PER_PUD; in xen_relocate_p2m()
/arch/powerpc/mm/book3s64/
Dhash_hugetlbpage.c77 offset = PTRS_PER_PUD; in __hash_page_huge()
Dhash_tlb.c68 offset = PTRS_PER_PUD; in hpte_need_flush()
/arch/csky/mm/
Dhighmem.c139 for ( ; (j < PTRS_PER_PUD) && (vaddr != end); pud++, j++) { in fixrange_init()
/arch/ia64/include/asm/
Dpgtable.h113 #define PTRS_PER_PUD (1UL << (PTRS_PER_PTD_SHIFT)) macro
391 ((pud_t *) pgd_page_vaddr(*(dir)) + (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)))
/arch/arm64/include/asm/
Dpgtable-hwdef.h62 #define PTRS_PER_PUD PTRS_PER_PTE macro
/arch/s390/mm/
Ddump_pagetables.c196 for (i = 0; i < PTRS_PER_PUD && addr < max_addr; i++, pud++) { in walk_pud_level()
/arch/sh/include/asm/
Dpgtable_64.h55 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
/arch/csky/include/asm/
Dpgtable.h236 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
/arch/sh/mm/
Dinit.c182 for ( ; (j < PTRS_PER_PUD) && (vaddr != end); pud++, j++) { in page_table_range_init()
Dfault.c69 if (PTRS_PER_PUD != 1) in show_pte()
/arch/powerpc/mm/ptdump/
Dptdump.c287 for (i = 0; i < PTRS_PER_PUD; i++, pud++) { in walk_pud()

12