Lines Matching refs:msi_vectors
347 int nr = vector - vdev->msi_vectors; in vfio_msi_interrupt()
444 if (vdev->msi_vectors[i].use) { in vfio_enable_vectors()
445 if (vdev->msi_vectors[i].virq < 0 || in vfio_enable_vectors()
447 fd = event_notifier_get_fd(&vdev->msi_vectors[i].interrupt); in vfio_enable_vectors()
449 fd = event_notifier_get_fd(&vdev->msi_vectors[i].kvm_interrupt); in vfio_enable_vectors()
524 vector = &vdev->msi_vectors[nr]; in vfio_msix_vector_do_use()
623 VFIOMSIVector *vector = &vdev->msi_vectors[nr]; in vfio_msix_vector_release()
664 vfio_connect_kvm_msi_virq(&vdev->msi_vectors[i]); in vfio_commit_kvm_msi_virq_batch()
674 vdev->msi_vectors = g_new0(VFIOMSIVector, vdev->msix->entries); in vfio_msix_enable()
735 vdev->msi_vectors = g_new0(VFIOMSIVector, vdev->nr_vectors); in vfio_msi_enable()
738 VFIOMSIVector *vector = &vdev->msi_vectors[i]; in vfio_msi_enable()
797 VFIOMSIVector *vector = &vdev->msi_vectors[i]; in vfio_msi_disable_common()
798 if (vdev->msi_vectors[i].use) { in vfio_msi_disable_common()
808 g_free(vdev->msi_vectors); in vfio_msi_disable_common()
809 vdev->msi_vectors = NULL; in vfio_msi_disable_common()
826 if (vdev->msi_vectors[i].use) { in vfio_msix_disable()
868 VFIOMSIVector *vector = &vdev->msi_vectors[i]; in vfio_update_msi()