Home
last modified time | relevance | path

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

/arch/x86/kvm/
Dhyperv.c39 static void stimer_mark_pending(struct kvm_vcpu_hv_stimer *stimer,
167 struct kvm_vcpu_hv_stimer *stimer; in kvm_hv_notify_acked_sint() local
173 for (idx = 0; idx < ARRAY_SIZE(hv_vcpu->stimer); idx++) { in kvm_hv_notify_acked_sint()
174 stimer = &hv_vcpu->stimer[idx]; in kvm_hv_notify_acked_sint()
175 if (stimer->msg_pending && stimer->config.enable && in kvm_hv_notify_acked_sint()
176 !stimer->config.direct_mode && in kvm_hv_notify_acked_sint()
177 stimer->config.sintx == sint) in kvm_hv_notify_acked_sint()
178 stimer_mark_pending(stimer, false); in kvm_hv_notify_acked_sint()
415 static void stimer_mark_pending(struct kvm_vcpu_hv_stimer *stimer, in stimer_mark_pending() argument
418 struct kvm_vcpu *vcpu = stimer_to_vcpu(stimer); in stimer_mark_pending()
[all …]
Dhyperv.h71 return &vcpu_to_hv_vcpu(vcpu)->stimer[timer_index]; in vcpu_to_stimer()
74 static inline struct kvm_vcpu *stimer_to_vcpu(struct kvm_vcpu_hv_stimer *stimer) in stimer_to_vcpu() argument
78 hv_vcpu = container_of(stimer - stimer->index, struct kvm_vcpu_hv, in stimer_to_vcpu()
79 stimer[0]); in stimer_to_vcpu()
/arch/x86/include/asm/
Dkvm_host.h532 struct kvm_vcpu_hv_stimer stimer[HV_SYNIC_STIMER_COUNT]; member