/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/ |
H A D | hugetlb.h | 25 if (shift == mmu_psize_defs[MMU_PAGE_2M].shift) in hstate_get_psize() 26 return MMU_PAGE_2M; in hstate_get_psize() 127 if (mmu_psize != MMU_PAGE_2M && mmu_psize != MMU_PAGE_1G) in check_and_get_huge_psize()
|
H A D | tlbflush-radix.h | 17 if (psize == MMU_PAGE_2M) in psize_to_rpti_pgsize()
|
H A D | radix.h | 278 if (mmu_psize_defs[MMU_PAGE_2M].shift == PMD_SHIFT) in radix__has_transparent_hugepage()
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/book3s/64/ |
H A D | hugetlb.h | 24 if (shift == mmu_psize_defs[MMU_PAGE_2M].shift) in hstate_get_psize() 25 return MMU_PAGE_2M; in hstate_get_psize() 126 if (mmu_psize != MMU_PAGE_2M && mmu_psize != MMU_PAGE_1G) in check_and_get_huge_psize()
|
H A D | tlbflush-radix.h | 21 if (psize == MMU_PAGE_2M) in psize_to_rpti_pgsize()
|
H A D | radix.h | 304 if (mmu_psize_defs[MMU_PAGE_2M].shift == PMD_SHIFT) in radix__has_transparent_hugepage()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
H A D | hash_hugetlbpage.c | 164 else if (mmu_psize_defs[MMU_PAGE_2M].shift) in hugetlbpage_init_default() 165 hpage_shift = mmu_psize_defs[MMU_PAGE_2M].shift; in hugetlbpage_init_default()
|
H A D | radix_tlb.c | 925 pg_sizes |= psize_to_rpti_pgsize(MMU_PAGE_2M); in __radix__flush_tlb_range() 956 PMD_SIZE, MMU_PAGE_2M); in __radix__flush_tlb_range() 963 PMD_SIZE, MMU_PAGE_2M); in __radix__flush_tlb_range() 970 hstart, hend, pid, PMD_SIZE, MMU_PAGE_2M, false); in __radix__flush_tlb_range() 995 else if (page_size == (1UL << mmu_psize_defs[MMU_PAGE_2M].shift)) in radix_get_mmu_psize() 996 psize = MMU_PAGE_2M; in radix_get_mmu_psize() 1213 radix__flush_tlb_range_psize(vma->vm_mm, start, end, MMU_PAGE_2M); in radix__flush_pmd_tlb_range()
|
H A D | radix_pgtable.c | 295 mmu_psize_defs[MMU_PAGE_2M].shift) { in create_physical_mapping() 297 psize = MMU_PAGE_2M; in create_physical_mapping() 439 idx = MMU_PAGE_2M; in get_idx_from_shift() 647 if (mmu_psize_defs[MMU_PAGE_2M].shift) { in radix__early_init_mmu() 651 mmu_vmemmap_psize = MMU_PAGE_2M; in radix__early_init_mmu() 846 update_page_count(MMU_PAGE_2M, -pages); in remove_pmd_table()
|
H A D | pgtable.c | 47 * We can use MMU_PAGE_2M here, because only radix in pmdp_set_access_flags() 51 pmd_pte(entry), address, MMU_PAGE_2M); in pmdp_set_access_flags() 418 atomic_long_read(&direct_pages_count[MMU_PAGE_2M]) << 11); in arch_report_meminfo()
|
/kernel/linux/linux-6.6/arch/powerpc/mm/book3s64/ |
H A D | hugetlbpage.c | 165 else if (mmu_psize_defs[MMU_PAGE_2M].shift) in hugetlbpage_init_defaultsize() 166 hpage_shift = mmu_psize_defs[MMU_PAGE_2M].shift; in hugetlbpage_init_defaultsize()
|
H A D | radix_tlb.c | 1058 pg_sizes |= psize_to_rpti_pgsize(MMU_PAGE_2M); in __radix__flush_tlb_range() 1093 PMD_SIZE, MMU_PAGE_2M); in __radix__flush_tlb_range() 1102 PMD_SIZE, MMU_PAGE_2M); in __radix__flush_tlb_range() 1109 hstart, hend, pid, PMD_SIZE, MMU_PAGE_2M, flush_pwc); in __radix__flush_tlb_range() 1136 else if (page_size == (1UL << mmu_psize_defs[MMU_PAGE_2M].shift)) in radix_get_mmu_psize() 1137 psize = MMU_PAGE_2M; in radix_get_mmu_psize() 1366 radix__flush_tlb_range_psize(vma->vm_mm, start, end, MMU_PAGE_2M); in radix__flush_pmd_tlb_range()
|
H A D | pgtable.c | 59 * We can use MMU_PAGE_2M here, because only radix in pmdp_set_access_flags() 63 pmd_pte(entry), address, MMU_PAGE_2M); in pmdp_set_access_flags() 514 atomic_long_read(&direct_pages_count[MMU_PAGE_2M]) << 11); in arch_report_meminfo()
|
H A D | radix_pgtable.c | 324 mmu_psize_defs[MMU_PAGE_2M].shift) { in create_physical_mapping() 326 psize = MMU_PAGE_2M; in create_physical_mapping() 451 idx = MMU_PAGE_2M; in get_idx_from_shift() 792 update_page_count(MMU_PAGE_2M, -pages); in remove_pmd_table()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/ |
H A D | tlb.c | 59 [MMU_PAGE_2M] = { 500 if (book3e_htw_mode && psize == MMU_PAGE_2M) in setup_page_sizes() 611 mmu_pte_psize = MMU_PAGE_2M; in early_init_this_mmu()
|
/kernel/linux/linux-6.6/arch/powerpc/mm/nohash/ |
H A D | tlb.c | 58 [MMU_PAGE_2M] = { 466 if (book3e_htw_mode && psize == MMU_PAGE_2M) in setup_page_sizes() 577 mmu_pte_psize = MMU_PAGE_2M; in early_init_this_mmu()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | mmu.h | 352 #define MMU_PAGE_2M 7 macro
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | mmu.h | 374 #define MMU_PAGE_2M 7 macro
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_64_mmu_radix.c | 1206 add_rmmu_ap_encoding(info, MMU_PAGE_2M, &i); in kvmhv_get_rmmu_info()
|
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_64_mmu_radix.c | 1235 add_rmmu_ap_encoding(info, MMU_PAGE_2M, &i); in kvmhv_get_rmmu_info()
|