Searched refs:vcpu_to_pmu (Results 1 – 6 of 6) sorted by relevance
201 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_is_valid_rdpmc_ecx()212 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_rdpmc_ecx_to_pmc()231 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_msr_idx_to_pmc()242 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_get_msr()264 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_set_msr()289 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_refresh()309 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_init()324 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in amd_pmu_reset()
128 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_is_valid_rdpmc_ecx()140 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_rdpmc_ecx_to_pmc()182 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_is_valid_msr()204 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_msr_idx_to_pmc()216 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_get_msr()256 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_set_msr()327 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_refresh()406 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_init()427 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_reset()
2903 CC(!kvm_valid_perf_global_ctrl(vcpu_to_pmu(vcpu), in nested_vmx_check_host_state()3023 CC(!kvm_valid_perf_global_ctrl(vcpu_to_pmu(vcpu), in nested_vmx_check_guest_state()
187 struct kvm_pmu *pmu = vcpu_to_pmu(pmc->vcpu); in reprogram_gp_counter()297 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_handle_event()363 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_rdpmc()400 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_mark_pmc_in_use()429 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_reset()437 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_init()461 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_pmu_cleanup()
7 #define vcpu_to_pmu(vcpu) (&(vcpu)->arch.pmu) macro
10548 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in kvm_arch_sched_in()