Lines Matching refs:vcpu_to_pmu
62 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_rdpmc_ecx_to_pmc()
152 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_is_valid_msr()
183 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_msr_idx_to_pmc()
200 vcpu_to_pmu(vcpu)->event_count--; in intel_pmu_release_guest_lbr_event()
207 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_create_guest_lbr_event()
285 __set_bit(INTEL_PMC_IDX_FIXED_VLBR, vcpu_to_pmu(vcpu)->pmc_in_use); in intel_pmu_handle_lbr_msrs_access()
289 clear_bit(INTEL_PMC_IDX_FIXED_VLBR, vcpu_to_pmu(vcpu)->pmc_in_use); in intel_pmu_handle_lbr_msrs_access()
300 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_get_msr()
343 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_set_msr()
461 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_refresh()
570 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in intel_pmu_init()
618 u8 version = vcpu_to_pmu(vcpu)->version; in intel_pmu_deliver_pmi()
677 struct kvm_pmu *pmu = vcpu_to_pmu(vcpu); in vmx_passthrough_lbr_msrs()