Home
last modified time | relevance | path

Searched refs:PUD_SHIFT (Results 1 – 25 of 33) 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/arm64/include/asm/
Dkernel-pgtable.h68 #define SWAPPER_TABLE_SHIFT PUD_SHIFT
98 #define ARM64_MEMSTART_SHIFT PUD_SHIFT
Dpgtable-hwdef.h68 #define PUD_SHIFT ARM64_HW_PGTABLE_LEVEL_SHIFT(1) macro
69 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT)
Dmemory.h164 #define IOREMAP_MAX_ORDER (PUD_SHIFT)
/arch/x86/include/asm/
Dpage_types.h17 #define PUD_PAGE_SIZE (_AC(1, UL) << PUD_SHIFT)
50 #define IOREMAP_MAX_ORDER (PUD_SHIFT)
Dpgtable_64_types.h56 #define PUD_SHIFT 30 macro
73 #define PUD_SIZE (_AC(1, UL) << PUD_SHIFT)
/arch/mips/include/asm/
Dpgtable-64.h65 #define PUD_SHIFT (PMD_SHIFT + (PAGE_SHIFT + PMD_ORDER - 3)) macro
66 #define PUD_SIZE (1UL << PUD_SHIFT)
68 #define PGDIR_SHIFT (PUD_SHIFT + (PAGE_SHIFT + PUD_ORDER - 3))
220 #define pud_index(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD - 1))
329 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
Dpgtable-32.h155 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
/arch/x86/mm/
Dhugetlbpage.c190 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in setup_hugepagesz()
205 if (boot_cpu_has(X86_FEATURE_GBPAGES) && !size_to_hstate(1UL << PUD_SHIFT)) in gigantic_pages_init()
206 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in gigantic_pages_init()
/arch/powerpc/mm/
Dhugetlbpage.c127 #define HUGEPD_PUD_SHIFT PUD_SHIFT
129 #define HUGEPD_PGD_SHIFT PUD_SHIFT
153 else if (pshift > PUD_SHIFT) in huge_pte_alloc()
159 pdshift = PUD_SHIFT; in huge_pte_alloc()
161 if (pshift == PUD_SHIFT) in huge_pte_alloc()
179 pdshift = PUD_SHIFT; in huge_pte_alloc()
420 free_hugepd_range(tlb, (hugepd_t *)pud, PUD_SHIFT, in hugetlb_free_pud_range()
679 pdshift = PUD_SHIFT; in hugetlbpage_init()
798 pdshift = PUD_SHIFT; in __find_linux_pte()
Dtlb_low_64e.S170 rldicl r15,r16,64-PUD_SHIFT+3,64-PUD_INDEX_SIZE-3
415 rldicl r15,r16,64-PUD_SHIFT+3,64-PUD_INDEX_SIZE-3
1110 rldicl r11,r16,64-(PUD_SHIFT-3),64-PUD_INDEX_SIZE-3
/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/tile/include/asm/
Dpgtable_64.h125 return (address >> PUD_SHIFT) & (PTRS_PER_PUD - 1); in pud_index()
/arch/sparc/include/asm/
Dpgtable_64.h58 #define PUD_SHIFT (PMD_SHIFT + PMD_BITS) macro
59 #define PUD_SIZE (_AC(1,UL) << PUD_SHIFT)
64 #define PGDIR_SHIFT (PUD_SHIFT + PUD_BITS)
883 #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/frv/include/asm/
Dpgtable.h128 #define PUD_SHIFT 26 macro
130 #define PUD_SIZE (1UL << PUD_SHIFT)
/arch/powerpc/include/asm/book3s/64/
Dpgtable.h253 #define PUD_SHIFT (PMD_SHIFT + PMD_INDEX_SIZE) macro
254 #define PUD_SIZE (1UL << PUD_SHIFT)
258 #define PGDIR_SHIFT (PUD_SHIFT + PUD_INDEX_SIZE)
902 #define pud_index(address) (((address) >> (PUD_SHIFT)) & (PTRS_PER_PUD - 1))
/arch/sparc/mm/
Dhugetlbpage.c319 shift = PUD_SHIFT; in set_huge_pte_at()
356 shift = PUD_SHIFT; in huge_ptep_get_and_clear()
/arch/score/include/asm/
Dpgtable.h73 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
/arch/x86/kernel/
Dhead64.c129 i = physaddr >> PUD_SHIFT; in __startup_64()
Dhead_64.S43 #define pud_index(x) (((x) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
/arch/sh/include/asm/
Dpgtable_64.h58 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
Dpgtable_32.h415 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
/arch/tile/mm/
Dhugetlbpage.c275 base_shift = PUD_SHIFT; in __setup_hugepagesz()
/arch/s390/mm/
Dhugetlbpage.c239 hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT); in setup_hugepagesz()

12