Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/arch/powerpc/mm/
A Dhugetlbpage.c130 else if (pshift > PUD_SHIFT) { in huge_pte_alloc()
137 pdshift = PUD_SHIFT; in huge_pte_alloc()
141 if (pshift == PUD_SHIFT) in huge_pte_alloc()
165 pdshift = PUD_SHIFT; in huge_pte_alloc()
169 if (pshift >= PUD_SHIFT) { in huge_pte_alloc()
441 free_hugepd_range(tlb, (hugepd_t *)pud, PUD_SHIFT, in hugetlb_free_pud_range()
565 else if (shift > PUD_SHIFT) in hugetlbpage_init()
568 pdshift = PUD_SHIFT; in hugetlbpage_init()
572 if (shift < PUD_SHIFT) in hugetlbpage_init()
575 pdshift = PUD_SHIFT; in hugetlbpage_init()
[all …]
/linux-6.3-rc2/arch/powerpc/include/asm/nohash/64/
A 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.3-rc2/arch/arm64/include/asm/
A Dkernel-pgtable.h68 #define EARLY_PUDS(vstart, vend, add) (EARLY_ENTRIES(vstart, vend, PUD_SHIFT, add))
97 #define SWAPPER_TABLE_SHIFT PUD_SHIFT
126 #define ARM64_MEMSTART_SHIFT PUD_SHIFT
A Dpgtable-hwdef.h59 #define PUD_SHIFT ARM64_HW_PGTABLE_LEVEL_SHIFT(1) macro
60 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT)
/linux-6.3-rc2/arch/arc/include/asm/
A 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.3-rc2/include/asm-generic/
A Dpgtable-nopud.h18 #define PUD_SHIFT P4D_SHIFT macro
20 #define PUD_SIZE (1UL << PUD_SHIFT)
A Dpgtable-nopmd.h20 #define PMD_SHIFT PUD_SHIFT
/linux-6.3-rc2/arch/x86/include/asm/
A Dpgtable_64_types.h84 #define PUD_SHIFT 30 macro
101 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT)
A Dpage_types.h41 #define IOREMAP_MAX_ORDER (PUD_SHIFT)
/linux-6.3-rc2/arch/mips/include/asm/
A 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.3-rc2/arch/loongarch/mm/
A Dtlbex.S65 bstrpick.d ra, t0, PTRS_PER_PUD_BITS + PUD_SHIFT - 1, PUD_SHIFT
211 bstrpick.d ra, t0, PTRS_PER_PUD_BITS + PUD_SHIFT - 1, PUD_SHIFT
360 bstrpick.d ra, t0, PTRS_PER_PUD_BITS + PUD_SHIFT - 1, PUD_SHIFT
/linux-6.3-rc2/arch/riscv/include/asm/
A Dpgtable-64.h37 #define PUD_SHIFT 30 macro
38 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT)
302 #define pud_index(addr) (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
A Dvmalloc.h6 #define IOREMAP_MAX_ORDER (PUD_SHIFT)
/linux-6.3-rc2/arch/riscv/mm/
A Dhugetlbpage.c30 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in gigantic_pages_init()
/linux-6.3-rc2/arch/ia64/include/asm/
A Dpgtable.h113 #define PUD_SHIFT (PMD_SHIFT + (PTRS_PER_PTD_SHIFT)) macro
114 #define PUD_SIZE (1UL << PUD_SHIFT)
125 #define PGDIR_SHIFT (PUD_SHIFT + (PTRS_PER_PTD_SHIFT))
/linux-6.3-rc2/arch/loongarch/include/asm/
A 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.3-rc2/arch/x86/mm/
A Dhugetlbpage.c169 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in gigantic_pages_init()
/linux-6.3-rc2/arch/powerpc/kvm/
A Dbook3s_64_mmu_radix.c444 else if (shift == PUD_SHIFT) in kvmppc_unmap_pte()
668 0, pte_val(pte), hgpa, PUD_SHIFT); in kvmppc_create_pte()
681 kvmppc_unmap_pte(kvm, (pte_t *)pud, hgpa, PUD_SHIFT, NULL, in kvmppc_create_pte()
885 if (large_enable && shift == PUD_SHIFT && in kvmppc_book3s_instantiate_page()
1389 shift = PUD_SHIFT; in debugfs_radix_read()
/linux-6.3-rc2/arch/sparc/include/asm/
A Dtsb.h164 sllx VADDR, 64 - (PUD_SHIFT + PUD_BITS), REG2; \
277 sllx VADDR, 64 - (PUD_SHIFT + PUD_BITS), REG2; \
A 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.3-rc2/arch/sparc/mm/
A Dhugetlbpage.c342 shift = PUD_SHIFT; in set_huge_pte_at()
379 shift = PUD_SHIFT; in huge_ptep_get_and_clear()
/linux-6.3-rc2/arch/powerpc/include/asm/book3s/64/
A Dpgtable.h229 #define PUD_SHIFT (PMD_SHIFT + PMD_INDEX_SIZE) macro
230 #define PUD_SIZE (1UL << PUD_SHIFT)
234 #define PGDIR_SHIFT (PUD_SHIFT + PUD_INDEX_SIZE)
268 return PUD_SHIFT; in ioremap_max_order()
/linux-6.3-rc2/arch/arm64/mm/
A Dhugetlbpage.c44 order = PUD_SHIFT - PAGE_SHIFT; in arm64_hugetlb_cma_reserve()
548 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in hugetlbpage_init()
/linux-6.3-rc2/arch/powerpc/mm/nohash/
A 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
1029 rldicl r11,r16,64-(PUD_SHIFT-3),64-PUD_INDEX_SIZE-3
/linux-6.3-rc2/arch/x86/boot/compressed/
A Dkaslr.c540 gb_huge_pages = (pud_end - pud_start) >> PUD_SHIFT; in process_gb_huge_pages()
542 pud_end = pud_start + (max_gb_huge_pages << PUD_SHIFT); in process_gb_huge_pages()

Completed in 55 milliseconds

123