Home
last modified time | relevance | path

Searched refs:mmu_psize (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/arch/powerpc/include/asm/book3s/64/
Dhugetlb.h110 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()
Dmmu-hash.h195 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-v6.1/arch/powerpc/mm/book3s64/
Dhugetlbpage.c22 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-v6.1/arch/powerpc/include/asm/nohash/32/
Dmmu-8xx.h220 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-v6.1/arch/powerpc/include/asm/nohash/
Dmmu-e500.h271 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-v6.1/arch/powerpc/mm/
Dhugetlbpage.c549 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()