Searched refs:synic (Results 1 – 9 of 9) sorted by relevance
44 static inline u64 synic_read_sint(struct kvm_vcpu_hv_synic *synic, int sint) in synic_read_sint() argument46 return atomic64_read(&synic->sint[sint]); in synic_read_sint()56 static bool synic_has_vector_connected(struct kvm_vcpu_hv_synic *synic, in synic_has_vector_connected() argument61 for (i = 0; i < ARRAY_SIZE(synic->sint); i++) { in synic_has_vector_connected()62 if (synic_get_sint_vector(synic_read_sint(synic, i)) == vector) in synic_has_vector_connected()68 static bool synic_has_vector_auto_eoi(struct kvm_vcpu_hv_synic *synic, in synic_has_vector_auto_eoi() argument74 for (i = 0; i < ARRAY_SIZE(synic->sint); i++) { in synic_has_vector_auto_eoi()75 sint_value = synic_read_sint(synic, i); in synic_has_vector_auto_eoi()83 static void synic_update_vector(struct kvm_vcpu_hv_synic *synic, in synic_update_vector() argument89 if (synic_has_vector_connected(synic, vector)) in synic_update_vector()[all …]
68 return &vcpu->arch.hyperv.synic; in vcpu_to_synic()71 static inline struct kvm_vcpu *synic_to_vcpu(struct kvm_vcpu_hv_synic *synic) in synic_to_vcpu() argument73 return hv_vcpu_to_vcpu(container_of(synic, struct kvm_vcpu_hv, synic)); in synic_to_vcpu()
138 } synic; member
150 } synic; member
201 } synic; member
517 struct kvm_vcpu_hv_synic synic; member
2239 struct kvm_vcpu *vcpu = synic_to_vcpu(synic);2242 - if (!synic->active && (!host || data))2243 + if (!synic->active && !host)2251 - if (!synic->active)2254 for (i = 0; i < ARRAY_SIZE(synic->sint); i++)2259 struct kvm_vcpu_hv_synic *synic = vcpu_to_synic(vcpu);2261 - if (!synic->active && (!host || config))2262 + if (!synic->active && !host)2268 struct kvm_vcpu_hv_synic *synic = vcpu_to_synic(vcpu);2270 - if (!synic->active && (!host || count))[all …]
5204 } synic;