Lines Matching refs:vcpu_to_pmu
130 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_is_valid_rdpmc_ecx()
142 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_rdpmc_ecx_to_pmc()
202 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_is_valid_msr()
233 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_msr_idx_to_pmc()
250 vcpu_to_pmu(vcpu)->event_count--; in intel_pmu_release_guest_lbr_event()
257 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_create_guest_lbr_event()
335 __set_bit(INTEL_PMC_IDX_FIXED_VLBR, vcpu_to_pmu(vcpu)->pmc_in_use); in intel_pmu_handle_lbr_msrs_access()
339 clear_bit(INTEL_PMC_IDX_FIXED_VLBR, vcpu_to_pmu(vcpu)->pmc_in_use); in intel_pmu_handle_lbr_msrs_access()
350 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_get_msr()
393 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_set_msr()
487 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_refresh()
611 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_init()
635 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_reset()
678 u8 version = vcpu_to_pmu(vcpu)->version; in intel_pmu_deliver_pmi()
737 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in vmx_passthrough_lbr_msrs()