Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/sh/include/asm/
H A 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
41 #define HPAGE_SIZE (1UL << HPAGE_SHIFT)
43 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT-PAGE_SHIFT)
/openbmc/linux/arch/powerpc/include/asm/
H A Dpage.h29 #define HPAGE_SHIFT PAGE_SHIFT macro
32 #define HPAGE_SHIFT hpage_shift macro
34 #define HPAGE_SHIFT 19 /* 512k pages */ macro
36 #define HPAGE_SHIFT 22 /* 4M pages */ macro
38 #define HPAGE_SIZE ((1UL) << HPAGE_SHIFT)
40 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
/openbmc/linux/tools/testing/selftests/mm/
H A Dtranshuge-stress.c63 " and %zd MiB of ram", len >> HPAGE_SHIFT, len >> 20, in main()
64 ram >> (20 + HPAGE_SHIFT - pshift() - 1)); in main()
79 map_len = ram >> (HPAGE_SHIFT - 1); in main()
100 size_t idx = pfn >> (HPAGE_SHIFT - pshift()); in main()
124 s, s * 1000 / (len >> HPAGE_SHIFT), len / s / (1 << 20), in main()
H A Dvm_util.h58 #define HPAGE_SHIFT 21 macro
59 #define HPAGE_SIZE (1 << HPAGE_SHIFT)
H A Dvm_util.c175 !(PAGEMAP_PFN(ent[0]) & ((1 << (HPAGE_SHIFT - pshift())) - 1))) in allocate_transhuge()
/openbmc/linux/arch/x86/include/asm/
H A Dpage_types.h23 #define HPAGE_SHIFT PMD_SHIFT macro
24 #define HPAGE_SIZE (_AC(1,UL) << HPAGE_SHIFT)
26 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
/openbmc/linux/arch/sparc/include/asm/
H A 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))
H A Dpgtable_64.h78 #if (PMD_SHIFT != HPAGE_SHIFT)
79 #error PMD_SHIFT must equal HPAGE_SHIFT for transparent huge pages.
/openbmc/linux/arch/mips/include/asm/
H A 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
/openbmc/linux/arch/hexagon/include/asm/
H A Dpage.h46 #define HPAGE_SHIFT 22 macro
47 #define HPAGE_SIZE (1UL << HPAGE_SHIFT)
49 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT-PAGE_SHIFT)
/openbmc/linux/arch/loongarch/include/asm/
H A Dpage.h26 #define HPAGE_SHIFT (PAGE_SHIFT + PAGE_SHIFT - 3) macro
27 #define HPAGE_SIZE (_AC(1, UL) << HPAGE_SHIFT)
29 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
/openbmc/linux/arch/ia64/include/asm/
H A Dpage.h51 # define HPAGE_SHIFT hpage_shift macro
53 # define HPAGE_SIZE (__IA64_UL_CONST(1) << HPAGE_SHIFT)
125 | (REGION_OFFSET(x) >> (HPAGE_SHIFT-PAGE_SHIFT)))
126 # define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
H A Dpgtable.h456 #define HUGETLB_PGDIR_SHIFT (HPAGE_SHIFT + 2*(PAGE_SHIFT-3))
/openbmc/linux/arch/parisc/include/asm/
H A Dpage.h160 #define HPAGE_SHIFT PMD_SHIFT /* fixed for transparent huge pages */ macro
161 #define HPAGE_SIZE ((1UL) << HPAGE_SHIFT)
163 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
/openbmc/linux/arch/s390/include/asm/
H A Dpage.h27 #define HPAGE_SHIFT 20 macro
28 #define HPAGE_SIZE (1UL << HPAGE_SHIFT)
30 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
/openbmc/linux/arch/riscv/include/asm/
H A Dpage.h19 #define HPAGE_SHIFT PMD_SHIFT macro
20 #define HPAGE_SIZE (_AC(1, UL) << HPAGE_SHIFT)
22 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
/openbmc/linux/arch/arm/include/asm/
H A 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)
/openbmc/linux/arch/parisc/mm/
H A Dhugetlbpage.c110 BUILD_BUG_ON(REAL_HPAGE_SHIFT > HPAGE_SHIFT); in purge_tlb_entries_huge()
115 for (i = 0; i < (1 << (HPAGE_SHIFT-REAL_HPAGE_SHIFT)); i++) { in purge_tlb_entries_huge()
/openbmc/linux/arch/loongarch/mm/
H A Dtlbex.S165 slli.d t1, t1, (HPAGE_SHIFT - 1)
320 slli.d t1, t1, (HPAGE_SHIFT - 1)
474 slli.d t1, t1, (HPAGE_SHIFT - 1)
/openbmc/linux/arch/parisc/kernel/
H A Dsetup.c120 1 << (REAL_HPAGE_SHIFT - 20), 1 << (HPAGE_SHIFT - 20)); in setup_arch()
/openbmc/linux/arch/arm64/include/asm/
H A Dpgtable.h374 #define HPAGE_SHIFT PMD_SHIFT macro
375 #define HPAGE_SIZE (_AC(1, UL) << HPAGE_SHIFT)
377 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
/openbmc/linux/drivers/misc/sgi-gru/
H A Dgrufault.c184 *pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT; in non_atomic_pte_lookup()
242 *pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT; in atomic_pte_lookup()
/openbmc/linux/arch/ia64/mm/
H A Dinit.c378 ia64_set_rr(HPAGE_REGION_BASE, HPAGE_SHIFT << 2); in ia64_mmu_init()
/openbmc/linux/drivers/infiniband/core/
H A Dumem_odp.c247 umem_odp->page_shift = HPAGE_SHIFT; in ib_umem_odp_get()
/openbmc/linux/arch/sparc/mm/
H A Dhugetlbpage.c158 case HPAGE_SHIFT: in sun4v_hugepage_shift_to_tte()

12