Lines Matching refs:iommu_driver

22 	struct vfio_iommu_driver	*iommu_driver;  member
173 struct vfio_iommu_driver *iommu_driver = in vfio_device_container_register() local
174 device->group->container->iommu_driver; in vfio_device_container_register()
176 if (iommu_driver && iommu_driver->ops->register_device) in vfio_device_container_register()
177 iommu_driver->ops->register_device( in vfio_device_container_register()
183 struct vfio_iommu_driver *iommu_driver = in vfio_device_container_unregister() local
184 device->group->container->iommu_driver; in vfio_device_container_unregister()
186 if (iommu_driver && iommu_driver->ops->unregister_device) in vfio_device_container_unregister()
187 iommu_driver->ops->unregister_device( in vfio_device_container_unregister()
199 driver = container->iommu_driver; in vfio_container_ioctl_check_extension()
282 if (list_empty(&container->group_list) || container->iommu_driver) { in vfio_ioctl_set_iommu()
322 container->iommu_driver = driver; in vfio_ioctl_set_iommu()
355 driver = container->iommu_driver; in vfio_fops_unl_ioctl()
385 struct vfio_iommu_driver *driver = container->iommu_driver; in vfio_fops_release()
453 driver = container->iommu_driver; in vfio_container_attach_group()
489 driver = container->iommu_driver; in vfio_group_detach_container()
505 container->iommu_driver = NULL; in vfio_group_detach_container()
520 if (!group->container || !group->container->iommu_driver || in vfio_device_assign_container()
571 driver = container->iommu_driver; in vfio_pin_pages()
603 driver = container->iommu_driver; in vfio_unpin_pages()
638 driver = container->iommu_driver; in vfio_dma_rw()