Lines Matching refs:target_vcpu
220 return irq->vcpu ? : irq->target_vcpu; in vgic_target_oracle()
229 if (unlikely(irq->target_vcpu && in vgic_target_oracle()
230 !irq->target_vcpu->kvm->arch.vgic.enabled)) in vgic_target_oracle()
233 return irq->target_vcpu; in vgic_target_oracle()
629 struct kvm_vcpu *target_vcpu, *vcpuA, *vcpuB; in vgic_prune_ap_list() local
636 target_vcpu = vgic_target_oracle(irq); in vgic_prune_ap_list()
638 if (!target_vcpu) { in vgic_prune_ap_list()
658 if (target_vcpu == vcpu) { in vgic_prune_ap_list()
673 if (vcpu->vcpu_id < target_vcpu->vcpu_id) { in vgic_prune_ap_list()
675 vcpuB = target_vcpu; in vgic_prune_ap_list()
677 vcpuA = target_vcpu; in vgic_prune_ap_list()
695 if (target_vcpu == vgic_target_oracle(irq)) { in vgic_prune_ap_list()
696 struct vgic_cpu *new_cpu = &target_vcpu->arch.vgic_cpu; in vgic_prune_ap_list()
699 irq->vcpu = target_vcpu; in vgic_prune_ap_list()
709 kvm_make_request(KVM_REQ_IRQ_PENDING, target_vcpu); in vgic_prune_ap_list()
710 kvm_vcpu_kick(target_vcpu); in vgic_prune_ap_list()