| /Linux-v5.4/include/linux/ | 
| D | mdev.h | 13 struct mdev_device; 84 	int     (*create)(struct kobject *kobj, struct mdev_device *mdev); 85 	int     (*remove)(struct mdev_device *mdev); 86 	int     (*open)(struct mdev_device *mdev); 87 	void    (*release)(struct mdev_device *mdev); 88 	ssize_t (*read)(struct mdev_device *mdev, char __user *buf, 90 	ssize_t (*write)(struct mdev_device *mdev, const char __user *buf, 92 	long	(*ioctl)(struct mdev_device *mdev, unsigned int cmd, 94 	int	(*mmap)(struct mdev_device *mdev, struct vm_area_struct *vma); 132 void *mdev_get_drvdata(struct mdev_device *mdev); [all …] 
 | 
| /Linux-v5.4/drivers/vfio/mdev/ | 
| D | mdev_core.c | 30 struct device *mdev_parent_dev(struct mdev_device *mdev)  in mdev_parent_dev() 36 void *mdev_get_drvdata(struct mdev_device *mdev)  in mdev_get_drvdata() 42 void mdev_set_drvdata(struct mdev_device *mdev, void *data)  in mdev_set_drvdata() 48 struct device *mdev_dev(struct mdev_device *mdev)  in mdev_dev() 54 struct mdev_device *mdev_from_dev(struct device *dev)  in mdev_from_dev() 60 const guid_t *mdev_uuid(struct mdev_device *mdev)  in mdev_uuid() 103 static void mdev_device_remove_common(struct mdev_device *mdev)  in mdev_device_remove_common() 126 		struct mdev_device *mdev;  in mdev_device_remove_cb() 255 static void mdev_device_free(struct mdev_device *mdev)  in mdev_device_free() 267 	struct mdev_device *mdev = to_mdev_device(dev);  in mdev_device_release() [all …] 
 | 
| D | vfio_mdev.c | 26 	struct mdev_device *mdev = device_data;  in vfio_mdev_open() 45 	struct mdev_device *mdev = device_data;  in vfio_mdev_release() 57 	struct mdev_device *mdev = device_data;  in vfio_mdev_unlocked_ioctl() 69 	struct mdev_device *mdev = device_data;  in vfio_mdev_read() 81 	struct mdev_device *mdev = device_data;  in vfio_mdev_write() 92 	struct mdev_device *mdev = device_data;  in vfio_mdev_mmap() 113 	struct mdev_device *mdev = to_mdev_device(dev);  in vfio_mdev_probe()
  | 
| D | mdev_driver.c | 16 static int mdev_attach_iommu(struct mdev_device *mdev)  in mdev_attach_iommu() 34 static void mdev_detach_iommu(struct mdev_device *mdev)  in mdev_detach_iommu() 43 	struct mdev_device *mdev = to_mdev_device(dev);  in mdev_probe() 62 	struct mdev_device *mdev = to_mdev_device(dev);  in mdev_remove()
  | 
| D | mdev_private.h | 27 struct mdev_device {  struct 38 #define to_mdev_device(dev)	container_of(dev, struct mdev_device, dev)  argument
  | 
| /Linux-v5.4/samples/vfio-mdev/ | 
| D | mdpy.c | 94 	struct mdev_device *mdev; 175 static ssize_t mdev_access(struct mdev_device *mdev, char *buf, size_t count,  in mdev_access() 215 static int mdpy_reset(struct mdev_device *mdev)  in mdpy_reset() 229 static int mdpy_create(struct kobject *kobj, struct mdev_device *mdev)  in mdpy_create() 275 static int mdpy_remove(struct mdev_device *mdev)  in mdpy_remove() 291 static ssize_t mdpy_read(struct mdev_device *mdev, char __user *buf,  in mdpy_read() 350 static ssize_t mdpy_write(struct mdev_device *mdev, const char __user *buf,  in mdpy_write() 407 static int mdpy_mmap(struct mdev_device *mdev, struct vm_area_struct *vma)  in mdpy_mmap() 425 static int mdpy_get_region_info(struct mdev_device *mdev,  in mdpy_get_region_info() 463 static int mdpy_get_irq_info(struct mdev_device *mdev,  in mdpy_get_irq_info() [all …] 
 | 
| D | mbochs.c | 167 	struct mdev_device *mdev; 438 static ssize_t mdev_access(struct mdev_device *mdev, char *buf, size_t count,  in mdev_access() 506 static int mbochs_reset(struct mdev_device *mdev)  in mbochs_reset() 519 static int mbochs_create(struct kobject *kobj, struct mdev_device *mdev)  in mbochs_create() 572 static int mbochs_remove(struct mdev_device *mdev)  in mbochs_remove() 584 static ssize_t mbochs_read(struct mdev_device *mdev, char __user *buf,  in mbochs_read() 643 static ssize_t mbochs_write(struct mdev_device *mdev, const char __user *buf,  in mbochs_write() 768 static int mbochs_mmap(struct mdev_device *mdev, struct vm_area_struct *vma)  in mbochs_mmap() 1020 static int mbochs_get_region_info(struct mdev_device *mdev,  in mbochs_get_region_info() 1076 static int mbochs_get_irq_info(struct mdev_device *mdev,  in mbochs_get_irq_info() [all …] 
 | 
| D | mtty.c | 136 	struct mdev_device *mdev; 634 static ssize_t mdev_access(struct mdev_device *mdev, u8 *buf, size_t count,  in mdev_access() 711 static int mtty_create(struct kobject *kobj, struct mdev_device *mdev)  in mtty_create() 761 static int mtty_remove(struct mdev_device *mdev)  in mtty_remove() 783 static int mtty_reset(struct mdev_device *mdev)  in mtty_reset() 799 static ssize_t mtty_read(struct mdev_device *mdev, char __user *buf,  in mtty_read() 858 static ssize_t mtty_write(struct mdev_device *mdev, const char __user *buf,  in mtty_write() 915 static int mtty_set_irqs(struct mdev_device *mdev, uint32_t flags,  in mtty_set_irqs() 1043 static int mtty_get_region_info(struct mdev_device *mdev,  in mtty_get_region_info() 1092 static int mtty_get_irq_info(struct mdev_device *mdev,  in mtty_get_irq_info() [all …] 
 | 
| /Linux-v5.4/drivers/s390/cio/ | 
| D | vfio_ccw_ops.c | 20 static int vfio_ccw_mdev_reset(struct mdev_device *mdev)  in vfio_ccw_mdev_reset() 113 static int vfio_ccw_mdev_create(struct kobject *kobj, struct mdev_device *mdev)  in vfio_ccw_mdev_create() 135 static int vfio_ccw_mdev_remove(struct mdev_device *mdev)  in vfio_ccw_mdev_remove() 159 static int vfio_ccw_mdev_open(struct mdev_device *mdev)  in vfio_ccw_mdev_open() 180 static void vfio_ccw_mdev_release(struct mdev_device *mdev)  in vfio_ccw_mdev_release() 226 static ssize_t vfio_ccw_mdev_read(struct mdev_device *mdev,  in vfio_ccw_mdev_read() 281 static ssize_t vfio_ccw_mdev_write(struct mdev_device *mdev,  in vfio_ccw_mdev_write() 307 					 struct mdev_device *mdev)  in vfio_ccw_mdev_get_device_info() 320 					 struct mdev_device *mdev,  in vfio_ccw_mdev_get_region_info() 396 static int vfio_ccw_mdev_set_irqs(struct mdev_device *mdev,  in vfio_ccw_mdev_set_irqs() [all …] 
 | 
| D | vfio_ccw_private.h | 83 	struct mdev_device	*mdev;
  | 
| D | vfio_ccw_fsm.c | 248 	struct mdev_device *mdev = private->mdev;  in fsm_io_request()
  | 
| /Linux-v5.4/drivers/s390/crypto/ | 
| D | vfio_ap_ops.c | 27 static int vfio_ap_mdev_reset_queues(struct mdev_device *mdev); 324 static int vfio_ap_mdev_create(struct kobject *kobj, struct mdev_device *mdev)  in vfio_ap_mdev_create() 349 static int vfio_ap_mdev_remove(struct mdev_device *mdev)  in vfio_ap_mdev_remove() 605 	struct mdev_device *mdev = mdev_from_dev(dev);  in assign_adapter_store() 671 	struct mdev_device *mdev = mdev_from_dev(dev);  in unassign_adapter_store() 751 	struct mdev_device *mdev = mdev_from_dev(dev);  in assign_domain_store() 813 	struct mdev_device *mdev = mdev_from_dev(dev);  in unassign_domain_store() 857 	struct mdev_device *mdev = mdev_from_dev(dev);  in assign_control_domain_store() 906 	struct mdev_device *mdev = mdev_from_dev(dev);  in unassign_control_domain_store() 936 	struct mdev_device *mdev = mdev_from_dev(dev);  in control_domains_show() [all …] 
 | 
| D | vfio_ap_private.h | 88 	struct mdev_device *mdev;
  | 
| /Linux-v5.4/drivers/gpu/drm/i915/gvt/ | 
| D | kvmgt.c | 116 static int kvmgt_guest_init(struct mdev_device *mdev); 646 static int intel_vgpu_create(struct kobject *kobj, struct mdev_device *mdev)  in intel_vgpu_create() 685 static int intel_vgpu_remove(struct mdev_device *mdev)  in intel_vgpu_remove() 745 static int intel_vgpu_open(struct mdev_device *mdev)  in intel_vgpu_open() 842 static void intel_vgpu_release(struct mdev_device *mdev)  in intel_vgpu_release() 932 static ssize_t intel_vgpu_rw(struct mdev_device *mdev, char *buf,  in intel_vgpu_rw() 981 static bool gtt_entry(struct mdev_device *mdev, loff_t *ppos)  in gtt_entry() 1000 static ssize_t intel_vgpu_read(struct mdev_device *mdev, char __user *buf,  in intel_vgpu_read() 1073 static ssize_t intel_vgpu_write(struct mdev_device *mdev,  in intel_vgpu_write() 1146 static int intel_vgpu_mmap(struct mdev_device *mdev, struct vm_area_struct *vma)  in intel_vgpu_mmap() [all …] 
 | 
| D | gvt.h | 201 		struct mdev_device *mdev;
  |