Searched refs:kvm_pmu (Results 1 – 6 of 6) sorted by relevance
/arch/x86/kvm/ |
D | pmu_amd.c | 47 static unsigned int get_msr_base(struct kvm_pmu *pmu, enum pmu_type type) in get_msr_base() 98 static inline struct kvm_pmc *get_gp_pmc_amd(struct kvm_pmu *pmu, u32 msr, in get_gp_pmc_amd() 129 static unsigned amd_find_arch_event(struct kvm_pmu *pmu, in amd_find_arch_event() 160 static struct kvm_pmc *amd_pmc_idx_to_pmc(struct kvm_pmu *pmu, int pmc_idx) in amd_pmc_idx_to_pmc() 179 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_is_valid_msr_idx() 189 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_msr_idx_to_pmc() 202 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_is_valid_msr() 213 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_get_msr() 234 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_set_msr() 261 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_refresh() [all …]
|
D | pmu.h | 23 unsigned (*find_arch_event)(struct kvm_pmu *pmu, u8 event_select, 27 struct kvm_pmc *(*pmc_idx_to_pmc)(struct kvm_pmu *pmu, int pmc_idx); 41 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in pmc_bitmask() 86 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() 108 void reprogram_counter(struct kvm_pmu *pmu, int pmc_idx);
|
D | pmu.c | 52 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() 235 void reprogram_counter(struct kvm_pmu *pmu, int pmc_idx) in reprogram_counter() 255 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_handle_event() 316 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_rdpmc() 366 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_reset() 374 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_init()
|
/arch/x86/kvm/vmx/ |
D | pmu_intel.c | 35 static void reprogram_fixed_counters(struct kvm_pmu *pmu, u64 data) in reprogram_fixed_counters() 56 static void global_ctrl_changed(struct kvm_pmu *pmu, u64 data) in global_ctrl_changed() 67 static unsigned intel_find_arch_event(struct kvm_pmu *pmu, in intel_find_arch_event() 96 struct kvm_pmu *pmu = pmc_to_pmu(pmc); in intel_pmc_is_enabled() 101 static struct kvm_pmc *intel_pmc_idx_to_pmc(struct kvm_pmu *pmu, int pmc_idx) in intel_pmc_idx_to_pmc() 116 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_is_valid_msr_idx() 128 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_msr_idx_to_pmc() 145 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_is_valid_msr() 167 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_get_msr() 203 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_set_msr() [all …]
|
/arch/arm64/include/asm/ |
D | kvm_host.h | 295 struct kvm_pmu pmu;
|
/arch/x86/include/asm/ |
D | kvm_host.h | 459 struct kvm_pmu { struct 721 struct kvm_pmu pmu;
|