Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/kvm/vmx/
Dpmu_intel.c227 u64 val = pmc_read_counter(pmc); in intel_pmu_get_msr()
232 u64 val = pmc_read_counter(pmc); in intel_pmu_get_msr()
292 pmc->counter += data - pmc_read_counter(pmc); in intel_pmu_set_msr()
298 pmc->counter += data - pmc_read_counter(pmc); in intel_pmu_set_msr()
/Linux-v5.10/arch/x86/kvm/
Dpmu.h51 static inline u64 pmc_read_counter(struct kvm_pmc *pmc) in pmc_read_counter() function
76 pmc->counter = pmc_read_counter(pmc); in pmc_stop_counter()
Dpmu.c380 *data = pmc_read_counter(pmc) & mask; in kvm_pmu_rdpmc()
/Linux-v5.10/arch/x86/kvm/svm/
Dpmu.c227 msr_info->data = pmc_read_counter(pmc); in amd_pmu_get_msr()
250 pmc->counter += data - pmc_read_counter(pmc); in amd_pmu_set_msr()