Searched defs:kvm_pmu_ops (Results 1 – 2 of 2) sorted by relevance
| /kernel/linux/linux-4.19/arch/x86/kvm/ |
| D | pmu.h | 24 struct kvm_pmu_ops { struct 25 unsigned (*find_arch_event)(struct kvm_pmu *pmu, u8 event_select, 27 unsigned (*find_fixed_event)(int idx); 28 bool (*pmc_is_enabled)(struct kvm_pmc *pmc); 29 struct kvm_pmc *(*pmc_idx_to_pmc)(struct kvm_pmu *pmu, int pmc_idx); 30 struct kvm_pmc *(*msr_idx_to_pmc)(struct kvm_vcpu *vcpu, unsigned idx, 32 int (*is_valid_msr_idx)(struct kvm_vcpu *vcpu, unsigned idx); 33 bool (*is_valid_msr)(struct kvm_vcpu *vcpu, u32 msr); 34 int (*get_msr)(struct kvm_vcpu *vcpu, u32 msr, u64 *data); 35 int (*set_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr_info); [all …]
|
| /kernel/linux/linux-5.10/arch/x86/kvm/ |
| D | pmu.h | 26 struct kvm_pmu_ops { struct 27 unsigned (*find_arch_event)(struct kvm_pmu *pmu, u8 event_select, 29 unsigned (*find_fixed_event)(int idx); 30 bool (*pmc_is_enabled)(struct kvm_pmc *pmc); 31 struct kvm_pmc *(*pmc_idx_to_pmc)(struct kvm_pmu *pmu, int pmc_idx); 32 struct kvm_pmc *(*rdpmc_ecx_to_pmc)(struct kvm_vcpu *vcpu, 34 struct kvm_pmc *(*msr_idx_to_pmc)(struct kvm_vcpu *vcpu, u32 msr); 35 int (*is_valid_rdpmc_ecx)(struct kvm_vcpu *vcpu, unsigned int idx); 36 bool (*is_valid_msr)(struct kvm_vcpu *vcpu, u32 msr); 37 int (*get_msr)(struct kvm_vcpu *vcpu, struct msr_data *msr_info); [all …]
|