Home
last modified time | relevance | path

Searched refs:REAL_HPAGE_SHIFT (Results 1 – 11 of 11) sorted by relevance

/linux/arch/parisc/include/asm/
H A Dpage.h158 # define REAL_HPAGE_SHIFT 20 /* 20 = 1MB */ macro
161 # define REAL_HPAGE_SHIFT 22 /* 22 = 4MB */ macro
164 # define REAL_HPAGE_SHIFT 24 /* 24 = 16MB */ macro
/linux/arch/sparc/include/asm/
H A Dpage_64.h19 #define REAL_HPAGE_SHIFT 22 macro
24 #define REAL_HPAGE_SIZE (_AC(1,UL) << REAL_HPAGE_SHIFT)
31 #define REAL_HPAGE_PER_HPAGE (_AC(1,UL) << (HPAGE_SHIFT - REAL_HPAGE_SHIFT))
H A Dpgtable_64.h184 #if REAL_HPAGE_SHIFT != 22
185 #error REAL_HPAGE_SHIFT and _PAGE_SZHUGE_foo must match up
/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()
117 addr += (1UL << REAL_HPAGE_SHIFT); in purge_tlb_entries_huge()
/linux/arch/sparc/mm/
H A Dtsb.c126 if (tb->hugepage_shift < REAL_HPAGE_SHIFT) { in flush_tsb_user()
145 __flush_huge_tsb_one(tb, REAL_HPAGE_SHIFT, base, nentries, in flush_tsb_user()
159 if (hugepage_shift < REAL_HPAGE_SHIFT) { in flush_tsb_user_page()
179 __flush_huge_tsb_one_entry(base, vaddr, REAL_HPAGE_SHIFT, in flush_tsb_user_page()
511 PAGE_SHIFT : REAL_HPAGE_SHIFT); in tsb_grow()
H A Dinit_64.c441 pte_val(pte) |= (address & (1UL << REAL_HPAGE_SHIFT)); in update_mmu_cache_range()
446 REAL_HPAGE_SHIFT, address, pte_val(pte)); in update_mmu_cache_range()
2969 pte |= (addr & (1UL << REAL_HPAGE_SHIFT)); in update_mmu_cache_pmd()
2976 __update_mmu_tsb_insert(mm, MM_TSB_HUGE, REAL_HPAGE_SHIFT, in update_mmu_cache_pmd()
/linux/arch/parisc/kernel/
H A Dsetup.c117 1 << (REAL_HPAGE_SHIFT - 20), 1 << (HPAGE_SHIFT - 20)); in setup_arch()
H A Dasm-offsets.c277 DEFINE(HUGEPAGE_SIZE, 1UL << REAL_HPAGE_SHIFT); in main()
H A Dentry.S477 #define PAGE_ADD_HUGE_SHIFT (REAL_HPAGE_SHIFT-12)
/linux/arch/sparc/kernel/
H A Dtsb.S83 srlx %g4, REAL_HPAGE_SHIFT, %g6
H A Dsun4v_tlb_miss.S186 COMPUTE_TSB_PTR(%g5, %g4, REAL_HPAGE_SHIFT, %g2, %g7)