Searched refs:vfio_group (Results 1 – 3 of 3) sorted by relevance
70 struct vfio_group { struct335 static int vfio_alloc_group_minor(struct vfio_group *group) in vfio_alloc_group_minor()347 static void vfio_group_get(struct vfio_group *group);373 static void vfio_group_unlock_and_free(struct vfio_group *group) in vfio_group_unlock_and_free()387 static struct vfio_group *vfio_create_group(struct iommu_group *iommu_group) in vfio_create_group()389 struct vfio_group *group, *tmp; in vfio_create_group()466 struct vfio_group *group = container_of(kref, struct vfio_group, kref); in vfio_group_release()486 static void vfio_group_put(struct vfio_group *group) in vfio_group_put()493 struct vfio_group *group;506 static void vfio_group_schedule_put(struct vfio_group *group) in vfio_group_schedule_put()[all …]
134 struct vfio_group *vfio_group; member263 ret = vfio_group_unpin_pages(vdev->vfio_group, &cur_gfn, 1); in gvt_unpin_guest_page()287 ret = vfio_group_pin_pages(vdev->vfio_group, &cur_gfn, 1, in gvt_pin_guest_page()894 struct vfio_group *vfio_group; in intel_vgpu_open_device() local917 vfio_group = vfio_group_get_external_user_from_dev(mdev_dev(mdev)); in intel_vgpu_open_device()918 if (IS_ERR_OR_NULL(vfio_group)) { in intel_vgpu_open_device()919 ret = !vfio_group ? -EFAULT : PTR_ERR(vfio_group); in intel_vgpu_open_device()923 vdev->vfio_group = vfio_group; in intel_vgpu_open_device()943 vfio_group_put_external_user(vdev->vfio_group); in intel_vgpu_open_device()944 vdev->vfio_group = NULL; in intel_vgpu_open_device()[all …]
559 struct vfio_group **groups;1021 struct vfio_group **groups; in vfio_pci_core_ioctl()1077 struct vfio_group *group; in vfio_pci_core_ioctl()