Lines Matching refs:vfio_group
26 static struct vfio_device *vfio_device_get_from_name(struct vfio_group *group, in vfio_device_get_from_name()
58 static bool vfio_group_has_iommu(struct vfio_group *group) in vfio_group_has_iommu()
76 static int vfio_group_ioctl_unset_container(struct vfio_group *group) in vfio_group_ioctl_unset_container()
102 static int vfio_group_ioctl_set_container(struct vfio_group *group, in vfio_group_ioctl_set_container()
261 static int vfio_group_ioctl_get_device_fd(struct vfio_group *group, in vfio_group_ioctl_get_device_fd()
301 static int vfio_group_ioctl_get_status(struct vfio_group *group, in vfio_group_ioctl_get_status()
343 struct vfio_group *group = filep->private_data; in vfio_group_fops_unl_ioctl()
362 struct vfio_group *group = in vfio_group_fops_open()
363 container_of(inode->i_cdev, struct vfio_group, cdev); in vfio_group_fops_open()
399 struct vfio_group *group = filep->private_data; in vfio_group_fops_release()
431 static struct vfio_group *
434 struct vfio_group *group; in vfio_group_find_from_iommu()
451 struct vfio_group *group = container_of(dev, struct vfio_group, dev); in vfio_group_release()
460 static struct vfio_group *vfio_group_alloc(struct iommu_group *iommu_group, in vfio_group_alloc()
463 struct vfio_group *group; in vfio_group_alloc()
497 static struct vfio_group *vfio_create_group(struct iommu_group *iommu_group, in vfio_create_group()
500 struct vfio_group *group; in vfio_create_group()
501 struct vfio_group *ret; in vfio_create_group()
533 static struct vfio_group *vfio_noiommu_group_alloc(struct device *dev, in vfio_noiommu_group_alloc()
537 struct vfio_group *group; in vfio_noiommu_group_alloc()
568 static bool vfio_group_has_device(struct vfio_group *group, struct device *dev) in vfio_group_has_device()
583 static struct vfio_group *vfio_group_find_or_alloc(struct device *dev) in vfio_group_find_or_alloc()
586 struct vfio_group *group; in vfio_group_find_or_alloc()
637 struct vfio_group *group; in vfio_device_set_group()
654 struct vfio_group *group = device->group; in vfio_device_remove_group()
715 struct vfio_group *group = device->group; in vfio_device_group_use_iommu()
732 struct vfio_group *group = device->group; in vfio_device_group_unuse_iommu()
758 struct vfio_group *group = file->private_data; in vfio_file_iommu_group()
798 struct vfio_group *group = file->private_data; in vfio_file_enforced_coherent()
834 struct vfio_group *group = file->private_data; in vfio_file_set_kvm()
854 struct vfio_group *group = file->private_data; in vfio_file_has_dev()