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

/linux-master/arch/x86/kvm/
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 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 Dx86.c12507 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/riscv/kvm/
H A Dvcpu_sbi_pmu.c21 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu);
76 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu);
H A Dvcpu_pmu.c157 static int kvm_pmu_get_programmable_pmc_index(struct kvm_pmu *kvpmu, unsigned long eidx,
186 static int pmu_get_pmc_index(struct kvm_pmu *pmu, unsigned long eidx,
202 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu);
222 static int kvm_pmu_validate_counter_mask(struct kvm_pmu *kvpmu, unsigned long ctr_base,
265 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu);
282 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu);
316 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu);
326 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu);
342 struct kvm_pmu *kvpmu = vcpu_to_pmu(vcpu);
398 struct kvm_pmu *kvpm
[all...]
/linux-master/arch/riscv/include/asm/
H A Dkvm_vcpu_pmu.h42 struct kvm_pmu { struct
92 struct kvm_pmu { struct
H A Dkvm_host.h262 struct kvm_pmu pmu_context;
/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.h678 void intel_pmu_cross_mapped_check(struct kvm_pmu *pmu);
H A Dvmx.c7155 struct kvm_pmu *pmu = vcpu_to_pmu(&vmx->vcpu);
/linux-master/include/kvm/
H A Darm_pmu.h26 struct kvm_pmu { struct
100 struct kvm_pmu { struct
/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/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.h540 struct kvm_pmu { struct
953 struct kvm_pmu pmu;
/linux-master/arch/arm64/include/asm/
H A Dkvm_host.h658 struct kvm_pmu pmu;

Completed in 310 milliseconds