Searched refs:mmu_psize (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/arch/powerpc/include/asm/book3s/64/ |
D | hugetlb.h | 110 int mmu_psize; in check_and_get_huge_psize() local 115 mmu_psize = shift_to_mmu_psize(shift); in check_and_get_huge_psize() 126 if (mmu_psize != MMU_PAGE_2M && mmu_psize != MMU_PAGE_1G) in check_and_get_huge_psize() 129 if (mmu_psize != MMU_PAGE_16M && mmu_psize != MMU_PAGE_16G) in check_and_get_huge_psize() 132 return mmu_psize; in check_and_get_huge_psize()
|
D | mmu-hash.h | 195 static inline unsigned int mmu_psize_to_shift(unsigned int mmu_psize) in mmu_psize_to_shift() argument 197 if (mmu_psize_defs[mmu_psize].shift) in mmu_psize_to_shift() 198 return mmu_psize_defs[mmu_psize].shift; in mmu_psize_to_shift() 476 int ssize, unsigned int shift, unsigned int mmu_psize);
|
/linux-6.1.9/arch/powerpc/mm/book3s64/ |
D | hugetlbpage.c | 22 int ssize, unsigned int shift, unsigned int mmu_psize) in __hash_page_huge() argument 30 BUG_ON(shift != mmu_psize_defs[mmu_psize].shift); in __hash_page_huge() 71 if (unlikely(mmu_psize == MMU_PAGE_16G)) in __hash_page_huge() 90 if (mmu_hash_ops.hpte_updatepp(gslot, rflags, vpn, mmu_psize, in __hash_page_huge() 91 mmu_psize, ssize, flags) == -1) in __hash_page_huge() 104 mmu_psize, ssize); in __hash_page_huge() 113 mmu_psize, mmu_psize, old_pte); in __hash_page_huge()
|
/linux-6.1.9/arch/powerpc/include/asm/nohash/32/ |
D | mmu-8xx.h | 220 static inline unsigned int mmu_psize_to_shift(unsigned int mmu_psize) in mmu_psize_to_shift() argument 222 if (mmu_psize_defs[mmu_psize].shift) in mmu_psize_to_shift() 223 return mmu_psize_defs[mmu_psize].shift; in mmu_psize_to_shift()
|
/linux-6.1.9/arch/powerpc/include/asm/nohash/ |
D | mmu-e500.h | 271 static inline unsigned int mmu_psize_to_shift(unsigned int mmu_psize) in mmu_psize_to_shift() argument 273 if (mmu_psize_defs[mmu_psize].shift) in mmu_psize_to_shift() 274 return mmu_psize_defs[mmu_psize].shift; in mmu_psize_to_shift()
|
/linux-6.1.9/arch/powerpc/mm/ |
D | hugetlbpage.c | 549 int mmu_psize; in arch_hugetlb_valid_size() local 556 mmu_psize = check_and_get_huge_psize(shift); in arch_hugetlb_valid_size() 557 if (mmu_psize < 0) in arch_hugetlb_valid_size() 560 BUG_ON(mmu_psize_defs[mmu_psize].shift != shift); in arch_hugetlb_valid_size()
|