Searched refs:mmu_psize (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
D | hash_hugetlbpage.c | 25 int ssize, unsigned int shift, unsigned int mmu_psize) in __hash_page_huge() argument 33 BUG_ON(shift != mmu_psize_defs[mmu_psize].shift); in __hash_page_huge() 74 if (unlikely(mmu_psize == MMU_PAGE_16G)) in __hash_page_huge() 93 if (mmu_hash_ops.hpte_updatepp(gslot, rflags, vpn, mmu_psize, in __hash_page_huge() 94 mmu_psize, ssize, flags) == -1) in __hash_page_huge() 107 mmu_psize, ssize); in __hash_page_huge() 116 mmu_psize, mmu_psize, old_pte); in __hash_page_huge()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/ |
D | hugetlb.h | 111 int mmu_psize; in check_and_get_huge_psize() local 116 mmu_psize = shift_to_mmu_psize(shift); in check_and_get_huge_psize() 127 if (mmu_psize != MMU_PAGE_2M && mmu_psize != MMU_PAGE_1G) in check_and_get_huge_psize() 130 if (mmu_psize != MMU_PAGE_16M && mmu_psize != MMU_PAGE_16G) in check_and_get_huge_psize() 133 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() 471 int ssize, unsigned int shift, unsigned int mmu_psize);
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/32/ |
D | mmu-8xx.h | 218 static inline unsigned int mmu_psize_to_shift(unsigned int mmu_psize) in mmu_psize_to_shift() argument 220 if (mmu_psize_defs[mmu_psize].shift) in mmu_psize_to_shift() 221 return mmu_psize_defs[mmu_psize].shift; in mmu_psize_to_shift()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/ |
D | mmu-book3e.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()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
D | hugetlbpage.c | 563 int mmu_psize = shift_to_mmu_psize(huge_page_shift(hstate)); in hugetlb_get_unmapped_area() local 570 return slice_get_unmapped_area(addr, len, flags, mmu_psize, 1); in hugetlb_get_unmapped_area() 588 int mmu_psize; in arch_hugetlb_valid_size() local 595 mmu_psize = check_and_get_huge_psize(shift); in arch_hugetlb_valid_size() 596 if (mmu_psize < 0) in arch_hugetlb_valid_size() 599 BUG_ON(mmu_psize_defs[mmu_psize].shift != shift); in arch_hugetlb_valid_size()
|