/openbmc/linux/arch/sh/include/asm/ |
H A D | page.h | 29 #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 D | page.h | 29 #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 D | transhuge-stress.c | 63 " 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 D | vm_util.h | 58 #define HPAGE_SHIFT 21 macro 59 #define HPAGE_SIZE (1 << HPAGE_SHIFT)
|
H A D | vm_util.c | 175 !(PAGEMAP_PFN(ent[0]) & ((1 << (HPAGE_SHIFT - pshift())) - 1))) in allocate_transhuge()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | page_types.h | 23 #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 D | page_64.h | 19 #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 D | pgtable_64.h | 78 #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 D | page.h | 62 #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 D | page.h | 46 #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 D | page.h | 26 #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 D | page.h | 51 # 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 D | pgtable.h | 456 #define HUGETLB_PGDIR_SHIFT (HPAGE_SHIFT + 2*(PAGE_SHIFT-3))
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | page.h | 160 #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 D | page.h | 27 #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 D | page.h | 19 #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 D | pgtable-3level.h | 57 #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 D | hugetlbpage.c | 110 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 D | tlbex.S | 165 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 D | setup.c | 120 1 << (REAL_HPAGE_SHIFT - 20), 1 << (HPAGE_SHIFT - 20)); in setup_arch()
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | pgtable.h | 374 #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 D | grufault.c | 184 *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 D | init.c | 378 ia64_set_rr(HPAGE_REGION_BASE, HPAGE_SHIFT << 2); in ia64_mmu_init()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | umem_odp.c | 247 umem_odp->page_shift = HPAGE_SHIFT; in ib_umem_odp_get()
|
/openbmc/linux/arch/sparc/mm/ |
H A D | hugetlbpage.c | 158 case HPAGE_SHIFT: in sun4v_hugepage_shift_to_tte()
|