Home
last modified time | relevance | path

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

/arch/x86/kvm/
Dpmu_amd.c142 return &pmu->gp_counters[msr_to_index(msr)]; in get_gp_pmc_amd()
217 counters = pmu->gp_counters; in amd_msr_idx_to_pmc()
305 pmu->gp_counters[i].type = KVM_PMC_GP; in amd_pmu_init()
306 pmu->gp_counters[i].vcpu = vcpu; in amd_pmu_init()
307 pmu->gp_counters[i].idx = i; in amd_pmu_init()
317 struct kvm_pmc *pmc = &pmu->gp_counters[i]; in amd_pmu_reset()
Dpmu.h94 return &pmu->gp_counters[index]; in get_gp_pmc()
/arch/x86/kvm/vmx/
Dpmu_intel.c143 counters = pmu->gp_counters; in intel_msr_idx_to_pmc()
341 pmu->gp_counters[i].type = KVM_PMC_GP; in intel_pmu_init()
342 pmu->gp_counters[i].vcpu = vcpu; in intel_pmu_init()
343 pmu->gp_counters[i].idx = i; in intel_pmu_init()
360 pmc = &pmu->gp_counters[i]; in intel_pmu_reset()
/arch/x86/include/asm/
Dkvm_host.h470 struct kvm_pmc gp_counters[INTEL_PMC_MAX_GENERIC]; member