Lines Matching refs:devid
120 vbasedev->devid = bind.out_devid; in iommufd_cdev_connect_and_bind()
122 vbasedev->fd, vbasedev->devid); in iommufd_cdev_connect_and_bind()
346 if (!iommufd_backend_get_device_info(vbasedev->iommufd, vbasedev->devid, in iommufd_cdev_autodomains_get()
355 if (!iommufd_backend_alloc_hwpt(iommufd, vbasedev->devid, in iommufd_cdev_autodomains_get()
655 static VFIODevice *iommufd_cdev_pci_find_by_devid(__u32 devid) in iommufd_cdev_pci_find_by_devid() argument
665 if (devid == vbasedev_iter->devid) { in iommufd_cdev_pci_find_by_devid()
678 if (dep_dev->devid == reset_dev->devid || in iommufd_cdev_dep_get_realized_vpdev()
679 dep_dev->devid == VFIO_PCI_DEVID_OWNED) { in iommufd_cdev_dep_get_realized_vpdev()
683 vbasedev_tmp = iommufd_cdev_pci_find_by_devid(dep_dev->devid); in iommufd_cdev_dep_get_realized_vpdev()
721 if (devices[i].devid == VFIO_PCI_DEVID_NOT_OWNED) { in iommufd_cdev_pci_hot_reset()
744 devices[i].devid); in iommufd_cdev_pci_hot_reset()
751 assert(devices[i].devid != VFIO_PCI_DEVID_NOT_OWNED); in iommufd_cdev_pci_hot_reset()
848 if (!iommufd_backend_get_device_info(vdev->iommufd, vdev->devid, &type, in hiod_iommufd_vfio_realize()
860 idev->devid = vdev->devid; in hiod_iommufd_vfio_realize()