Searched refs:vbasedev_iter (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/hw/vfio/ |
H A D | container.c | 907 VFIODevice *vbasedev_iter; in vfio_legacy_attach_device() local 926 QLIST_FOREACH(vbasedev_iter, &group->device_list, next) { in vfio_legacy_attach_device() 927 if (strcmp(vbasedev_iter->name, vbasedev->name) == 0) { in vfio_legacy_attach_device() 989 VFIODevice *vbasedev_iter; in vfio_legacy_pci_hot_reset() local 1020 QLIST_FOREACH(vbasedev_iter, &group->device_list, next) { in vfio_legacy_pci_hot_reset() 1021 if (!vbasedev_iter->dev->realized || in vfio_legacy_pci_hot_reset() 1022 vbasedev_iter->type != VFIO_DEVICE_TYPE_PCI) { in vfio_legacy_pci_hot_reset() 1025 tmp = container_of(vbasedev_iter, VFIOPCIDevice, vbasedev); in vfio_legacy_pci_hot_reset() 1084 VFIODevice *vbasedev_iter; in vfio_legacy_pci_hot_reset() local 1105 QLIST_FOREACH(vbasedev_iter, &group->device_list, next) { in vfio_legacy_pci_hot_reset() [all …]
|
H A D | iommufd.c | 642 VFIODevice *vbasedev_iter; in iommufd_cdev_pci_find_by_devid() local 646 QLIST_FOREACH(vbasedev_iter, &vfio_device_list, global_next) { in iommufd_cdev_pci_find_by_devid() 647 if (VFIO_IOMMU_GET_CLASS(vbasedev_iter->bcontainer) != iommufd_vioc) { in iommufd_cdev_pci_find_by_devid() 650 if (devid == vbasedev_iter->devid) { in iommufd_cdev_pci_find_by_devid() 651 return vbasedev_iter; in iommufd_cdev_pci_find_by_devid()
|