Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kvm/svm/
Dpmu.c129 msr_info->data = pmc_read_counter(pmc); in amd_pmu_get_msr()
152 pmc->counter += data - pmc_read_counter(pmc); in amd_pmu_set_msr()
/linux-6.1.9/arch/x86/kvm/
Dpmu.h54 static inline u64 pmc_read_counter(struct kvm_pmc *pmc) in pmc_read_counter() function
79 pmc->counter = pmc_read_counter(pmc); in pmc_stop_counter()
Dpmu.c426 *data = pmc_read_counter(pmc) & mask; in kvm_pmu_rdpmc()
/linux-6.1.9/arch/x86/kvm/vmx/
Dpmu_intel.c371 u64 val = pmc_read_counter(pmc); in intel_pmu_get_msr()
376 u64 val = pmc_read_counter(pmc); in intel_pmu_get_msr()
464 pmc->counter += data - pmc_read_counter(pmc); in intel_pmu_set_msr()
468 pmc->counter += data - pmc_read_counter(pmc); in intel_pmu_set_msr()