Searched refs:vfio_dev (Results 1 – 2 of 2) sorted by relevance
106 #define vfio_dev_to_vgpu(vfio_dev) \ argument107 container_of((vfio_dev), struct intel_vgpu, vfio_device)612 static void intel_vgpu_dma_unmap(struct vfio_device *vfio_dev, u64 iova, in intel_vgpu_dma_unmap() argument615 struct intel_vgpu *vgpu = vfio_dev_to_vgpu(vfio_dev); in intel_vgpu_dma_unmap()654 static int intel_vgpu_open_device(struct vfio_device *vfio_dev) in intel_vgpu_open_device() argument656 struct intel_vgpu *vgpu = vfio_dev_to_vgpu(vfio_dev); in intel_vgpu_open_device()701 static void intel_vgpu_close_device(struct vfio_device *vfio_dev) in intel_vgpu_close_device() argument703 struct intel_vgpu *vgpu = vfio_dev_to_vgpu(vfio_dev); in intel_vgpu_close_device()868 static ssize_t intel_vgpu_read(struct vfio_device *vfio_dev, char __user *buf, in intel_vgpu_read() argument871 struct intel_vgpu *vgpu = vfio_dev_to_vgpu(vfio_dev); in intel_vgpu_read()[all …]
419 static struct miscdevice vfio_dev = { variable656 ret = misc_register(&vfio_dev); in vfio_container_init()670 misc_deregister(&vfio_dev); in vfio_container_init()678 misc_deregister(&vfio_dev); in vfio_container_cleanup()