Searched refs:gp_counters (Results 1 – 4 of 4) sorted by relevance
89 counters = pmu->gp_counters; in amd_msr_idx_to_pmc()173 pmu->gp_counters[i].type = KVM_PMC_GP; in amd_pmu_init()174 pmu->gp_counters[i].vcpu = vcpu; in amd_pmu_init()175 pmu->gp_counters[i].idx = i; in amd_pmu_init()185 struct kvm_pmc *pmc = &pmu->gp_counters[i]; in amd_pmu_reset()
140 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()
84 return &pmu->gp_counters[msr - base]; in get_gp_pmc()
397 struct kvm_pmc gp_counters[INTEL_PMC_MAX_GENERIC]; member