Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/x86/kvm/
H A Dhyperv.c135 static struct kvm_vcpu *get_vcpu_by_vpidx(struct kvm *kvm, u32 vpidx) in get_vcpu_by_vpidx() argument
140 if (vpidx >= KVM_MAX_VCPUS) in get_vcpu_by_vpidx()
143 vcpu = kvm_get_vcpu(kvm, vpidx); in get_vcpu_by_vpidx()
144 if (vcpu && vcpu_to_hv_vcpu(vcpu)->vp_index == vpidx) in get_vcpu_by_vpidx()
147 if (vcpu_to_hv_vcpu(vcpu)->vp_index == vpidx) in get_vcpu_by_vpidx()
152 static struct kvm_vcpu_hv_synic *synic_get(struct kvm *kvm, u32 vpidx) in synic_get() argument
157 vcpu = get_vcpu_by_vpidx(kvm, vpidx); in synic_get()
453 int kvm_hv_synic_set_irq(struct kvm *kvm, u32 vpidx, u32 sint) in kvm_hv_synic_set_irq() argument
457 synic = synic_get(kvm, vpidx); in kvm_hv_synic_set_irq()
476 static int kvm_hv_set_sint_gsi(struct kvm *kvm, u32 vpidx, u3 argument
[all...]
/kernel/linux/linux-6.6/arch/x86/kvm/
H A 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, u3 argument
[all...]

Completed in 4 milliseconds