Searched refs:gp_counters (Results 1 – 4 of 4) sorted by relevance
35 return &pmu->gp_counters[array_index_nospec(pmc_idx, num_counters)]; in amd_pmc_idx_to_pmc()229 pmu->gp_counters[i].type = KVM_PMC_GP; in amd_pmu_init()230 pmu->gp_counters[i].vcpu = vcpu; in amd_pmu_init()231 pmu->gp_counters[i].idx = i; in amd_pmu_init()232 pmu->gp_counters[i].current_config = 0; in amd_pmu_init()
152 counters = pmu->gp_counters; in intel_rdpmc_ecx_to_pmc()615 pmu->gp_counters[i].type = KVM_PMC_GP; in intel_pmu_init()616 pmu->gp_counters[i].vcpu = vcpu; in intel_pmu_init()617 pmu->gp_counters[i].idx = i; in intel_pmu_init()618 pmu->gp_counters[i].current_config = 0; in intel_pmu_init()
110 return &pmu->gp_counters[index]; in get_gp_pmc()
529 struct kvm_pmc gp_counters[KVM_INTEL_PMC_MAX_GENERIC]; member