Home
last modified time | relevance | path

Searched refs:kvm_vcpu_idx_to_pmc (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/arm64/kvm/
H A Dpmu-emul.c34 static struct kvm_pmc *kvm_vcpu_idx_to_pmc(struct kvm_vcpu *vcpu, int cnt_idx) in kvm_vcpu_idx_to_pmc() function
129 return kvm_pmu_get_pmc_value(kvm_vcpu_idx_to_pmc(vcpu, select_idx)); in kvm_pmu_get_counter_value()
170 kvm_pmu_set_pmc_value(kvm_vcpu_idx_to_pmc(vcpu, select_idx), val, false); in kvm_pmu_set_counter_value()
234 kvm_pmu_stop_counter(kvm_vcpu_idx_to_pmc(vcpu, i)); in kvm_pmu_vcpu_reset()
247 kvm_pmu_release_perf_event(kvm_vcpu_idx_to_pmc(vcpu, i)); in kvm_pmu_vcpu_destroy()
284 pmc = kvm_vcpu_idx_to_pmc(vcpu, i); in kvm_pmu_enable_counter_mask()
316 pmc = kvm_vcpu_idx_to_pmc(vcpu, i); in kvm_pmu_disable_counter_mask()
436 struct kvm_pmc *pmc = kvm_vcpu_idx_to_pmc(vcpu, i); in kvm_pmu_counter_increment()
564 kvm_pmu_set_pmc_value(kvm_vcpu_idx_to_pmc(vcpu, i), 0, true); in kvm_pmu_handle_pmcr()
659 struct kvm_pmc *pmc = kvm_vcpu_idx_to_pmc(vcpu, select_idx); in kvm_pmu_set_counter_event_type()