Home
last modified time | relevance | path

Searched refs:hpteg (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/arch/powerpc/kvm/
Dtrace_pr.h32 TP_PROTO(int rflags, ulong hpteg, ulong va, kvm_pfn_t hpaddr,
34 TP_ARGS(rflags, hpteg, va, hpaddr, orig_pte),
40 __field( unsigned long, hpteg )
50 __entry->hpteg = hpteg;
58 __entry->hpteg, __entry->va, __entry->vpage, __entry->hpaddr)
Dbook3s_64_mmu_host.c75 ulong hash, hpteg; in kvmppc_mmu_map_page() local
158 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in kvmppc_mmu_map_page()
162 if (mmu_hash_ops.hpte_remove(hpteg) < 0) { in kvmppc_mmu_map_page()
167 ret = mmu_hash_ops.hpte_insert(hpteg, vpn, hpaddr, rflags, vflags, in kvmppc_mmu_map_page()
180 trace_kvm_book3s_64_mmu_map(rflags, hpteg, in kvmppc_mmu_map_page()
189 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in kvmppc_mmu_map_page()
192 cpte->slot = hpteg + (ret & 7); in kvmppc_mmu_map_page()
/Linux-v5.10/arch/powerpc/mm/book3s64/
Dhash_utils.c269 unsigned long hash, hpteg; in htab_bolt_mapping() local
299 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in htab_bolt_mapping()
303 ret = mmu_hash_ops.hpte_insert(hpteg, vpn, paddr, tprot, in htab_bolt_mapping()
311 ret = mmu_hash_ops.hpte_remove(hpteg); in htab_bolt_mapping()
313 ret = mmu_hash_ops.hpte_insert(hpteg, vpn, paddr, tprot, in htab_bolt_mapping()
318 hpteg = ((~hash & htab_hash_mask) * HPTES_PER_GROUP); in htab_bolt_mapping()