Home
last modified time | relevance | path

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

/linux-4.19.296/virt/kvm/arm/
Dtrace.h92 TP_PROTO(unsigned int type, int vcpu_idx, int irq_num, int level),
93 TP_ARGS(type, vcpu_idx, irq_num, level),
97 __field( int, vcpu_idx )
104 __entry->vcpu_idx = vcpu_idx;
113 __entry->type, __entry->vcpu_idx, __entry->irq_num, __entry->level)
Darm.c910 unsigned int irq_type, vcpu_idx, irq_num; in kvm_vm_ioctl_irq_line() local
916 vcpu_idx = (irq >> KVM_ARM_IRQ_VCPU_SHIFT) & KVM_ARM_IRQ_VCPU_MASK; in kvm_vm_ioctl_irq_line()
919 trace_kvm_irq_line(irq_type, vcpu_idx, irq_num, irq_level->level); in kvm_vm_ioctl_irq_line()
926 if (vcpu_idx >= nrcpus) in kvm_vm_ioctl_irq_line()
929 vcpu = kvm_get_vcpu(kvm, vcpu_idx); in kvm_vm_ioctl_irq_line()
941 if (vcpu_idx >= nrcpus) in kvm_vm_ioctl_irq_line()
944 vcpu = kvm_get_vcpu(kvm, vcpu_idx); in kvm_vm_ioctl_irq_line()
/linux-4.19.296/include/linux/
Dkvm_host.h253 int vcpu_idx; /* index in kvm->vcpus array */ member
582 return vcpu->vcpu_idx; in kvm_vcpu_get_idx()
/linux-4.19.296/virt/kvm/
Dkvm_main.c2767 vcpu->vcpu_idx = atomic_read(&kvm->online_vcpus); in kvm_vm_ioctl_create_vcpu()
2768 BUG_ON(kvm->vcpus[vcpu->vcpu_idx]); in kvm_vm_ioctl_create_vcpu()
2778 kvm->vcpus[vcpu->vcpu_idx] = vcpu; in kvm_vm_ioctl_create_vcpu()