Lines Matching refs:container
65 WARN_ON(!group->container != !group->container_users); in vfio_group_has_iommu()
67 return group->container || group->iommufd; in vfio_group_has_iommu()
85 if (group->container) { in vfio_group_ioctl_unset_container()
105 struct vfio_container *container; in vfio_group_ioctl_set_container() local
128 container = vfio_container_from_file(f.file); in vfio_group_ioctl_set_container()
129 if (container) { in vfio_group_ioctl_set_container()
130 ret = vfio_container_attach_group(container, group); in vfio_group_ioctl_set_container()
486 if (group->container) in vfio_group_fops_release()
756 if (group->container) in vfio_device_remove_group()
788 if (WARN_ON(!group->container)) in vfio_device_group_use_iommu()
804 if (WARN_ON(!group->container)) in vfio_device_group_unuse_iommu()
813 return device->group->container; in vfio_device_has_container()