Home
last modified time | relevance | path

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

/Linux-v4.19/arch/x86/kvm/
Dpmu_amd.c128 return &pmu->gp_counters[msr_to_index(msr)]; in get_gp_pmc_amd()
197 counters = pmu->gp_counters; in amd_msr_idx_to_pmc()
287 pmu->gp_counters[i].type = KVM_PMC_GP; in amd_pmu_init()
288 pmu->gp_counters[i].vcpu = vcpu; in amd_pmu_init()
289 pmu->gp_counters[i].idx = i; in amd_pmu_init()
299 struct kvm_pmc *pmc = &pmu->gp_counters[i]; in amd_pmu_reset()
Dpmu_intel.c140 counters = fixed ? pmu->fixed_counters : pmu->gp_counters; in intel_msr_idx_to_pmc()
314 pmu->gp_counters[i].type = KVM_PMC_GP; in intel_pmu_init()
315 pmu->gp_counters[i].vcpu = vcpu; in intel_pmu_init()
316 pmu->gp_counters[i].idx = i; in intel_pmu_init()
332 struct kvm_pmc *pmc = &pmu->gp_counters[i]; in intel_pmu_reset()
Dpmu.h89 return &pmu->gp_counters[msr - base]; in get_gp_pmc()
/Linux-v4.19/arch/x86/include/asm/
Dkvm_host.h431 struct kvm_pmc gp_counters[INTEL_PMC_MAX_GENERIC]; member