Home
last modified time | relevance | path

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

/Linux-v5.15/arch/x86/kvm/
Dhyperv.h65 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in to_hv_synic() local
67 return &hv_vcpu->synic; in to_hv_synic()
72 struct kvm_vcpu_hv *hv_vcpu = container_of(synic, struct kvm_vcpu_hv, synic); in hv_synic_to_vcpu() local
74 return hv_vcpu->vcpu; in hv_synic_to_vcpu()
84 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in kvm_hv_get_vpindex() local
86 return hv_vcpu ? hv_vcpu->vp_index : vcpu->vcpu_idx; in kvm_hv_get_vpindex()
114 struct kvm_vcpu_hv *hv_vcpu; in hv_stimer_to_vcpu() local
116 hv_vcpu = container_of(stimer - stimer->index, struct kvm_vcpu_hv, in hv_stimer_to_vcpu()
118 return hv_vcpu->vcpu; in hv_stimer_to_vcpu()
123 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in kvm_hv_has_stimer_pending() local
[all …]
Dhyperv.c197 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in kvm_hv_notify_acked_sint() local
204 for (idx = 0; idx < ARRAY_SIZE(hv_vcpu->stimer); idx++) { in kvm_hv_notify_acked_sint()
205 stimer = &hv_vcpu->stimer[idx]; in kvm_hv_notify_acked_sint()
222 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in synic_exit() local
224 hv_vcpu->exit.type = KVM_EXIT_HYPERV_SYNIC; in synic_exit()
225 hv_vcpu->exit.u.synic.msr = msr; in synic_exit()
226 hv_vcpu->exit.u.synic.control = synic->control; in synic_exit()
227 hv_vcpu->exit.u.synic.evt_page = synic->evt_page; in synic_exit()
228 hv_vcpu->exit.u.synic.msg_page = synic->msg_page; in synic_exit()
301 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in kvm_hv_is_syndbg_enabled() local
[all …]
Dx86.c9544 struct kvm_vcpu_hv *hv_vcpu = to_hv_vcpu(vcpu); in vcpu_enter_guest() local
9547 vcpu->run->hyperv = hv_vcpu->exit; in vcpu_enter_guest()