Searched refs:kvm_pmu (Results 1 - 16 of 16) sorted by path

/linux-master/arch/arm64/include/asm/
H A Dkvm_host.h660 struct kvm_pmu pmu;
/linux-master/arch/arm64/kvm/
H A Dpmu-emul.c235 struct kvm_pmu *pmu = &vcpu->arch.pmu;
355 struct kvm_pmu *pmu = &vcpu->arch.pmu;
376 struct kvm_pmu *pmu = &vcpu->arch.pmu;
/linux-master/arch/riscv/include/asm/
H A Dkvm_host.h276 struct kvm_pmu pmu_context;
H A Dkvm_vcpu_pmu.h43 struct kvm_pmu { struct
104 struct kvm_pmu { struct
/linux-master/arch/riscv/kvm/
H A Dvcpu_pmu.c158 static int kvm_pmu_get_programmable_pmc_index(struct kvm_pmu *kvpmu, unsigned long eidx,
187 static int pmu_get_pmc_index(struct kvm_pmu *pmu, unsigned long eidx,
203 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu);
233 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu);
258 static int kvm_pmu_validate_counter_mask(struct kvm_pmu *kvpmu, unsigned long ctr_base,
274 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu);
343 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu);
360 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu);
393 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu);
414 struct kvm_pmu *kvpm
[all...]
H A Dvcpu_sbi_pmu.c21 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu);
85 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu);
/linux-master/arch/x86/events/intel/
H A Dcore.c4120 struct kvm_pmu *kvm_pmu = (struct kvm_pmu *)data; local
4158 if (!kvm_pmu || !x86_pmu.pebs_ept)
4164 .guest = kvm_pmu->ds_area,
4171 .guest = kvm_pmu->pebs_data_cfg,
4187 arr[pebs_enable].guest &= ~kvm_pmu->host_cross_mapped_mask;
4188 arr[global_ctrl].guest &= ~kvm_pmu->host_cross_mapped_mask;
/linux-master/arch/x86/include/asm/
H A Dkvm_host.h543 struct kvm_pmu { struct
956 struct kvm_pmu pmu;
/linux-master/arch/x86/kvm/
H A Dpmu.c55 * kvm_pmu";
101 struct kvm_pmu *pmu = pmc_to_pmu(pmc);
180 struct kvm_pmu *pmu = pmc_to_pmu(pmc);
218 pr_debug_ratelimited("kvm_pmu: event creation failed %ld for pmc->idx = %d\n",
452 struct kvm_pmu *pmu = pmc_to_pmu(pmc);
498 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu);
584 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu);
631 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu);
640 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu);
665 struct kvm_pmu *pm
[all...]
H A Dpmu.h51 static inline bool kvm_pmu_has_perf_global_ctrl(struct kvm_pmu *pmu)
79 static inline struct kvm_pmc *kvm_pmc_idx_to_pmc(struct kvm_pmu *pmu, int idx)
99 struct kvm_pmu *pmu = pmc_to_pmu(pmc);
129 static inline bool kvm_valid_perf_global_ctrl(struct kvm_pmu *pmu,
139 static inline struct kvm_pmc *get_gp_pmc(struct kvm_pmu *pmu, u32 msr,
153 static inline struct kvm_pmc *get_fixed_pmc(struct kvm_pmu *pmu, u32 msr)
169 struct kvm_pmu *pmu = pmc_to_pmu(pmc);
234 static inline void reprogram_counters(struct kvm_pmu *pmu, u64 diff)
253 struct kvm_pmu *pmu = pmc_to_pmu(pmc);
H A Dx86.c12573 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu);
/linux-master/arch/x86/kvm/svm/
H A Dpmu.c28 static struct kvm_pmc *amd_pmu_get_pmc(struct kvm_pmu *pmu, int pmc_idx)
38 static inline struct kvm_pmc *get_gp_pmc_amd(struct kvm_pmu *pmu, u32 msr,
78 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu);
95 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu);
106 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu);
129 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu);
151 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu);
178 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu);
217 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu);
/linux-master/arch/x86/kvm/vmx/
H A Dpmu_intel.c37 static void reprogram_fixed_counters(struct kvm_pmu *pmu, u64 data)
62 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu);
124 static inline struct kvm_pmc *get_fw_gp_pmc(struct kvm_pmu *pmu, u32 msr)
152 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu);
183 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu);
207 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu);
300 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu);
343 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu);
453 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu);
564 struct kvm_pmu *pm
[all...]
H A Dvmx.c7182 struct kvm_pmu *pmu = vcpu_to_pmu(&vmx->vcpu);
H A Dvmx.h682 void intel_pmu_cross_mapped_check(struct kvm_pmu *pmu);
/linux-master/include/kvm/
H A Darm_pmu.h26 struct kvm_pmu { struct
100 struct kvm_pmu { struct

Completed in 624 milliseconds