Home
last modified time | relevance | path

Searched refs:mmu_hash_ops (Results 1 – 12 of 12) sorted by relevance

/arch/powerpc/platforms/ps3/
Dhtab.c187 mmu_hash_ops.hpte_invalidate = ps3_hpte_invalidate; in ps3_hpte_init()
188 mmu_hash_ops.hpte_updatepp = ps3_hpte_updatepp; in ps3_hpte_init()
189 mmu_hash_ops.hpte_updateboltedpp = ps3_hpte_updateboltedpp; in ps3_hpte_init()
190 mmu_hash_ops.hpte_insert = ps3_hpte_insert; in ps3_hpte_init()
191 mmu_hash_ops.hpte_remove = ps3_hpte_remove; in ps3_hpte_init()
192 mmu_hash_ops.hpte_clear_all = ps3_hpte_clear; in ps3_hpte_init()
/arch/powerpc/mm/book3s64/
Dhash_64k.c118 ret = mmu_hash_ops.hpte_updatepp(gslot, rflags, vpn, in __hash_page_4K()
160 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0, in __hash_page_4K()
169 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, in __hash_page_4K()
183 mmu_hash_ops.hpte_invalidate(hpte_group + gslot, vpn, in __hash_page_4K()
198 mmu_hash_ops.hpte_remove(hpte_group); in __hash_page_4K()
278 if (mmu_hash_ops.hpte_updatepp(gslot, rflags, vpn, MMU_PAGE_64K, in __hash_page_64K()
293 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0, in __hash_page_64K()
301 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, in __hash_page_64K()
310 mmu_hash_ops.hpte_remove(hpte_group); in __hash_page_64K()
Dhash_4k.c72 if (mmu_hash_ops.hpte_updatepp(gslot, rflags, vpn, MMU_PAGE_4K, in __hash_page_4K()
86 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0, in __hash_page_4K()
93 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, in __hash_page_4K()
102 mmu_hash_ops.hpte_remove(hpte_group); in __hash_page_4K()
Dhash_hugepage.c112 ret = mmu_hash_ops.hpte_updatepp(slot, rflags, vpn, in __hash_page_thp()
140 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0, in __hash_page_thp()
147 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, in __hash_page_thp()
156 mmu_hash_ops.hpte_remove(hpte_group); in __hash_page_thp()
Dhash_utils.c134 struct mmu_hash_ops mmu_hash_ops; variable
135 EXPORT_SYMBOL(mmu_hash_ops);
303 BUG_ON(!mmu_hash_ops.hpte_insert); in htab_bolt_mapping()
305 ret = mmu_hash_ops.hpte_insert(hpteg, vpn, paddr, tprot, in htab_bolt_mapping()
313 ret = mmu_hash_ops.hpte_remove(hpteg); in htab_bolt_mapping()
315 ret = mmu_hash_ops.hpte_insert(hpteg, vpn, paddr, tprot, in htab_bolt_mapping()
349 if (!mmu_hash_ops.hpte_removebolted) in htab_remove_mapping()
357 rc = mmu_hash_ops.hpte_removebolted(vaddr, psize, ssize); in htab_remove_mapping()
813 if (!mmu_hash_ops.resize_hpt) in resize_hpt_for_hotplug()
828 return mmu_hash_ops.resize_hpt(target_hpt_shift); in resize_hpt_for_hotplug()
[all …]
Dhash_native.c921 mmu_hash_ops.hpte_invalidate = native_hpte_invalidate; in hpte_init_native()
922 mmu_hash_ops.hpte_updatepp = native_hpte_updatepp; in hpte_init_native()
923 mmu_hash_ops.hpte_updateboltedpp = native_hpte_updateboltedpp; in hpte_init_native()
924 mmu_hash_ops.hpte_removebolted = native_hpte_removebolted; in hpte_init_native()
925 mmu_hash_ops.hpte_insert = native_hpte_insert; in hpte_init_native()
926 mmu_hash_ops.hpte_remove = native_hpte_remove; in hpte_init_native()
927 mmu_hash_ops.hpte_clear_all = native_hpte_clear; in hpte_init_native()
928 mmu_hash_ops.flush_hash_range = native_flush_hash_range; in hpte_init_native()
929 mmu_hash_ops.hugepage_invalidate = native_hugepage_invalidate; in hpte_init_native()
Dhash_hugetlbpage.c89 if (mmu_hash_ops.hpte_updatepp(gslot, rflags, vpn, mmu_psize, in __hash_page_huge()
Dpgtable.c180 else if (mmu_hash_ops.hpte_clear_all) in mmu_cleanup_all()
181 mmu_hash_ops.hpte_clear_all(); in mmu_cleanup_all()
Dhash_pgtable.c427 mmu_hash_ops.hpte_updateboltedpp(newpp, idx, mmu_linear_psize, in change_memory_range()
/arch/powerpc/platforms/pseries/
Dlpar.c1707 mmu_hash_ops.hpte_invalidate = pSeries_lpar_hpte_invalidate; in hpte_init_pseries()
1708 mmu_hash_ops.hpte_updatepp = pSeries_lpar_hpte_updatepp; in hpte_init_pseries()
1709 mmu_hash_ops.hpte_updateboltedpp = pSeries_lpar_hpte_updateboltedpp; in hpte_init_pseries()
1710 mmu_hash_ops.hpte_insert = pSeries_lpar_hpte_insert; in hpte_init_pseries()
1711 mmu_hash_ops.hpte_remove = pSeries_lpar_hpte_remove; in hpte_init_pseries()
1712 mmu_hash_ops.hpte_removebolted = pSeries_lpar_hpte_removebolted; in hpte_init_pseries()
1713 mmu_hash_ops.flush_hash_range = pSeries_lpar_flush_hash_range; in hpte_init_pseries()
1714 mmu_hash_ops.hpte_clear_all = pseries_hpte_clear_all; in hpte_init_pseries()
1715 mmu_hash_ops.hugepage_invalidate = pSeries_lpar_hugepage_invalidate; in hpte_init_pseries()
1718 mmu_hash_ops.resize_hpt = pseries_lpar_resize_hpt; in hpte_init_pseries()
/arch/powerpc/kvm/
Dbook3s_64_mmu_host.c26 mmu_hash_ops.hpte_invalidate(pte->slot, pte->host_vpn, in kvmppc_mmu_invalidate_pte()
164 if (mmu_hash_ops.hpte_remove(hpteg) < 0) { in kvmppc_mmu_map_page()
169 ret = mmu_hash_ops.hpte_insert(hpteg, vpn, hpaddr, rflags, vflags, in kvmppc_mmu_map_page()
/arch/powerpc/include/asm/book3s/64/
Dmmu-hash.h134 struct mmu_hash_ops { struct
172 extern struct mmu_hash_ops mmu_hash_ops; argument