Lines Matching refs:vfio_group
134 struct vfio_group *vfio_group; member
263 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() local
917 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()
1001 vfio_group_put_external_user(vdev->vfio_group); in __intel_vgpu_release()
2165 return vfio_dma_rw(kvmgt_vdev(info->vgpu)->vfio_group, in kvmgt_rw_gpa()