Home
last modified time | relevance | path

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

/linux/arch/powerpc/mm/book3s64/
A Dhash_hugetlbpage.c21 int ssize, unsigned int shift, unsigned int mmu_psize) in __hash_page_huge() argument
29 BUG_ON(shift != mmu_psize_defs[mmu_psize].shift); in __hash_page_huge()
70 if (unlikely(mmu_psize == MMU_PAGE_16G)) in __hash_page_huge()
89 if (mmu_hash_ops.hpte_updatepp(gslot, rflags, vpn, mmu_psize, in __hash_page_huge()
90 mmu_psize, ssize, flags) == -1) in __hash_page_huge()
103 mmu_psize, ssize); in __hash_page_huge()
112 mmu_psize, mmu_psize, old_pte); in __hash_page_huge()
/linux/arch/powerpc/include/asm/book3s/64/
A Dhugetlb.h111 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()
A Dmmu-hash.h194 static inline unsigned int mmu_psize_to_shift(unsigned int mmu_psize) in mmu_psize_to_shift() argument
196 if (mmu_psize_defs[mmu_psize].shift) in mmu_psize_to_shift()
197 return mmu_psize_defs[mmu_psize].shift; in mmu_psize_to_shift()
475 int ssize, unsigned int shift, unsigned int mmu_psize);
/linux/arch/powerpc/include/asm/nohash/32/
A Dmmu-8xx.h222 static inline unsigned int mmu_psize_to_shift(unsigned int mmu_psize) in mmu_psize_to_shift() argument
224 if (mmu_psize_defs[mmu_psize].shift) in mmu_psize_to_shift()
225 return mmu_psize_defs[mmu_psize].shift; in mmu_psize_to_shift()
/linux/arch/powerpc/include/asm/nohash/
A Dmmu-book3e.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/arch/powerpc/mm/
A Dhugetlbpage.c551 int mmu_psize = shift_to_mmu_psize(huge_page_shift(hstate)); in hugetlb_get_unmapped_area() local
558 return slice_get_unmapped_area(addr, len, flags, mmu_psize, 1); in hugetlb_get_unmapped_area()
576 int mmu_psize; in arch_hugetlb_valid_size() local
583 mmu_psize = check_and_get_huge_psize(shift); in arch_hugetlb_valid_size()
584 if (mmu_psize < 0) in arch_hugetlb_valid_size()
587 BUG_ON(mmu_psize_defs[mmu_psize].shift != shift); in arch_hugetlb_valid_size()

Completed in 10 milliseconds