Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kvm/svm/
Dpmu.c35 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()
/linux-6.6.21/arch/x86/kvm/vmx/
Dpmu_intel.c152 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()
/linux-6.6.21/arch/x86/kvm/
Dpmu.h110 return &pmu->gp_counters[index]; in get_gp_pmc()
/linux-6.6.21/arch/x86/include/asm/
Dkvm_host.h529 struct kvm_pmc gp_counters[KVM_INTEL_PMC_MAX_GENERIC]; member