Searched refs:vpidx (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/arch/x86/kvm/ |
D | hyperv.c | 130 static struct kvm_vcpu *get_vcpu_by_vpidx(struct kvm *kvm, u32 vpidx) in get_vcpu_by_vpidx() argument 135 if (vpidx < KVM_MAX_VCPUS) in get_vcpu_by_vpidx() 136 vcpu = kvm_get_vcpu(kvm, vpidx); in get_vcpu_by_vpidx() 137 if (vcpu && vcpu_to_hv_vcpu(vcpu)->vp_index == vpidx) in get_vcpu_by_vpidx() 140 if (vcpu_to_hv_vcpu(vcpu)->vp_index == vpidx) in get_vcpu_by_vpidx() 145 static struct kvm_vcpu_hv_synic *synic_get(struct kvm *kvm, u32 vpidx) in synic_get() argument 150 vcpu = get_vcpu_by_vpidx(kvm, vpidx); in synic_get() 358 int kvm_hv_synic_set_irq(struct kvm *kvm, u32 vpidx, u32 sint) in kvm_hv_synic_set_irq() argument 362 synic = synic_get(kvm, vpidx); in kvm_hv_synic_set_irq() 381 static int kvm_hv_set_sint_gsi(struct kvm *kvm, u32 vpidx, u32 sint, int gsi) in kvm_hv_set_sint_gsi() argument [all …]
|