Home
last modified time | relevance | path

Searched refs:HPAGE_SHIFT (Results 1 – 20 of 20) sorted by relevance

/arch/sh/include/asm/
Dpage.h29 #define HPAGE_SHIFT 16 macro
31 #define HPAGE_SHIFT 18 macro
33 #define HPAGE_SHIFT 20 macro
35 #define HPAGE_SHIFT 22 macro
37 #define HPAGE_SHIFT 26 macro
39 #define HPAGE_SHIFT 29 macro
43 #define HPAGE_SIZE (1UL << HPAGE_SHIFT)
45 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT-PAGE_SHIFT)
/arch/powerpc/include/asm/
Dpage.h28 #define HPAGE_SHIFT PAGE_SHIFT macro
31 #define HPAGE_SHIFT hpage_shift macro
33 #define HPAGE_SHIFT 19 /* 512k pages */ macro
35 #define HPAGE_SHIFT 22 /* 4M pages */ macro
37 #define HPAGE_SIZE ((1UL) << HPAGE_SHIFT)
39 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
/arch/x86/include/asm/
Dpage_types.h29 #define HPAGE_SHIFT PMD_SHIFT macro
30 #define HPAGE_SIZE (_AC(1,UL) << HPAGE_SHIFT)
32 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
/arch/hexagon/include/asm/
Dpage.h46 #define HPAGE_SHIFT 22 macro
47 #define HPAGE_SIZE (1UL << HPAGE_SHIFT)
49 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT-PAGE_SHIFT)
/arch/sparc/include/asm/
Dpage_64.h19 #define HPAGE_SHIFT 23 macro
28 #define HPAGE_SIZE (_AC(1,UL) << HPAGE_SHIFT)
30 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
32 #define REAL_HPAGE_PER_HPAGE (_AC(1,UL) << (HPAGE_SHIFT - REAL_HPAGE_SHIFT))
Dpgtable_64.h78 #if (PMD_SHIFT != HPAGE_SHIFT)
79 #error PMD_SHIFT must equal HPAGE_SHIFT for transparent huge pages.
/arch/mips/include/asm/
Dpage.h62 #define HPAGE_SHIFT (PAGE_SHIFT + PAGE_SHIFT - 3) macro
63 #define HPAGE_SIZE (_AC(1,UL) << HPAGE_SHIFT)
65 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
67 #define HPAGE_SHIFT ({BUILD_BUG(); 0; }) macro
/arch/riscv/include/asm/
Dpage.h24 #define HPAGE_SHIFT PMD_SHIFT macro
25 #define HPAGE_SIZE (_AC(1, UL) << HPAGE_SHIFT)
27 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
/arch/ia64/include/asm/
Dpage.h51 # define HPAGE_SHIFT hpage_shift macro
53 # define HPAGE_SIZE (__IA64_UL_CONST(1) << HPAGE_SHIFT)
152 | (REGION_OFFSET(x) >> (HPAGE_SHIFT-PAGE_SHIFT)))
153 # define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
Dpgtable.h494 #define HUGETLB_PGDIR_SHIFT (HPAGE_SHIFT + 2*(PAGE_SHIFT-3))
/arch/parisc/include/asm/
Dpage.h155 #define HPAGE_SHIFT PMD_SHIFT /* fixed for transparent huge pages */ macro
156 #define HPAGE_SIZE ((1UL) << HPAGE_SHIFT)
158 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
/arch/s390/include/asm/
Dpage.h25 #define HPAGE_SHIFT 20 macro
26 #define HPAGE_SIZE (1UL << HPAGE_SHIFT)
28 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
/arch/riscv/mm/
Dhugetlbpage.c22 hugetlb_add_hstate(HPAGE_SHIFT - PAGE_SHIFT); in setup_hugepagesz()
/arch/arm/include/asm/
Dpgtable-3level.h57 #define HPAGE_SHIFT PMD_SHIFT macro
58 #define HPAGE_SIZE (_AC(1, UL) << HPAGE_SHIFT)
60 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
/arch/parisc/mm/
Dhugetlbpage.c105 BUILD_BUG_ON(REAL_HPAGE_SHIFT > HPAGE_SHIFT); in purge_tlb_entries_huge()
110 for (i = 0; i < (1 << (HPAGE_SHIFT-REAL_HPAGE_SHIFT)); i++) { in purge_tlb_entries_huge()
/arch/parisc/kernel/
Dsetup.c117 1 << (REAL_HPAGE_SHIFT - 20), 1 << (HPAGE_SHIFT - 20)); in setup_arch()
/arch/arm64/include/asm/
Dpgtable.h305 #define HPAGE_SHIFT PMD_SHIFT macro
306 #define HPAGE_SIZE (_AC(1, UL) << HPAGE_SHIFT)
308 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
/arch/sparc/mm/
Dhugetlbpage.c159 case HPAGE_SHIFT: in sun4v_hugepage_shift_to_tte()
Dinit_64.c342 add_huge_page_size(1UL << HPAGE_SHIFT); in hugetlbpage_init()
388 case HPAGE_SHIFT: in setup_hugepagesz()
/arch/ia64/mm/
Dinit.c367 ia64_set_rr(HPAGE_REGION_BASE, HPAGE_SHIFT << 2); in ia64_mmu_init()