Home
last modified time | relevance | path

Searched refs:VPN2_MASK (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/arch/mips/kvm/
Dtlb.c181 idx_user = _kvm_mips_host_tlb_inv((va & VPN2_MASK) | in kvm_mips_host_tlb_inv()
184 idx_kernel = _kvm_mips_host_tlb_inv((va & VPN2_MASK) | in kvm_mips_host_tlb_inv()
201 __func__, (va & VPN2_MASK) | in kvm_mips_host_tlb_inv()
205 __func__, (va & VPN2_MASK) | in kvm_mips_host_tlb_inv()
264 idx = _kvm_mips_host_tlb_inv((va & VPN2_MASK) | in kvm_vz_host_tlb_inv()
283 __func__, (va & VPN2_MASK) | in kvm_vz_host_tlb_inv()
Demulate.c1080 kvm_trap_emul_invalidate_gva(vcpu, tlb->tlb_hi & VPN2_MASK, user); in kvm_mips_invalidate_guest_tlb()
2425 unsigned long entryhi = (vcpu->arch. host_cp0_badvaddr & VPN2_MASK) | in kvm_mips_emulate_tlbmiss_ld()
2469 (vcpu->arch.host_cp0_badvaddr & VPN2_MASK) | in kvm_mips_emulate_tlbinv_ld()
2509 unsigned long entryhi = (vcpu->arch.host_cp0_badvaddr & VPN2_MASK) | in kvm_mips_emulate_tlbmiss_st()
2550 unsigned long entryhi = (vcpu->arch.host_cp0_badvaddr & VPN2_MASK) | in kvm_mips_emulate_tlbinv_st()
2589 unsigned long entryhi = (vcpu->arch.host_cp0_badvaddr & VPN2_MASK) | in kvm_mips_emulate_tlbmod()
3242 (va & VPN2_MASK) | in kvm_mips_handle_tlbmiss()
Dmmu.c1033 if (!((gva ^ KVM_GUEST_COMMPAGE_ADDR) & VPN2_MASK & (PAGE_MASK << 1))) in kvm_mips_handle_mapped_seg_tlb_fault()
1185 index = kvm_mips_guest_tlb_lookup(vcpu, (gva & VPN2_MASK) | in kvm_trap_emul_gva_fault()
Dtrap_emul.c202 entryhi = (badvaddr & VPN2_MASK) | in kvm_trap_emul_handle_tlb_mod()
/Linux-v5.10/arch/mips/include/asm/
Dkvm_host.h316 #define VPN2_MASK GENMASK(cpu_vmbits - 1, 13) macro
318 #define VPN2_MASK 0xffffe000 macro
322 #define TLB_VPN2(x) ((x).tlb_hi & VPN2_MASK)
328 ((y) & VPN2_MASK & ~(x).tlb_mask))