Home
last modified time | relevance | path

Searched refs:PUD_SHIFT (Results 1 – 25 of 51) sorted by relevance

123

/linux-6.12.1/arch/powerpc/include/asm/nohash/64/
Dpgtable-4k.h35 #define PUD_SHIFT (PMD_SHIFT + PMD_INDEX_SIZE) macro
36 #define PUD_SIZE (1UL << PUD_SHIFT)
40 #define PGDIR_SHIFT (PUD_SHIFT + PUD_INDEX_SIZE)
/linux-6.12.1/arch/arc/include/asm/
Dpgtable-levels.h62 #define PUD_SHIFT 25 macro
75 #define PUD_SIZE BIT(PUD_SHIFT)
77 #define PTRS_PER_PUD BIT(PGDIR_SHIFT - PUD_SHIFT)
83 #define PTRS_PER_PMD BIT(PUD_SHIFT - PMD_SHIFT)
/linux-6.12.1/include/asm-generic/
Dpgtable-nopud.h18 #define PUD_SHIFT P4D_SHIFT macro
20 #define PUD_SIZE (1UL << PUD_SHIFT)
Dpgtable-nopmd.h20 #define PMD_SHIFT PUD_SHIFT
/linux-6.12.1/arch/x86/include/asm/
Dpgtable_64_types.h84 #define PUD_SHIFT 30 macro
101 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT)
Dpage_types.h43 #define IOREMAP_MAX_ORDER (PUD_SHIFT)
Dpgtable_64.h276 #define pud_index(x) (((x) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
/linux-6.12.1/arch/mips/include/asm/
Dpgtable-64.h59 #define PUD_SHIFT (PMD_SHIFT + (PAGE_SHIFT + PMD_TABLE_ORDER - 3)) macro
60 #define PUD_SIZE (1UL << PUD_SHIFT)
62 #define PGDIR_SHIFT (PUD_SHIFT + (PAGE_SHIFT + PUD_TABLE_ORDER - 3))
/linux-6.12.1/arch/loongarch/mm/
Dtlbex.S67 bstrpick.d ra, t0, PTRS_PER_PUD_BITS + PUD_SHIFT - 1, PUD_SHIFT
223 bstrpick.d ra, t0, PTRS_PER_PUD_BITS + PUD_SHIFT - 1, PUD_SHIFT
382 bstrpick.d ra, t0, PTRS_PER_PUD_BITS + PUD_SHIFT - 1, PUD_SHIFT
/linux-6.12.1/arch/riscv/include/asm/
Dpgtable-64.h35 #define PUD_SHIFT 30 macro
36 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT)
338 #define pud_index(addr) (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
Dvmalloc.h9 #define IOREMAP_MAX_ORDER (PUD_SHIFT)
/linux-6.12.1/arch/arm64/include/asm/
Dpgtable-hwdef.h59 #define PUD_SHIFT ARM64_HW_PGTABLE_LEVEL_SHIFT(1) macro
60 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT)
/linux-6.12.1/arch/loongarch/include/asm/
Dpgtable.h36 #define PUD_SHIFT (PMD_SHIFT + (PAGE_SHIFT - 3)) macro
37 #define PUD_SIZE (1UL << PUD_SHIFT)
39 #define PGDIR_SHIFT (PUD_SHIFT + (PAGE_SHIFT - 3))
/linux-6.12.1/arch/x86/mm/
Dhugetlbpage.c140 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in gigantic_pages_init()
/linux-6.12.1/arch/riscv/mm/
Dhugetlbpage.c237 hugepage_shift = PUD_SHIFT; in set_huge_pte_at()
431 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in gigantic_pages_init()
/linux-6.12.1/arch/powerpc/mm/
Dhugetlbpage.c207 order = PUD_SHIFT - PAGE_SHIFT; in gigantic_hugetlb_cma_reserve()
/linux-6.12.1/arch/sparc/include/asm/
Dtsb.h164 sllx VADDR, 64 - (PUD_SHIFT + PUD_BITS), REG2; \
277 sllx VADDR, 64 - (PUD_SHIFT + PUD_BITS), REG2; \
Dpgtable_64.h59 #define PUD_SHIFT (PMD_SHIFT + PMD_BITS) macro
60 #define PUD_SIZE (_AC(1,UL) << PUD_SHIFT)
65 #define PGDIR_SHIFT (PUD_SHIFT + PUD_BITS)
/linux-6.12.1/arch/arm64/mm/
Dfixmap.c25 SPAN_NR_ENTRIES(FIXADDR_TOT_START, FIXADDR_TOP, PUD_SHIFT)
Dhugetlbpage.c44 order = PUD_SHIFT - PAGE_SHIFT; in arm64_hugetlb_cma_reserve()
512 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in hugetlbpage_init()
/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_64_mmu_radix.c450 else if (shift == PUD_SHIFT) in kvmppc_unmap_pte()
674 0, pte_val(pte), hgpa, PUD_SHIFT); in kvmppc_create_pte()
687 kvmppc_unmap_pte(kvm, (pte_t *)pud, hgpa, PUD_SHIFT, NULL, in kvmppc_create_pte()
891 if (large_enable && shift == PUD_SHIFT && in kvmppc_book3s_instantiate_page()
1400 shift = PUD_SHIFT; in debugfs_radix_read()
/linux-6.12.1/arch/sparc/mm/
Dhugetlbpage.c339 shift = PUD_SHIFT; in __set_huge_pte_at()
382 shift = PUD_SHIFT; in huge_ptep_get_and_clear()
/linux-6.12.1/arch/powerpc/include/asm/book3s/64/
Dpgtable.h212 #define PUD_SHIFT (PMD_SHIFT + PMD_INDEX_SIZE) macro
213 #define PUD_SIZE (1UL << PUD_SHIFT)
217 #define PGDIR_SHIFT (PUD_SHIFT + PUD_INDEX_SIZE)
251 return PUD_SHIFT; in ioremap_max_order()
/linux-6.12.1/arch/x86/boot/compressed/
Dkaslr.c515 gb_huge_pages = (pud_end - pud_start) >> PUD_SHIFT; in process_gb_huge_pages()
517 pud_end = pud_start + (max_gb_huge_pages << PUD_SHIFT); in process_gb_huge_pages()
/linux-6.12.1/arch/powerpc/mm/nohash/
Dtlb_low_64e.S153 rldicl r15,r16,64-PUD_SHIFT+3,64-PUD_INDEX_SIZE-3
391 rldicl r15,r16,64-PUD_SHIFT+3,64-PUD_INDEX_SIZE-3

123