Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/kvm/
H A Dloongson_ipi.c123 kvm_vcpu_ioctl_interrupt(kvm_get_vcpu(kvm, id), &irq); in loongson_vipi_write()
131 kvm_vcpu_ioctl_interrupt(kvm_get_vcpu(kvm, id), &irq); in loongson_vipi_write()
H A Dmips.c498 dvcpu = kvm_get_vcpu(vcpu->kvm, irq->cpu); in kvm_vcpu_ioctl_interrupt()
/openbmc/linux/arch/riscv/kvm/
H A Daia_device.c20 tmp_vcpu = kvm_get_vcpu(kvm, vcpu_lock_idx); in unlock_vcpus()
196 vcpu = kvm_get_vcpu(kvm, vcpu_idx); in aia_imsic_addr()
317 vcpu = kvm_get_vcpu(kvm, i); in aia_init()
/openbmc/linux/arch/arm64/kvm/vgic/
H A Dvgic-its.c394 vcpu = kvm_get_vcpu(kvm, ite->collection->target_addr); in update_affinity_ite()
689 vcpu = kvm_get_vcpu(kvm, ite->collection->target_addr); in vgic_its_resolve_lpi()
902 vcpu = kvm_get_vcpu(kvm, collection->target_addr); in vgic_its_cmd_handle_movi()
1136 vcpu = kvm_get_vcpu(kvm, collection->target_addr); in vgic_its_cmd_handle_mapi()
1399 vcpu = kvm_get_vcpu(kvm, collection->target_addr); in vgic_its_cmd_handle_invall()
1430 vcpu1 = kvm_get_vcpu(kvm, target1_addr); in vgic_its_cmd_handle_movall()
1431 vcpu2 = kvm_get_vcpu(kvm, target2_addr); in vgic_its_cmd_handle_movall()
2277 vcpu = kvm_get_vcpu(kvm, collection->target_addr); in vgic_its_restore_ite()
H A Dvgic-v3.c360 free_irq(dist->its_vm.vpes[i]->irq, kvm_get_vcpu(kvm, i)); in unmap_all_vpes()
369 WARN_ON(vgic_v4_request_vpe_irq(kvm_get_vcpu(kvm, i), in map_all_vpes()
H A Dvgic-debug.c247 vcpu = kvm_get_vcpu(kvm, iter->vcpu_id); in vgic_debug_show()
H A Dvgic-v4.c326 struct kvm_vcpu *vcpu = kvm_get_vcpu(kvm, i); in vgic_v4_teardown()
H A Dvgic-init.c143 struct kvm_vcpu *vcpu0 = kvm_get_vcpu(kvm, 0); in kvm_vgic_dist_init()
H A Dvgic-mmio-v2.c201 irq->target_vcpu = kvm_get_vcpu(vcpu->kvm, target); in vgic_mmio_write_target()
H A Dvgic-kvm-device.c489 reg_attr->vcpu = kvm_get_vcpu(dev->kvm, 0); in vgic_v3_parse_attr()
H A Dvgic.c453 vcpu = kvm_get_vcpu(kvm, cpuid); in kvm_vgic_inject_irq()
H A Dvgic-mmio-v3.c859 vcpu = kvm_get_vcpu(kvm, i); in vgic_register_all_redist_iodevs()
/openbmc/linux/arch/arm64/kvm/
H A Darm.c1148 vcpu = kvm_get_vcpu(kvm, vcpu_idx); in kvm_vm_ioctl_irq_line()
1163 vcpu = kvm_get_vcpu(kvm, vcpu_idx); in kvm_vm_ioctl_irq_line()
1634 tmp_vcpu = kvm_get_vcpu(kvm, vcpu_lock_idx); in unlock_vcpus()
/openbmc/linux/arch/x86/kvm/
H A Dirq_comm.c95 lowest = kvm_get_vcpu(kvm, idx); in kvm_irq_delivery_to_apic()
H A Dhyperv.c198 vcpu = kvm_get_vcpu(kvm, vpidx); in get_vcpu_by_vpidx()
581 vcpu = kvm_get_vcpu(kvm, 0); in get_time_ref_counter()
2096 v = kvm_get_vcpu(kvm, i); in kvm_hv_flush_tlb()
H A Dxen.c1564 vcpu = kvm_get_vcpu(kvm, vcpu_idx); in kvm_xen_set_evtchn_fast()
/openbmc/linux/include/linux/
H A Dkvm_host.h920 static inline struct kvm_vcpu *kvm_get_vcpu(struct kvm *kvm, int i) in kvm_get_vcpu() function
942 vcpu = kvm_get_vcpu(kvm, id); in kvm_get_vcpu_by_id()
/openbmc/linux/arch/s390/kvm/
H A Dinterrupt.c1969 } while (is_vcpu_stopped(kvm_get_vcpu(kvm, sigcpu))); in __floating_irq_kick()
1971 dst_vcpu = kvm_get_vcpu(kvm, sigcpu); in __floating_irq_kick()
3076 vcpu = kvm_get_vcpu(kvm, vcpu_idx); in __airqs_kick_single_vcpu()
H A Dkvm-s390.c5231 if (!is_vcpu_stopped(kvm_get_vcpu(vcpu->kvm, i))) in kvm_s390_vcpu_start()
5298 struct kvm_vcpu *tmp = kvm_get_vcpu(vcpu->kvm, i); in kvm_s390_vcpu_stop()
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_pr.c1959 vcpu = kvm_get_vcpu(kvm, 0); in kvm_vm_ioctl_get_smmu_info_pr()
/openbmc/linux/arch/x86/kvm/svm/
H A Dsev.c1760 src_vcpu = kvm_get_vcpu(src_kvm, i); in sev_migrate_from()
/openbmc/linux/virt/kvm/
H A Dkvm_main.c304 vcpu = kvm_get_vcpu(kvm, i); in kvm_make_vcpus_request_mask()