Searched refs:REAL_HPAGE_SHIFT (Results 1 – 13 of 13) sorted by relevance
/Linux-v4.19/arch/sparc/include/asm/ |
D | page_64.h | 20 #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))
|
D | pgtable_64.h | 186 #if REAL_HPAGE_SHIFT != 22 187 #error REAL_HPAGE_SHIFT and _PAGE_SZHUGE_foo must match up
|
/Linux-v4.19/arch/parisc/include/asm/ |
D | page.h | 159 # 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/ |
D | hugetlbpage.c | 105 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/ |
D | tsb.c | 126 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()
|
D | tlb.c | 210 tlb_batch_add_one(mm, addr, exec, REAL_HPAGE_SHIFT); in __set_pmd_acct() 212 REAL_HPAGE_SHIFT); in __set_pmd_acct()
|
D | hugetlbpage.c | 217 shift = REAL_HPAGE_SHIFT; in sun4v_huge_tte_to_shift() 239 shift = REAL_HPAGE_SHIFT; in sun4u_huge_tte_to_shift()
|
D | init_64.c | 459 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/ |
D | setup.c | 134 1 << (REAL_HPAGE_SHIFT - 20), 1 << (HPAGE_SHIFT - 20)); in setup_arch()
|
D | asm-offsets.c | 296 DEFINE(HUGEPAGE_SIZE, 1UL << REAL_HPAGE_SHIFT); in main()
|
D | entry.S | 524 #define PAGE_ADD_HUGE_SHIFT (REAL_HPAGE_SHIFT-12)
|
/Linux-v4.19/arch/sparc/kernel/ |
D | tsb.S | 83 srlx %g4, REAL_HPAGE_SHIFT, %g6
|
D | sun4v_tlb_miss.S | 186 COMPUTE_TSB_PTR(%g5, %g4, REAL_HPAGE_SHIFT, %g2, %g7)
|