Searched refs:vbasedev_iter (Results 1 – 2 of 2) sorted by relevance
| /openbmc/qemu/hw/vfio/ |
| H A D | container.c | 962 VFIODevice *vbasedev_iter; in vfio_legacy_attach_device() local 976 QLIST_FOREACH(vbasedev_iter, &group->device_list, next) { in vfio_legacy_attach_device() 977 if (strcmp(vbasedev_iter->name, vbasedev->name) == 0) { in vfio_legacy_attach_device() 1057 VFIODevice *vbasedev_iter; in vfio_legacy_pci_hot_reset() local 1088 QLIST_FOREACH(vbasedev_iter, &group->device_list, next) { in vfio_legacy_pci_hot_reset() 1089 if (!vbasedev_iter->dev->realized || in vfio_legacy_pci_hot_reset() 1090 vbasedev_iter->type != VFIO_DEVICE_TYPE_PCI) { in vfio_legacy_pci_hot_reset() 1093 tmp = container_of(vbasedev_iter, VFIOPCIDevice, vbasedev); in vfio_legacy_pci_hot_reset() 1152 VFIODevice *vbasedev_iter; in vfio_legacy_pci_hot_reset() local 1173 QLIST_FOREACH(vbasedev_iter, &group->device_list, next) { in vfio_legacy_pci_hot_reset() [all …]
|
| H A D | iommufd.c | 714 VFIODevice *vbasedev_iter; in iommufd_cdev_pci_find_by_devid() local 718 QLIST_FOREACH(vbasedev_iter, &vfio_device_list, global_next) { in iommufd_cdev_pci_find_by_devid() 719 if (VFIO_IOMMU_GET_CLASS(vbasedev_iter->bcontainer) != iommufd_vioc) { in iommufd_cdev_pci_find_by_devid() 722 if (devid == vbasedev_iter->devid) { in iommufd_cdev_pci_find_by_devid() 723 return vbasedev_iter; in iommufd_cdev_pci_find_by_devid()
|