Lines Matching defs:container
62 * There can only be users if there is a container, and if there is a
63 * container there must be users.
65 WARN_ON(!group->container != !group->container_users);
67 return group->container || group->iommufd;
72 * if there was no container to unset. Since the ioctl is called on
85 if (group->container) {
105 struct vfio_container *container;
128 container = vfio_container_from_file(f.file);
129 if (container) {
130 ret = vfio_container_attach_group(container, group);
367 * With the container FD the iommu_group_claim_dma_owner() is done
486 if (group->container)
756 if (group->container)
788 if (WARN_ON(!group->container))
804 if (WARN_ON(!group->container))
813 return device->group->container;