Home
last modified time | relevance | path

Searched refs:count_ctl (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/arch/mips/kvm/
Demulate.c316 return (vcpu->arch.count_ctl & KVM_REG_MIPS_COUNT_CTL_DC) || in kvm_mips_count_disabled()
368 if (unlikely(vcpu->arch.count_ctl & KVM_REG_MIPS_COUNT_CTL_DC)) in kvm_mips_count_time()
813 if (!(vcpu->arch.count_ctl & KVM_REG_MIPS_COUNT_CTL_DC)) in kvm_mips_count_disable_cause()
854 int kvm_mips_set_count_ctl(struct kvm_vcpu *vcpu, s64 count_ctl) in kvm_mips_set_count_ctl() argument
857 s64 changed = count_ctl ^ vcpu->arch.count_ctl; in kvm_mips_set_count_ctl()
867 vcpu->arch.count_ctl = count_ctl; in kvm_mips_set_count_ctl()
873 if (count_ctl & KVM_REG_MIPS_COUNT_CTL_DC) in kvm_mips_set_count_ctl()
876 } else if (count_ctl & KVM_REG_MIPS_COUNT_CTL_DC) { in kvm_mips_set_count_ctl()
Dtrap_emul.c840 *v = vcpu->arch.count_ctl; in kvm_trap_emul_get_one_reg()
Dvz.c2116 *v = vcpu->arch.count_ctl; in kvm_vz_get_one_reg()
/Linux-v5.10/arch/mips/include/asm/
Dkvm_host.h384 u32 count_ctl; member
1078 int kvm_mips_set_count_ctl(struct kvm_vcpu *vcpu, s64 count_ctl);