Home
last modified time | relevance | path

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

/linux-6.12.1/arch/parisc/include/asm/
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-6.12.1/arch/sparc/include/asm/
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))
Dpgtable_64.h184 #if REAL_HPAGE_SHIFT != 22
185 #error REAL_HPAGE_SHIFT and _PAGE_SZHUGE_foo must match up
/linux-6.12.1/arch/parisc/mm/
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-6.12.1/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.c213 tlb_batch_add_one(mm, addr, exec, REAL_HPAGE_SHIFT); in __set_pmd_acct()
215 REAL_HPAGE_SHIFT); in __set_pmd_acct()
Dhugetlbpage.c212 shift = REAL_HPAGE_SHIFT; in sun4v_huge_tte_to_shift()
234 shift = REAL_HPAGE_SHIFT; in sun4u_huge_tte_to_shift()
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-6.12.1/arch/parisc/kernel/
Dsetup.c117 1 << (REAL_HPAGE_SHIFT - 20), 1 << (HPAGE_SHIFT - 20)); in setup_arch()
Dasm-offsets.c277 DEFINE(HUGEPAGE_SIZE, 1UL << REAL_HPAGE_SHIFT); in main()
Dentry.S477 #define PAGE_ADD_HUGE_SHIFT (REAL_HPAGE_SHIFT-12)
/linux-6.12.1/arch/sparc/kernel/
Dsun4v_tlb_miss.S186 COMPUTE_TSB_PTR(%g5, %g4, REAL_HPAGE_SHIFT, %g2, %g7)
Dtsb.S83 srlx %g4, REAL_HPAGE_SHIFT, %g6