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)
67 static bool kvm_pmc_is_64bit(struct kvm_pmc *pmc)
73 static bool kvm_pmc_has_64bit_overflow(struct kvm_pmc *pmc)
81 static bool kvm_pmu_counter_can_chain(struct kvm_pmc *pmc)
97 static u64 kvm_pmu_get_pmc_value(struct kvm_pmc *pmc)
132 static void kvm_pmu_set_pmc_value(struct kvm_pmc *pmc, u64 val, bool force)
177 static void kvm_pmu_release_perf_event(struct kvm_pmc *pmc)
192 static void kvm_pmu_stop_counter(struct kvm_pmc *pmc)
279 struct kvm_pmc *pmc;
311 struct kvm_pmc *pmc;
436 struct kvm_pmc *pmc = kvm_vcpu_idx_to_pmc(vcpu, i);
465 static u64 compute_period(struct kvm_pmc *pmc, u64 counter)
484 struct kvm_pmc *pmc = perf_event->overflow_handler_context;
569 static bool kvm_pmu_counter_is_enabled(struct kvm_pmc *pmc)
580 static void kvm_pmu_create_perf_event(struct kvm_pmc *pmc)
659 struct kvm_pmc *pmc = kvm_vcpu_idx_to_pmc(vcpu, select_idx);