Home
last modified time | relevance | path

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

/linux-6.6.21/arch/x86/kvm/
Dhyperv.c190 static struct kvm_vcpu *get_vcpu_by_vpidx(struct kvm *kvm, u32 vpidx) in get_vcpu_by_vpidx() argument
195 if (vpidx >= KVM_MAX_VCPUS) in get_vcpu_by_vpidx()
198 vcpu = kvm_get_vcpu(kvm, vpidx); in get_vcpu_by_vpidx()
199 if (vcpu && kvm_hv_get_vpindex(vcpu) == vpidx) in get_vcpu_by_vpidx()
202 if (kvm_hv_get_vpindex(vcpu) == vpidx) in get_vcpu_by_vpidx()
207 static struct kvm_vcpu_hv_synic *synic_get(struct kvm *kvm, u32 vpidx) in synic_get() argument
212 vcpu = get_vcpu_by_vpidx(kvm, vpidx); in synic_get()
500 int kvm_hv_synic_set_irq(struct kvm *kvm, u32 vpidx, u32 sint) in kvm_hv_synic_set_irq() argument
504 synic = synic_get(kvm, vpidx); in kvm_hv_synic_set_irq()
523 static int kvm_hv_set_sint_gsi(struct kvm *kvm, u32 vpidx, u32 sint, int gsi) in kvm_hv_set_sint_gsi() argument
[all …]