Searched refs:gp_counters (Results 1 – 4 of 4) sorted by relevance
134 return &pmu->gp_counters[msr_to_index(msr)]; in get_gp_pmc_amd()204 counters = pmu->gp_counters; in amd_rdpmc_ecx_to_pmc()302 pmu->gp_counters[i].type = KVM_PMC_GP; in amd_pmu_init()303 pmu->gp_counters[i].vcpu = vcpu; in amd_pmu_init()304 pmu->gp_counters[i].idx = i; in amd_pmu_init()305 pmu->gp_counters[i].current_config = 0; in amd_pmu_init()315 struct kvm_pmc *pmc = &pmu->gp_counters[i]; in amd_pmu_reset()
146 counters = pmu->gp_counters; in intel_rdpmc_ecx_to_pmc()552 pmu->gp_counters[i].type = KVM_PMC_GP; in intel_pmu_init()553 pmu->gp_counters[i].vcpu = vcpu; in intel_pmu_init()554 pmu->gp_counters[i].idx = i; in intel_pmu_init()555 pmu->gp_counters[i].current_config = 0; in intel_pmu_init()578 pmc = &pmu->gp_counters[i]; in intel_pmu_reset()
115 return &pmu->gp_counters[index]; in get_gp_pmc()
508 struct kvm_pmc gp_counters[INTEL_PMC_MAX_GENERIC]; member