Home
last modified time | relevance | path

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

/Linux-v4.19/arch/sparc/include/asm/
Dpage_64.h20 #define REAL_HPAGE_SHIFT 22 macro
25 #define REAL_HPAGE_SIZE (_AC(1,UL) << REAL_HPAGE_SHIFT)
32 #define REAL_HPAGE_PER_HPAGE (_AC(1,UL) << (HPAGE_SHIFT - REAL_HPAGE_SHIFT))
Dpgtable_64.h186 #if REAL_HPAGE_SHIFT != 22
187 #error REAL_HPAGE_SHIFT and _PAGE_SZHUGE_foo must match up
/Linux-v4.19/arch/parisc/include/asm/
Dpage.h159 # define REAL_HPAGE_SHIFT 20 /* 20 = 1MB */ macro
162 # define REAL_HPAGE_SHIFT 22 /* 22 = 4MB */ macro
165 # define REAL_HPAGE_SHIFT 24 /* 24 = 16MB */ macro
/Linux-v4.19/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()
112 addr += (1UL << REAL_HPAGE_SHIFT); in purge_tlb_entries_huge()
/Linux-v4.19/arch/sparc/mm/
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()
Dtlb.c210 tlb_batch_add_one(mm, addr, exec, REAL_HPAGE_SHIFT); in __set_pmd_acct()
212 REAL_HPAGE_SHIFT); in __set_pmd_acct()
Dhugetlbpage.c217 shift = REAL_HPAGE_SHIFT; in sun4v_huge_tte_to_shift()
239 shift = REAL_HPAGE_SHIFT; in sun4u_huge_tte_to_shift()
Dinit_64.c459 pte_val(pte) |= (address & (1UL << REAL_HPAGE_SHIFT)); in update_mmu_cache()
464 REAL_HPAGE_SHIFT, address, pte_val(pte)); in update_mmu_cache()
2993 pte |= (addr & (1UL << REAL_HPAGE_SHIFT)); in update_mmu_cache_pmd()
3000 __update_mmu_tsb_insert(mm, MM_TSB_HUGE, REAL_HPAGE_SHIFT, in update_mmu_cache_pmd()
/Linux-v4.19/arch/parisc/kernel/
Dsetup.c134 1 << (REAL_HPAGE_SHIFT - 20), 1 << (HPAGE_SHIFT - 20)); in setup_arch()
Dasm-offsets.c296 DEFINE(HUGEPAGE_SIZE, 1UL << REAL_HPAGE_SHIFT); in main()
Dentry.S524 #define PAGE_ADD_HUGE_SHIFT (REAL_HPAGE_SHIFT-12)
/Linux-v4.19/arch/sparc/kernel/
Dtsb.S83 srlx %g4, REAL_HPAGE_SHIFT, %g6
Dsun4v_tlb_miss.S186 COMPUTE_TSB_PTR(%g5, %g4, REAL_HPAGE_SHIFT, %g2, %g7)