Lines Matching refs:to_hv_vcpu
64 static inline struct kvm_vcpu_hv *to_hv_vcpu(struct kvm_vcpu *vcpu) in to_hv_vcpu() function
71 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in to_hv_synic()
90 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in kvm_hv_get_vpindex()
112 return to_hv_vcpu(vcpu) && test_bit(vector, to_hv_synic(vcpu)->vec_bitmap); in kvm_hv_synic_has_vector()
117 return to_hv_vcpu(vcpu) && in kvm_hv_synic_auto_eoi_set()
129 return &to_hv_vcpu(vcpu)->stimer[timer_index]; in to_hv_stimer()
143 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in kvm_hv_has_stimer_pending()
158 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in kvm_hv_invtsc_suppressed()
199 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in kvm_hv_get_tlb_flush_fifo()
210 if (!to_hv_vcpu(vcpu) || !kvm_check_request(KVM_REQ_HV_TLB_FLUSH, vcpu)) in kvm_hv_vcpu_purge_flush_tlb()
220 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in guest_hv_cpuid_has_l2_tlb_flush()
228 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in kvm_hv_is_tlb_flush_hcall()
245 if (!to_hv_vcpu(vcpu)) in kvm_hv_verify_vp_assist()
263 if (to_hv_vcpu(vcpu) && tdp_enabled) in kvm_hv_nested_transtion_tlb_flush()