Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/kvm/
Dhyperv.c133 static struct kvm_vcpu *get_vcpu_by_vpidx(struct kvm *kvm, u32 vpidx) in get_vcpu_by_vpidx() argument
138 if (vpidx >= KVM_MAX_VCPUS) in get_vcpu_by_vpidx()
141 vcpu = kvm_get_vcpu(kvm, vpidx); in get_vcpu_by_vpidx()
142 if (vcpu && vcpu_to_hv_vcpu(vcpu)->vp_index == vpidx) in get_vcpu_by_vpidx()
145 if (vcpu_to_hv_vcpu(vcpu)->vp_index == vpidx) in get_vcpu_by_vpidx()
150 static struct kvm_vcpu_hv_synic *synic_get(struct kvm *kvm, u32 vpidx) in synic_get() argument
155 vcpu = get_vcpu_by_vpidx(kvm, vpidx); in synic_get()
328 int kvm_hv_synic_set_irq(struct kvm *kvm, u32 vpidx, u32 sint) in kvm_hv_synic_set_irq() argument
332 synic = synic_get(kvm, vpidx); in kvm_hv_synic_set_irq()
351 static int kvm_hv_set_sint_gsi(struct kvm *kvm, u32 vpidx, u32 sint, int gsi) in kvm_hv_set_sint_gsi() argument
[all …]