Home
last modified time | relevance | path

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

/arch/x86/kvm/svm/
Dpmu.c150 return &pmu->gp_counters[msr_to_index(msr)]; in get_gp_pmc_amd()
226 counters = pmu->gp_counters; in amd_rdpmc_ecx_to_pmc()
324 pmu->gp_counters[i].type = KVM_PMC_GP; in amd_pmu_init()
325 pmu->gp_counters[i].vcpu = vcpu; in amd_pmu_init()
326 pmu->gp_counters[i].idx = i; in amd_pmu_init()
327 pmu->gp_counters[i].current_config = 0; in amd_pmu_init()
337 struct kvm_pmc *pmc = &pmu->gp_counters[i]; in amd_pmu_reset()
/arch/x86/kvm/vmx/
Dpmu_intel.c150 counters = pmu->gp_counters; in intel_rdpmc_ecx_to_pmc()
566 pmu->gp_counters[i].type = KVM_PMC_GP; in intel_pmu_init()
567 pmu->gp_counters[i].vcpu = vcpu; in intel_pmu_init()
568 pmu->gp_counters[i].idx = i; in intel_pmu_init()
569 pmu->gp_counters[i].current_config = 0; in intel_pmu_init()
592 pmc = &pmu->gp_counters[i]; in intel_pmu_reset()
/arch/x86/kvm/
Dpmu.h114 return &pmu->gp_counters[index]; in get_gp_pmc()
/arch/x86/include/asm/
Dkvm_host.h511 struct kvm_pmc gp_counters[INTEL_PMC_MAX_GENERIC]; member