Lines Matching refs:group
687 struct vfio_group *group;
699 struct iommu_group *group;
702 group = iommu_group_get(&pdev->dev);
703 if (!group)
706 id = iommu_group_id(group);
712 iommu_group_put(group);
1193 * one group per device is the max.
1221 * For each group_fd, get the group through the vfio external
1222 * user interface and store the group and iommu ID. This
1223 * ensures the group is held across the reset.
1226 struct vfio_group *group;
1233 group = vfio_group_get_external_user(f.file);
1235 if (IS_ERR(group)) {
1236 ret = PTR_ERR(group);
1240 groups[group_idx].group = group;
1242 vfio_external_user_iommu_id(group);
1317 vfio_group_put_external_user(groups[group_idx].group);
2007 struct iommu_group *group;
2029 group = vfio_iommu_group_get(&pdev->dev);
2030 if (!group)
2092 vfio_iommu_group_put(group, &pdev->dev);
2343 * to hold vdev->reflck->lock, protecting the bus/slot reset group from
2347 * NB: vfio-core considers a group to be viable even if some devices are