Home
last modified time | relevance | path

Searched refs:core_vdev (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/drivers/vfio/mdev/
Dvfio_mdev.c20 static int vfio_mdev_open_device(struct vfio_device *core_vdev) in vfio_mdev_open_device() argument
22 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_open_device()
31 static void vfio_mdev_close_device(struct vfio_device *core_vdev) in vfio_mdev_close_device() argument
33 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_close_device()
40 static long vfio_mdev_unlocked_ioctl(struct vfio_device *core_vdev, in vfio_mdev_unlocked_ioctl() argument
43 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_unlocked_ioctl()
52 static ssize_t vfio_mdev_read(struct vfio_device *core_vdev, char __user *buf, in vfio_mdev_read() argument
55 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_read()
64 static ssize_t vfio_mdev_write(struct vfio_device *core_vdev, in vfio_mdev_write() argument
68 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_write()
[all …]
/Linux-v5.15/include/linux/
Dvfio_pci_core.h212 void vfio_pci_core_close_device(struct vfio_device *core_vdev);
221 long vfio_pci_core_ioctl(struct vfio_device *core_vdev, unsigned int cmd,
223 ssize_t vfio_pci_core_read(struct vfio_device *core_vdev, char __user *buf,
225 ssize_t vfio_pci_core_write(struct vfio_device *core_vdev, const char __user *buf,
227 int vfio_pci_core_mmap(struct vfio_device *core_vdev, struct vm_area_struct *vma);
228 void vfio_pci_core_request(struct vfio_device *core_vdev, unsigned int count);
229 int vfio_pci_core_match(struct vfio_device *core_vdev, char *buf);
/Linux-v5.15/drivers/vfio/fsl-mc/
Dvfio_fsl_mc.c22 static int vfio_fsl_mc_open_device(struct vfio_device *core_vdev) in vfio_fsl_mc_open_device() argument
25 container_of(core_vdev, struct vfio_fsl_mc_device, vdev); in vfio_fsl_mc_open_device()
69 static void vfio_fsl_mc_close_device(struct vfio_device *core_vdev) in vfio_fsl_mc_close_device() argument
72 container_of(core_vdev, struct vfio_fsl_mc_device, vdev); in vfio_fsl_mc_close_device()
94 static long vfio_fsl_mc_ioctl(struct vfio_device *core_vdev, in vfio_fsl_mc_ioctl() argument
99 container_of(core_vdev, struct vfio_fsl_mc_device, vdev); in vfio_fsl_mc_ioctl()
225 static ssize_t vfio_fsl_mc_read(struct vfio_device *core_vdev, char __user *buf, in vfio_fsl_mc_read() argument
229 container_of(core_vdev, struct vfio_fsl_mc_device, vdev); in vfio_fsl_mc_read()
303 static ssize_t vfio_fsl_mc_write(struct vfio_device *core_vdev, in vfio_fsl_mc_write() argument
308 container_of(core_vdev, struct vfio_fsl_mc_device, vdev); in vfio_fsl_mc_write()
[all …]
/Linux-v5.15/drivers/vfio/platform/
Dvfio_platform_common.c221 static void vfio_platform_close_device(struct vfio_device *core_vdev) in vfio_platform_close_device() argument
224 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_close_device()
240 static int vfio_platform_open_device(struct vfio_device *core_vdev) in vfio_platform_open_device() argument
243 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_open_device()
277 static long vfio_platform_ioctl(struct vfio_device *core_vdev, in vfio_platform_ioctl() argument
281 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_ioctl()
441 static ssize_t vfio_platform_read(struct vfio_device *core_vdev, in vfio_platform_read() argument
445 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_read()
518 static ssize_t vfio_platform_write(struct vfio_device *core_vdev, const char __user *buf, in vfio_platform_write() argument
522 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_write()
[all …]
/Linux-v5.15/drivers/vfio/pci/
Dvfio_pci_core.c448 void vfio_pci_core_close_device(struct vfio_device *core_vdev) in vfio_pci_core_close_device() argument
451 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_close_device()
637 long vfio_pci_core_ioctl(struct vfio_device *core_vdev, unsigned int cmd, in vfio_pci_core_ioctl() argument
641 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_ioctl()
1213 ssize_t vfio_pci_core_read(struct vfio_device *core_vdev, char __user *buf, in vfio_pci_core_read() argument
1217 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_read()
1226 ssize_t vfio_pci_core_write(struct vfio_device *core_vdev, const char __user *buf, in vfio_pci_core_write() argument
1230 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_write()
1446 int vfio_pci_core_mmap(struct vfio_device *core_vdev, struct vm_area_struct *vma) in vfio_pci_core_mmap() argument
1449 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_mmap()
[all …]
Dvfio_pci.c101 static int vfio_pci_open_device(struct vfio_device *core_vdev) in vfio_pci_open_device() argument
104 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_open_device()