Searched refs:hpteg (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/arch/powerpc/kvm/ |
D | trace_pr.h | 32 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)
|
D | book3s_64_mmu_host.c | 76 ulong hash, hpteg; in kvmppc_mmu_map_page() local 160 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in kvmppc_mmu_map_page() 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() 182 trace_kvm_book3s_64_mmu_map(rflags, hpteg, in kvmppc_mmu_map_page() 191 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in kvmppc_mmu_map_page() 194 cpte->slot = hpteg + (ret & 7); in kvmppc_mmu_map_page()
|
/linux-6.1.9/arch/powerpc/mm/book3s64/ |
D | hash_utils.c | 369 unsigned long hash, hpteg; in htab_bolt_mapping() local 399 hpteg = ((hash & htab_hash_mask) * HPTES_PER_GROUP); in htab_bolt_mapping() 403 ret = mmu_hash_ops.hpte_insert(hpteg, vpn, paddr, tprot, in htab_bolt_mapping() 411 ret = mmu_hash_ops.hpte_remove(hpteg); in htab_bolt_mapping() 413 ret = mmu_hash_ops.hpte_insert(hpteg, vpn, paddr, tprot, in htab_bolt_mapping() 418 hpteg = ((~hash & htab_hash_mask) * HPTES_PER_GROUP); in htab_bolt_mapping()
|