Home
last modified time | relevance | path

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

12

/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)
83 (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)))
/arch/riscv/mm/
Dhugetlbpage.c24 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in setup_hugepagesz()
39 if (IS_ENABLED(CONFIG_64BIT) && !size_to_hstate(1UL << PUD_SHIFT)) in gigantic_pages_init()
40 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in gigantic_pages_init()
/arch/arm64/include/asm/
Dkernel-pgtable.h74 #define EARLY_PUDS(vstart, vend) (EARLY_ENTRIES(vstart, vend, PUD_SHIFT))
102 #define SWAPPER_TABLE_SHIFT PUD_SHIFT
132 #define ARM64_MEMSTART_SHIFT PUD_SHIFT
Dpgtable-hwdef.h59 #define PUD_SHIFT ARM64_HW_PGTABLE_LEVEL_SHIFT(1) macro
60 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT)
Dmemory.h169 #define IOREMAP_MAX_ORDER (PUD_SHIFT)
/arch/powerpc/mm/
Dhugetlbpage.c129 else if (pshift > PUD_SHIFT) { in huge_pte_alloc()
136 pdshift = PUD_SHIFT; in huge_pte_alloc()
140 if (pshift == PUD_SHIFT) in huge_pte_alloc()
164 pdshift = PUD_SHIFT; in huge_pte_alloc()
168 if (pshift >= PUD_SHIFT) { in huge_pte_alloc()
416 free_hugepd_range(tlb, (hugepd_t *)pud, PUD_SHIFT, in hugetlb_free_pud_range()
621 else if (shift > PUD_SHIFT) in hugetlbpage_init()
624 pdshift = PUD_SHIFT; in hugetlbpage_init()
628 if (shift < PUD_SHIFT) in hugetlbpage_init()
631 pdshift = PUD_SHIFT; in hugetlbpage_init()
Dpgtable.c354 pdshift = PUD_SHIFT; in __find_linux_pte()
/arch/x86/include/asm/
Dpage_types.h17 #define PUD_PAGE_SIZE (_AC(1, UL) << PUD_SHIFT)
49 #define IOREMAP_MAX_ORDER (PUD_SHIFT)
Dpgtable_64_types.h83 #define PUD_SHIFT 30 macro
100 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT)
/arch/mips/include/asm/
Dpgtable-64.h60 #define PUD_SHIFT (PMD_SHIFT + (PAGE_SHIFT + PMD_ORDER - 3)) macro
61 #define PUD_SIZE (1UL << PUD_SHIFT)
63 #define PGDIR_SHIFT (PUD_SHIFT + (PAGE_SHIFT + PUD_ORDER - 3))
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.h200 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
/arch/x86/mm/
Dhugetlbpage.c195 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in setup_hugepagesz()
210 if (boot_cpu_has(X86_FEATURE_GBPAGES) && !size_to_hstate(1UL << PUD_SHIFT)) in gigantic_pages_init()
211 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in gigantic_pages_init()
/arch/ia64/include/asm/
Dpgtable.h110 #define PUD_SHIFT (PMD_SHIFT + (PTRS_PER_PTD_SHIFT)) macro
111 #define PUD_SIZE (1UL << PUD_SHIFT)
122 #define PGDIR_SHIFT (PUD_SHIFT + (PTRS_PER_PTD_SHIFT))
391 ((pud_t *) pgd_page_vaddr(*(dir)) + (((addr) >> PUD_SHIFT) & (PTRS_PER_PUD - 1)))
/arch/powerpc/include/asm/book3s/64/
Dpgtable.h240 #define PUD_SHIFT (PMD_SHIFT + PMD_INDEX_SIZE) macro
241 #define PUD_SIZE (1UL << PUD_SHIFT)
245 #define PGDIR_SHIFT (PUD_SHIFT + PUD_INDEX_SIZE)
279 return PUD_SHIFT; in ioremap_max_order()
1002 #define pud_index(address) (((address) >> (PUD_SHIFT)) & (PTRS_PER_PUD - 1))
/arch/sparc/include/asm/
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)
898 #define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
Dtsb.h164 sllx VADDR, 64 - (PUD_SHIFT + PUD_BITS), REG2; \
277 sllx VADDR, 64 - (PUD_SHIFT + PUD_BITS), REG2; \
/arch/powerpc/kvm/
Dbook3s_64_mmu_radix.c402 else if (shift == PUD_SHIFT) in kvmppc_unmap_pte()
619 0, pte_val(pte), hgpa, PUD_SHIFT); in kvmppc_create_pte()
632 kvmppc_unmap_pte(kvm, (pte_t *)pud, hgpa, PUD_SHIFT, NULL, in kvmppc_create_pte()
835 if (large_enable && shift == PUD_SHIFT && in kvmppc_book3s_instantiate_page()
1286 shift = PUD_SHIFT; in debugfs_radix_read()
/arch/sparc/mm/
Dhugetlbpage.c331 shift = PUD_SHIFT; in set_huge_pte_at()
368 shift = PUD_SHIFT; in huge_ptep_get_and_clear()
/arch/s390/mm/
Dhugetlbpage.c260 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in setup_hugepagesz()
Dkasan_init.c376 (KASAN_SHADOW_SIZE >> PUD_SHIFT) * sizeof(pud_t)); in kasan_copy_shadow()
/arch/powerpc/mm/nohash/
Dtlb_low_64e.S162 rldicl r15,r16,64-PUD_SHIFT+3,64-PUD_INDEX_SIZE-3
406 rldicl r15,r16,64-PUD_SHIFT+3,64-PUD_INDEX_SIZE-3
1083 rldicl r11,r16,64-(PUD_SHIFT-3),64-PUD_INDEX_SIZE-3
/arch/sh/include/asm/
Dpgtable_64.h55 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
/arch/x86/kernel/
Dhead_64.S42 #define pud_index(x) (((x) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
Dhead64.c203 i = physaddr >> PUD_SHIFT; in __startup_64()
/arch/csky/include/asm/
Dpgtable.h236 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))

12