Searched defs:vfio_device_ops (Results 1 – 1 of 1) sorted by relevance
70 struct vfio_device_ops { struct71 char *name;72 int (*open_device)(struct vfio_device *vdev);73 void (*close_device)(struct vfio_device *vdev);74 ssize_t (*read)(struct vfio_device *vdev, char __user *buf,76 ssize_t (*write)(struct vfio_device *vdev, const char __user *buf,78 long (*ioctl)(struct vfio_device *vdev, unsigned int cmd,80 int (*mmap)(struct vfio_device *vdev, struct vm_area_struct *vma);81 void (*request)(struct vfio_device *vdev, unsigned int count);82 int (*match)(struct vfio_device *vdev, char *buf);[all …]