Lines Matching refs:kvm_pmc
26 static void kvm_pmu_create_perf_event(struct kvm_pmc *pmc);
27 static void kvm_pmu_release_perf_event(struct kvm_pmc *pmc);
29 static struct kvm_vcpu *kvm_pmc_to_vcpu(const struct kvm_pmc *pmc)
34 static struct kvm_pmc *kvm_vcpu_idx_to_pmc(struct kvm_vcpu *vcpu, int cnt_idx)
83 static bool kvm_pmc_is_64bit(struct kvm_pmc *pmc)
91 static bool kvm_pmc_has_64bit_overflow(struct kvm_pmc *pmc)
99 static bool kvm_pmu_counter_can_chain(struct kvm_pmc *pmc)
115 static u64 kvm_pmu_get_pmc_value(struct kvm_pmc *pmc)
150 static void kvm_pmu_set_pmc_value(struct kvm_pmc *pmc, u64 val, bool force)
195 static void kvm_pmu_release_perf_event(struct kvm_pmc *pmc)
210 static void kvm_pmu_stop_counter(struct kvm_pmc *pmc)
296 struct kvm_pmc *pmc;
328 struct kvm_pmc *pmc;
453 struct kvm_pmc *pmc = kvm_vcpu_idx_to_pmc(vcpu, i);
482 static u64 compute_period(struct kvm_pmc *pmc, u64 counter)
501 struct kvm_pmc *pmc = perf_event->overflow_handler_context;
586 static bool kvm_pmu_counter_is_enabled(struct kvm_pmc *pmc)
597 static void kvm_pmu_create_perf_event(struct kvm_pmc *pmc)
682 struct kvm_pmc *pmc = kvm_vcpu_idx_to_pmc(vcpu, select_idx);