Home
last modified time | relevance | path

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

/linux/arch/x86/kvm/svm/
H A Dpmu.c35 return &pmu->gp_counters[array_index_nospec(pmc_idx, num_counters)]; in amd_pmu_get_pmc()
223 pmu->gp_counters[i].type = KVM_PMC_GP; in amd_pmu_init()
224 pmu->gp_counters[i].vcpu = vcpu; in amd_pmu_init()
225 pmu->gp_counters[i].idx = i; in amd_pmu_init()
226 pmu->gp_counters[i].current_config = 0; in amd_pmu_init()
/linux/arch/x86/kvm/vmx/
H A Dpmu_intel.c95 counters = pmu->gp_counters; in intel_rdpmc_ecx_to_pmc()
574 pmu->gp_counters[i].type = KVM_PMC_GP; in intel_pmu_init()
575 pmu->gp_counters[i].vcpu = vcpu; in intel_pmu_init()
576 pmu->gp_counters[i].idx = i; in intel_pmu_init()
577 pmu->gp_counters[i].current_config = 0; in intel_pmu_init()
/linux/arch/x86/kvm/
H A Dpmu.h83 return &pmu->gp_counters[idx]; in kvm_pmc_idx_to_pmc()
147 return &pmu->gp_counters[index]; in get_gp_pmc()
/linux/arch/x86/include/asm/
H A Dkvm_host.h559 struct kvm_pmc gp_counters[KVM_MAX_NR_GP_COUNTERS]; member