Home
last modified time | relevance | path

Searched refs:kvm_pmu (Results 1 – 5 of 5) sorted by relevance

/arch/x86/kvm/
Dpmu_amd.c34 static unsigned amd_find_arch_event(struct kvm_pmu *pmu, in amd_find_arch_event()
65 static struct kvm_pmc *amd_pmc_idx_to_pmc(struct kvm_pmu *pmu, int pmc_idx) in amd_pmc_idx_to_pmc()
73 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_is_valid_msr_idx()
83 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_msr_idx_to_pmc()
96 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_is_valid_msr()
107 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_get_msr()
128 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_set_msr()
155 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_refresh()
169 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_init()
181 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_reset()
Dpmu_intel.c38 static void reprogram_fixed_counters(struct kvm_pmu *pmu, u64 data) in reprogram_fixed_counters()
59 static void global_ctrl_changed(struct kvm_pmu *pmu, u64 data) in global_ctrl_changed()
70 static unsigned intel_find_arch_event(struct kvm_pmu *pmu, in intel_find_arch_event()
103 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in intel_pmc_is_enabled()
108 static struct kvm_pmc *intel_pmc_idx_to_pmc(struct kvm_pmu *pmu, int pmc_idx) in intel_pmc_idx_to_pmc()
123 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_is_valid_msr_idx()
135 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_msr_idx_to_pmc()
155 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_is_valid_msr()
177 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_get_msr()
209 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_set_msr()
[all …]
Dpmu.h20 unsigned (*find_arch_event)(struct kvm_pmu *pmu, u8 event_select,
24 struct kvm_pmc *(*pmc_idx_to_pmc)(struct kvm_pmu *pmu, int pmc_idx);
37 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_bitmask()
82 static inline struct kvm_pmc *get_gp_pmc(struct kvm_pmu *pmu, u32 msr, in get_gp_pmc()
96 static inline struct kvm_pmc *get_fixed_pmc(struct kvm_pmu *pmu, u32 msr) in get_fixed_pmc()
112 void reprogram_counter(struct kvm_pmu *pmu, int pmc_idx);
Dpmu.c52 struct kvm_pmu *pmu = container_of(irq_work, struct kvm_pmu, irq_work); in kvm_pmi_trigger_fn()
63 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in kvm_perf_overflow()
77 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in kvm_perf_overflow_intr()
196 void reprogram_counter(struct kvm_pmu *pmu, int pmc_idx) in reprogram_counter()
216 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_handle_event()
290 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_reset()
298 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_init()
/arch/x86/include/asm/
Dkvm_host.h337 struct kvm_pmu { struct
536 struct kvm_pmu pmu;