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()
313 static int vfio_group_ioctl_get_device_fd(struct vfio_group *group, in vfio_group_ioctl_get_device_fd()
353 static int vfio_group_ioctl_get_status(struct vfio_group *group, in vfio_group_ioctl_get_status()
395 struct vfio_group *group = filep->private_data; in vfio_group_fops_unl_ioctl()
414 struct vfio_group *group = device->group; in vfio_device_block_group()
432 struct vfio_group *group = device->group; in vfio_device_unblock_group()
441 struct vfio_group *group = in vfio_group_fops_open()
442 container_of(inode->i_cdev, struct vfio_group, cdev); in vfio_group_fops_open()
483 struct vfio_group *group = filep->private_data; in vfio_group_fops_release()
515 static struct vfio_group *
518 struct vfio_group *group; in vfio_group_find_from_iommu()
535 struct vfio_group *group = container_of(dev, struct vfio_group, dev); in vfio_group_release()
545 static struct vfio_group *vfio_group_alloc(struct iommu_group *iommu_group, in vfio_group_alloc()
548 struct vfio_group *group; in vfio_group_alloc()
582 static struct vfio_group *vfio_create_group(struct iommu_group *iommu_group, in vfio_create_group()
585 struct vfio_group *group; in vfio_create_group()
586 struct vfio_group *ret; in vfio_create_group()
618 static struct vfio_group *vfio_noiommu_group_alloc(struct device *dev, in vfio_noiommu_group_alloc()
622 struct vfio_group *group; in vfio_noiommu_group_alloc()
653 static bool vfio_group_has_device(struct vfio_group *group, struct device *dev) in vfio_group_has_device()
668 static struct vfio_group *vfio_group_find_or_alloc(struct device *dev) in vfio_group_find_or_alloc()
671 struct vfio_group *group; in vfio_group_find_or_alloc()
712 struct vfio_group *group; in vfio_device_set_group()
729 struct vfio_group *group = device->group; in vfio_device_remove_group()
790 struct vfio_group *group = device->group; in vfio_device_group_use_iommu()
807 struct vfio_group *group = device->group; in vfio_device_group_unuse_iommu()
823 struct vfio_group *vfio_group_from_file(struct file *file) in vfio_group_from_file()
825 struct vfio_group *group = file->private_data; in vfio_group_from_file()
842 struct vfio_group *group = vfio_group_from_file(file); in vfio_file_iommu_group()
871 bool vfio_group_enforced_coherent(struct vfio_group *group) in vfio_group_enforced_coherent()
894 void vfio_group_set_kvm(struct vfio_group *group, struct kvm *kvm) in vfio_group_set_kvm()
910 struct vfio_group *group = vfio_group_from_file(file); in vfio_file_has_dev()