Symbol: vfio_device
drivers/gpu/drm/i915/gvt/gvt.h
183
struct vfio_device vfio_device;
drivers/gpu/drm/i915/gvt/gvt.h
725
return vfio_dma_rw(&vgpu->vfio_device, gpa, buf, len, false);
drivers/gpu/drm/i915/gvt/gvt.h
743
return vfio_dma_rw(&vgpu->vfio_device, gpa, buf, len, true);
drivers/gpu/drm/i915/gvt/kvmgt.c
1014
static int intel_vgpu_mmap(struct vfio_device *vfio_dev,
drivers/gpu/drm/i915/gvt/kvmgt.c
108
container_of((vfio_dev), struct intel_vgpu, vfio_device)
drivers/gpu/drm/i915/gvt/kvmgt.c
1144
static int intel_vgpu_ioctl_get_region_info(struct vfio_device *vfio_dev,
drivers/gpu/drm/i915/gvt/kvmgt.c
1259
static long intel_vgpu_ioctl(struct vfio_device *vfio_dev, unsigned int cmd,
drivers/gpu/drm/i915/gvt/kvmgt.c
132
vfio_unpin_pages(&vgpu->vfio_device, gfn << PAGE_SHIFT,
drivers/gpu/drm/i915/gvt/kvmgt.c
1414
static int intel_vgpu_init_dev(struct vfio_device *vfio_dev)
drivers/gpu/drm/i915/gvt/kvmgt.c
1433
static void intel_vgpu_release_dev(struct vfio_device *vfio_dev)
drivers/gpu/drm/i915/gvt/kvmgt.c
1462
vgpu = vfio_alloc_device(intel_vgpu, vfio_device, &mdev->dev,
drivers/gpu/drm/i915/gvt/kvmgt.c
1470
ret = vfio_register_emulated_iommu_dev(&vgpu->vfio_device);
drivers/gpu/drm/i915/gvt/kvmgt.c
1479
vfio_put_device(&vgpu->vfio_device);
drivers/gpu/drm/i915/gvt/kvmgt.c
1487
vfio_unregister_group_dev(&vgpu->vfio_device);
drivers/gpu/drm/i915/gvt/kvmgt.c
1488
vfio_put_device(&vgpu->vfio_device);
drivers/gpu/drm/i915/gvt/kvmgt.c
153
ret = vfio_pin_pages(&vgpu->vfio_device, cur_iova, 1,
drivers/gpu/drm/i915/gvt/kvmgt.c
1535
r = kvm_write_track_add_gfn(info->vfio_device.kvm, gfn);
drivers/gpu/drm/i915/gvt/kvmgt.c
1553
r = kvm_write_track_remove_gfn(info->vfio_device.kvm, gfn);
drivers/gpu/drm/i915/gvt/kvmgt.c
621
static void intel_vgpu_dma_unmap(struct vfio_device *vfio_dev, u64 iova,
drivers/gpu/drm/i915/gvt/kvmgt.c
653
if (vgpu->vfio_device.kvm == itr->vfio_device.kvm) {
drivers/gpu/drm/i915/gvt/kvmgt.c
663
static int intel_vgpu_open_device(struct vfio_device *vfio_dev)
drivers/gpu/drm/i915/gvt/kvmgt.c
673
ret = kvm_page_track_register_notifier(vgpu->vfio_device.kvm,
drivers/gpu/drm/i915/gvt/kvmgt.c
701
static void intel_vgpu_close_device(struct vfio_device *vfio_dev)
drivers/gpu/drm/i915/gvt/kvmgt.c
711
kvm_page_track_unregister_notifier(vgpu->vfio_device.kvm,
drivers/gpu/drm/i915/gvt/kvmgt.c
866
static ssize_t intel_vgpu_read(struct vfio_device *vfio_dev, char __user *buf,
drivers/gpu/drm/i915/gvt/kvmgt.c
940
static ssize_t intel_vgpu_write(struct vfio_device *vfio_dev,
drivers/s390/cio/vfio_ccw_cp.c
131
static int page_array_pin(struct page_array *pa, struct vfio_device *vdev, bool unaligned)
drivers/s390/cio/vfio_ccw_cp.c
169
static void page_array_unpin_free(struct page_array *pa, struct vfio_device *vdev, bool unaligned)
drivers/s390/cio/vfio_ccw_cp.c
423
struct vfio_device *vdev =
drivers/s390/cio/vfio_ccw_cp.c
510
struct vfio_device *vdev =
drivers/s390/cio/vfio_ccw_cp.c
568
struct vfio_device *vdev =
drivers/s390/cio/vfio_ccw_cp.c
611
struct vfio_device *vdev =
drivers/s390/cio/vfio_ccw_cp.c
712
struct vfio_device *vdev =
drivers/s390/cio/vfio_ccw_cp.c
757
struct vfio_device *vdev =
drivers/s390/cio/vfio_ccw_cp.c
92
struct vfio_device *vdev, int pa_nr, bool unaligned)
drivers/s390/cio/vfio_ccw_ops.c
128
static void vfio_ccw_mdev_release_dev(struct vfio_device *vdev)
drivers/s390/cio/vfio_ccw_ops.c
164
static int vfio_ccw_mdev_open_device(struct vfio_device *vdev)
drivers/s390/cio/vfio_ccw_ops.c
199
static void vfio_ccw_mdev_close_device(struct vfio_device *vdev)
drivers/s390/cio/vfio_ccw_ops.c
229
static ssize_t vfio_ccw_mdev_read(struct vfio_device *vdev,
drivers/s390/cio/vfio_ccw_ops.c
281
static ssize_t vfio_ccw_mdev_write(struct vfio_device *vdev,
drivers/s390/cio/vfio_ccw_ops.c
315
static int vfio_ccw_mdev_ioctl_get_region_info(struct vfio_device *vdev,
drivers/s390/cio/vfio_ccw_ops.c
35
static void vfio_ccw_dma_unmap(struct vfio_device *vdev, u64 iova, u64 length)
drivers/s390/cio/vfio_ccw_ops.c
47
static int vfio_ccw_mdev_init_dev(struct vfio_device *vdev)
drivers/s390/cio/vfio_ccw_ops.c
490
static ssize_t vfio_ccw_mdev_ioctl(struct vfio_device *vdev,
drivers/s390/cio/vfio_ccw_ops.c
568
static void vfio_ccw_mdev_request(struct vfio_device *vdev, unsigned int count)
drivers/s390/cio/vfio_ccw_private.h
107
struct vfio_device vdev;
drivers/s390/crypto/vfio_ap_ops.c
1862
static void vfio_ap_mdev_dma_unmap(struct vfio_device *vdev, u64 iova,
drivers/s390/crypto/vfio_ap_ops.c
2053
static int vfio_ap_mdev_open_device(struct vfio_device *vdev)
drivers/s390/crypto/vfio_ap_ops.c
2064
static void vfio_ap_mdev_close_device(struct vfio_device *vdev)
drivers/s390/crypto/vfio_ap_ops.c
2072
static void vfio_ap_mdev_request(struct vfio_device *vdev, unsigned int count)
drivers/s390/crypto/vfio_ap_ops.c
2264
static ssize_t vfio_ap_mdev_ioctl(struct vfio_device *vdev,
drivers/s390/crypto/vfio_ap_ops.c
776
static int vfio_ap_mdev_init_dev(struct vfio_device *vdev)
drivers/s390/crypto/vfio_ap_private.h
115
struct vfio_device vdev;
drivers/vfio/cdx/main.c
11
static int vfio_cdx_open_device(struct vfio_device *core_vdev)
drivers/vfio/cdx/main.c
132
static int vfio_cdx_ioctl_get_region_info(struct vfio_device *core_vdev,
drivers/vfio/cdx/main.c
206
static long vfio_cdx_ioctl(struct vfio_device *core_vdev,
drivers/vfio/cdx/main.c
247
static int vfio_cdx_mmap(struct vfio_device *core_vdev,
drivers/vfio/cdx/main.c
57
static void vfio_cdx_close_device(struct vfio_device *core_vdev)
drivers/vfio/cdx/main.c
67
static int vfio_cdx_bm_ctrl(struct vfio_device *core_vdev, u32 flags,
drivers/vfio/cdx/main.c
99
static int vfio_cdx_ioctl_feature(struct vfio_device *device, u32 flags,
drivers/vfio/cdx/private.h
32
struct vfio_device vdev;
drivers/vfio/container.c
164
void vfio_device_container_register(struct vfio_device *device)
drivers/vfio/container.c
174
void vfio_device_container_unregister(struct vfio_device *device)
drivers/vfio/container.c
531
int vfio_device_container_pin_pages(struct vfio_device *device,
drivers/vfio/container.c
548
void vfio_device_container_unpin_pages(struct vfio_device *device,
drivers/vfio/container.c
560
int vfio_device_container_dma_rw(struct vfio_device *device,
drivers/vfio/debugfs.c
17
struct vfio_device *vdev = container_of(vf_dev,
drivers/vfio/debugfs.c
18
struct vfio_device, device);
drivers/vfio/debugfs.c
64
struct vfio_device *vdev = container_of(vf_dev, struct vfio_device, device);
drivers/vfio/debugfs.c
78
void vfio_device_debugfs_init(struct vfio_device *vdev)
drivers/vfio/debugfs.c
97
void vfio_device_debugfs_exit(struct vfio_device *vdev)
drivers/vfio/device_cdev.c
12
void vfio_init_device_cdev(struct vfio_device *device)
drivers/vfio/device_cdev.c
175
struct vfio_device *device = df->device;
drivers/vfio/device_cdev.c
198
struct vfio_device *device = df->device;
drivers/vfio/device_cdev.c
25
struct vfio_device *device = container_of(inode->i_cdev,
drivers/vfio/device_cdev.c
257
struct vfio_device *device = df->device;
drivers/vfio/device_cdev.c
26
struct vfio_device, cdev);
drivers/vfio/device_cdev.c
63
static int vfio_df_check_token(struct vfio_device *device,
drivers/vfio/device_cdev.c
87
struct vfio_device *device = df->device;
drivers/vfio/fsl-mc/vfio_fsl_mc.c
120
static int vfio_fsl_mc_ioctl_get_region_info(struct vfio_device *core_vdev,
drivers/vfio/fsl-mc/vfio_fsl_mc.c
138
static long vfio_fsl_mc_ioctl(struct vfio_device *core_vdev,
drivers/vfio/fsl-mc/vfio_fsl_mc.c
22
static int vfio_fsl_mc_open_device(struct vfio_device *core_vdev)
drivers/vfio/fsl-mc/vfio_fsl_mc.c
234
static ssize_t vfio_fsl_mc_read(struct vfio_device *core_vdev, char __user *buf,
drivers/vfio/fsl-mc/vfio_fsl_mc.c
312
static ssize_t vfio_fsl_mc_write(struct vfio_device *core_vdev,
drivers/vfio/fsl-mc/vfio_fsl_mc.c
378
static int vfio_fsl_mc_mmap(struct vfio_device *core_vdev,
drivers/vfio/fsl-mc/vfio_fsl_mc.c
506
static int vfio_fsl_mc_init_dev(struct vfio_device *core_vdev)
drivers/vfio/fsl-mc/vfio_fsl_mc.c
558
static void vfio_fsl_mc_release_dev(struct vfio_device *core_vdev)
drivers/vfio/fsl-mc/vfio_fsl_mc.c
97
static void vfio_fsl_mc_close_device(struct vfio_device *core_vdev)
drivers/vfio/fsl-mc/vfio_fsl_mc_private.h
34
struct vfio_device vdev;
drivers/vfio/group.c
158
static void vfio_device_group_get_kvm_safe(struct vfio_device *device)
drivers/vfio/group.c
167
struct vfio_device *device = df->device;
drivers/vfio/group.c
235
struct vfio_device *device = df->device;
drivers/vfio/group.c
250
static struct file *vfio_device_open_file(struct vfio_device *device)
drivers/vfio/group.c
26
static struct vfio_device *vfio_device_get_from_name(struct vfio_group *group,
drivers/vfio/group.c
29
struct vfio_device *it, *device = ERR_PTR(-ENODEV);
drivers/vfio/group.c
301
struct vfio_device *device;
drivers/vfio/group.c
379
int vfio_device_block_group(struct vfio_device *device)
drivers/vfio/group.c
397
void vfio_device_unblock_group(struct vfio_device *device)
drivers/vfio/group.c
622
struct vfio_device *device;
drivers/vfio/group.c
676
int vfio_device_set_group(struct vfio_device *device,
drivers/vfio/group.c
694
void vfio_device_remove_group(struct vfio_device *device)
drivers/vfio/group.c
741
void vfio_device_group_register(struct vfio_device *device)
drivers/vfio/group.c
748
void vfio_device_group_unregister(struct vfio_device *device)
drivers/vfio/group.c
755
int vfio_device_group_use_iommu(struct vfio_device *device)
drivers/vfio/group.c
772
void vfio_device_group_unuse_iommu(struct vfio_device *device)
drivers/vfio/group.c
785
bool vfio_device_has_container(struct vfio_device *device)
drivers/vfio/group.c
840
struct vfio_device *device;
drivers/vfio/group.c
875
bool vfio_file_has_dev(struct file *file, struct vfio_device *device)
drivers/vfio/iommufd.c
117
int vfio_iommufd_physical_bind(struct vfio_device *vdev,
drivers/vfio/iommufd.c
13
bool vfio_iommufd_device_has_compat_ioas(struct vfio_device *vdev,
drivers/vfio/iommufd.c
131
void vfio_iommufd_physical_unbind(struct vfio_device *vdev)
drivers/vfio/iommufd.c
151
int vfio_iommufd_physical_attach_ioas(struct vfio_device *vdev, u32 *pt_id)
drivers/vfio/iommufd.c
173
void vfio_iommufd_physical_detach_ioas(struct vfio_device *vdev)
drivers/vfio/iommufd.c
185
int vfio_iommufd_physical_pasid_attach_ioas(struct vfio_device *vdev,
drivers/vfio/iommufd.c
211
void vfio_iommufd_physical_pasid_detach_ioas(struct vfio_device *vdev,
drivers/vfio/iommufd.c
23
struct vfio_device *vdev = df->device;
drivers/vfio/iommufd.c
237
struct vfio_device *vdev = data;
drivers/vfio/iommufd.c
248
int vfio_iommufd_emulated_bind(struct vfio_device *vdev,
drivers/vfio/iommufd.c
263
void vfio_iommufd_emulated_unbind(struct vfio_device *vdev)
drivers/vfio/iommufd.c
275
int vfio_iommufd_emulated_attach_ioas(struct vfio_device *vdev, u32 *pt_id)
drivers/vfio/iommufd.c
292
void vfio_iommufd_emulated_detach_ioas(struct vfio_device *vdev)
drivers/vfio/iommufd.c
35
int vfio_iommufd_compat_attach_ioas(struct vfio_device *vdev,
drivers/vfio/iommufd.c
57
struct vfio_device *vdev = df->device;
drivers/vfio/iommufd.c
68
struct iommufd_ctx *vfio_iommufd_device_ictx(struct vfio_device *vdev)
drivers/vfio/iommufd.c
76
static int vfio_iommufd_device_id(struct vfio_device *vdev)
drivers/vfio/iommufd.c
89
int vfio_iommufd_get_dev_id(struct vfio_device *vdev, struct iommufd_ctx *ictx)
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1139
hisi_acc_vfio_pci_set_device_state(struct vfio_device *vdev,
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1172
hisi_acc_vfio_pci_get_data_size(struct vfio_device *vdev,
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1180
hisi_acc_vfio_pci_get_device_state(struct vfio_device *vdev,
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1334
static int hisi_acc_pci_rw_access_check(struct vfio_device *core_vdev,
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1357
static int hisi_acc_vfio_pci_mmap(struct vfio_device *core_vdev,
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1382
static ssize_t hisi_acc_vfio_pci_write(struct vfio_device *core_vdev,
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1396
static ssize_t hisi_acc_vfio_pci_read(struct vfio_device *core_vdev,
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1410
static int hisi_acc_vfio_ioctl_get_region(struct vfio_device *core_vdev,
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1429
static int hisi_acc_vf_debug_check(struct seq_file *seq, struct vfio_device *vdev)
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1458
struct vfio_device *vdev = &core_device->vdev;
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1487
struct vfio_device *vdev = &core_device->vdev;
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1534
struct vfio_device *vdev = &core_device->vdev;
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1552
static int hisi_acc_vfio_pci_open_device(struct vfio_device *core_vdev)
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1580
static void hisi_acc_vfio_pci_close_device(struct vfio_device *core_vdev)
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1600
static int hisi_acc_vfio_pci_migrn_init_dev(struct vfio_device *core_vdev)
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1663
struct vfio_device *vdev = &hisi_acc_vdev->core_device.vdev;
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
728
static struct hisi_acc_vf_core_device *hisi_acc_get_vf_dev(struct vfio_device *vdev)
drivers/vfio/pci/mlx5/cmd.c
1478
int mlx5vf_stop_page_tracker(struct vfio_device *vdev)
drivers/vfio/pci/mlx5/cmd.c
1494
int mlx5vf_start_page_tracker(struct vfio_device *vdev,
drivers/vfio/pci/mlx5/cmd.c
1723
int mlx5vf_tracker_read_and_clear(struct vfio_device *vdev, unsigned long iova,
drivers/vfio/pci/mlx5/cmd.h
242
int mlx5vf_start_page_tracker(struct vfio_device *vdev,
drivers/vfio/pci/mlx5/cmd.h
244
int mlx5vf_stop_page_tracker(struct vfio_device *vdev);
drivers/vfio/pci/mlx5/cmd.h
245
int mlx5vf_tracker_read_and_clear(struct vfio_device *vdev, unsigned long iova,
drivers/vfio/pci/mlx5/main.c
1214
mlx5vf_pci_set_device_state(struct vfio_device *vdev,
drivers/vfio/pci/mlx5/main.c
1245
static int mlx5vf_pci_get_data_size(struct vfio_device *vdev,
drivers/vfio/pci/mlx5/main.c
1263
static int mlx5vf_pci_get_device_state(struct vfio_device *vdev,
drivers/vfio/pci/mlx5/main.c
1299
static int mlx5vf_pci_open_device(struct vfio_device *core_vdev)
drivers/vfio/pci/mlx5/main.c
1316
static void mlx5vf_pci_close_device(struct vfio_device *core_vdev)
drivers/vfio/pci/mlx5/main.c
1337
static int mlx5vf_pci_init_dev(struct vfio_device *core_vdev)
drivers/vfio/pci/mlx5/main.c
1353
static void mlx5vf_pci_release_dev(struct vfio_device *core_vdev)
drivers/vfio/pci/nvgrace-gpu/main.c
151
nvgrace_gpu_vfio_pci_register_pfn_range(struct vfio_device *core_vdev,
drivers/vfio/pci/nvgrace-gpu/main.c
167
static int nvgrace_gpu_open_device(struct vfio_device *core_vdev)
drivers/vfio/pci/nvgrace-gpu/main.c
217
static void nvgrace_gpu_close_device(struct vfio_device *core_vdev)
drivers/vfio/pci/nvgrace-gpu/main.c
355
static int nvgrace_gpu_mmap(struct vfio_device *core_vdev,
drivers/vfio/pci/nvgrace-gpu/main.c
414
static int nvgrace_gpu_ioctl_get_region_info(struct vfio_device *core_vdev,
drivers/vfio/pci/nvgrace-gpu/main.c
469
static long nvgrace_gpu_ioctl(struct vfio_device *core_vdev,
drivers/vfio/pci/nvgrace-gpu/main.c
504
nvgrace_gpu_read_config_emu(struct vfio_device *core_vdev,
drivers/vfio/pci/nvgrace-gpu/main.c
555
nvgrace_gpu_write_config_emu(struct vfio_device *core_vdev,
drivers/vfio/pci/nvgrace-gpu/main.c
69
static void nvgrace_gpu_init_fake_bar_emu_regs(struct vfio_device *core_vdev)
drivers/vfio/pci/nvgrace-gpu/main.c
741
nvgrace_gpu_read(struct vfio_device *core_vdev,
drivers/vfio/pci/nvgrace-gpu/main.c
865
nvgrace_gpu_write(struct vfio_device *core_vdev,
drivers/vfio/pci/pds/dirty.c
602
int pds_vfio_dma_logging_report(struct vfio_device *vdev, unsigned long iova,
drivers/vfio/pci/pds/dirty.c
617
int pds_vfio_dma_logging_start(struct vfio_device *vdev,
drivers/vfio/pci/pds/dirty.c
634
int pds_vfio_dma_logging_stop(struct vfio_device *vdev)
drivers/vfio/pci/pds/dirty.h
34
int pds_vfio_dma_logging_report(struct vfio_device *vdev, unsigned long iova,
drivers/vfio/pci/pds/dirty.h
37
int pds_vfio_dma_logging_start(struct vfio_device *vdev,
drivers/vfio/pci/pds/dirty.h
40
int pds_vfio_dma_logging_stop(struct vfio_device *vdev);
drivers/vfio/pci/pds/vfio_dev.c
116
static int pds_vfio_init_device(struct vfio_device *vdev)
drivers/vfio/pci/pds/vfio_dev.c
149
static void pds_vfio_release_device(struct vfio_device *vdev)
drivers/vfio/pci/pds/vfio_dev.c
159
static int pds_vfio_open_device(struct vfio_device *vdev)
drivers/vfio/pci/pds/vfio_dev.c
177
static void pds_vfio_close_device(struct vfio_device *vdev)
drivers/vfio/pci/pds/vfio_dev.c
40
pds_vfio_set_device_state(struct vfio_device *vdev,
drivers/vfio/pci/pds/vfio_dev.c
84
static int pds_vfio_get_device_state(struct vfio_device *vdev,
drivers/vfio/pci/pds/vfio_dev.c
97
static int pds_vfio_get_device_state_size(struct vfio_device *vdev,
drivers/vfio/pci/qat/main.c
106
static void qat_vf_pci_close_device(struct vfio_device *core_vdev)
drivers/vfio/pci/qat/main.c
484
static struct file *qat_vf_pci_set_device_state(struct vfio_device *vdev,
drivers/vfio/pci/qat/main.c
516
static int qat_vf_pci_get_device_state(struct vfio_device *vdev,
drivers/vfio/pci/qat/main.c
529
static int qat_vf_pci_get_data_size(struct vfio_device *vdev,
drivers/vfio/pci/qat/main.c
548
static void qat_vf_pci_release_dev(struct vfio_device *core_vdev)
drivers/vfio/pci/qat/main.c
559
static int qat_vf_pci_init_dev(struct vfio_device *core_vdev)
drivers/vfio/pci/qat/main.c
58
static int qat_vf_pci_open_device(struct vfio_device *core_vdev)
drivers/vfio/pci/vfio_pci.c
103
static int vfio_pci_open_device(struct vfio_device *core_vdev)
drivers/vfio/pci/vfio_pci_core.c
1036
int vfio_pci_ioctl_get_region_info(struct vfio_device *core_vdev,
drivers/vfio/pci/vfio_pci_core.c
1464
long vfio_pci_core_ioctl(struct vfio_device *core_vdev, unsigned int cmd,
drivers/vfio/pci/vfio_pci_core.c
1519
int vfio_pci_core_ioctl_feature(struct vfio_device *device, u32 flags,
drivers/vfio/pci/vfio_pci_core.c
1590
ssize_t vfio_pci_core_read(struct vfio_device *core_vdev, char __user *buf,
drivers/vfio/pci/vfio_pci_core.c
1603
ssize_t vfio_pci_core_write(struct vfio_device *core_vdev, const char __user *buf,
drivers/vfio/pci/vfio_pci_core.c
1618
struct vfio_device *core_vdev = &vdev->vdev;
drivers/vfio/pci/vfio_pci_core.c
1728
int vfio_pci_core_mmap(struct vfio_device *core_vdev, struct vm_area_struct *vma)
drivers/vfio/pci/vfio_pci_core.c
1809
void vfio_pci_core_request(struct vfio_device *core_vdev, unsigned int count)
drivers/vfio/pci/vfio_pci_core.c
1832
int vfio_pci_core_match_token_uuid(struct vfio_device *core_vdev,
drivers/vfio/pci/vfio_pci_core.c
1925
int vfio_pci_core_match(struct vfio_device *core_vdev, char *buf)
drivers/vfio/pci/vfio_pci_core.c
2095
int vfio_pci_core_init_dev(struct vfio_device *core_vdev)
drivers/vfio/pci/vfio_pci_core.c
2120
void vfio_pci_core_release_dev(struct vfio_device *core_vdev)
drivers/vfio/pci/vfio_pci_core.c
2325
static bool vfio_dev_in_groups(struct vfio_device *vdev,
drivers/vfio/pci/vfio_pci_core.c
723
void vfio_pci_core_close_device(struct vfio_device *core_vdev)
drivers/vfio/pci/vfio_pci_core.c
805
struct vfio_device *vdev;
drivers/vfio/pci/vfio_pci_core.c
829
struct vfio_device *vdev;
drivers/vfio/pci/virtio/common.h
112
int virtiovf_pci_ioctl_get_region_info(struct vfio_device *core_vdev,
drivers/vfio/pci/virtio/common.h
115
ssize_t virtiovf_pci_core_write(struct vfio_device *core_vdev,
drivers/vfio/pci/virtio/common.h
118
ssize_t virtiovf_pci_core_read(struct vfio_device *core_vdev, char __user *buf,
drivers/vfio/pci/virtio/legacy_io.c
124
static ssize_t virtiovf_pci_read_config(struct vfio_device *core_vdev,
drivers/vfio/pci/virtio/legacy_io.c
209
ssize_t virtiovf_pci_core_read(struct vfio_device *core_vdev, char __user *buf,
drivers/vfio/pci/virtio/legacy_io.c
229
static ssize_t virtiovf_pci_write_config(struct vfio_device *core_vdev,
drivers/vfio/pci/virtio/legacy_io.c
263
ssize_t virtiovf_pci_core_write(struct vfio_device *core_vdev, const char __user *buf,
drivers/vfio/pci/virtio/legacy_io.c
283
int virtiovf_pci_ioctl_get_region_info(struct vfio_device *core_vdev,
drivers/vfio/pci/virtio/main.c
21
static int virtiovf_pci_open_device(struct vfio_device *core_vdev)
drivers/vfio/pci/virtio/main.c
45
static void virtiovf_pci_close_device(struct vfio_device *core_vdev)
drivers/vfio/pci/virtio/main.c
55
static int virtiovf_pci_init_device(struct vfio_device *core_vdev)
drivers/vfio/pci/virtio/main.c
73
static void virtiovf_pci_core_release_dev(struct vfio_device *core_vdev)
drivers/vfio/pci/virtio/migrate.c
1221
virtiovf_pci_set_device_state(struct vfio_device *vdev,
drivers/vfio/pci/virtio/migrate.c
1252
static int virtiovf_pci_get_device_state(struct vfio_device *vdev,
drivers/vfio/pci/virtio/migrate.c
1264
static int virtiovf_pci_get_data_size(struct vfio_device *vdev,
drivers/vfio/pci/xe/main.c
134
static int xe_vfio_pci_open_device(struct vfio_device *core_vdev)
drivers/vfio/pci/xe/main.c
152
static void xe_vfio_pci_close_device(struct vfio_device *core_vdev)
drivers/vfio/pci/xe/main.c
386
xe_vfio_pci_set_device_state(struct vfio_device *core_vdev,
drivers/vfio/pci/xe/main.c
422
static int xe_vfio_pci_get_device_state(struct vfio_device *core_vdev,
drivers/vfio/pci/xe/main.c
435
static int xe_vfio_pci_get_data_size(struct vfio_device *vdev,
drivers/vfio/pci/xe/main.c
456
struct vfio_device *core_vdev = &xe_vdev->core_device.vdev;
drivers/vfio/pci/xe/main.c
484
static int xe_vfio_pci_init_dev(struct vfio_device *core_vdev)
drivers/vfio/pci/xe/main.c
494
static void xe_vfio_pci_release_dev(struct vfio_device *core_vdev)
drivers/vfio/platform/vfio_amba.c
44
static int vfio_amba_init_dev(struct vfio_device *core_vdev)
drivers/vfio/platform/vfio_amba.c
93
static void vfio_amba_release_dev(struct vfio_device *core_vdev)
drivers/vfio/platform/vfio_platform.c
40
static int vfio_platform_init_dev(struct vfio_device *core_vdev)
drivers/vfio/platform/vfio_platform.c
80
static void vfio_platform_release_dev(struct vfio_device *core_vdev)
drivers/vfio/platform/vfio_platform_common.c
217
void vfio_platform_close_device(struct vfio_device *core_vdev)
drivers/vfio/platform/vfio_platform_common.c
237
int vfio_platform_open_device(struct vfio_device *core_vdev)
drivers/vfio/platform/vfio_platform_common.c
275
int vfio_platform_ioctl_get_region_info(struct vfio_device *core_vdev,
drivers/vfio/platform/vfio_platform_common.c
293
long vfio_platform_ioctl(struct vfio_device *core_vdev,
drivers/vfio/platform/vfio_platform_common.c
441
ssize_t vfio_platform_read(struct vfio_device *core_vdev,
drivers/vfio/platform/vfio_platform_common.c
524
ssize_t vfio_platform_write(struct vfio_device *core_vdev, const char __user *buf,
drivers/vfio/platform/vfio_platform_common.c
568
int vfio_platform_mmap(struct vfio_device *core_vdev, struct vm_area_struct *vma)
drivers/vfio/platform/vfio_platform_private.h
46
struct vfio_device vdev;
drivers/vfio/platform/vfio_platform_private.h
84
int vfio_platform_open_device(struct vfio_device *core_vdev);
drivers/vfio/platform/vfio_platform_private.h
85
void vfio_platform_close_device(struct vfio_device *core_vdev);
drivers/vfio/platform/vfio_platform_private.h
86
long vfio_platform_ioctl(struct vfio_device *core_vdev,
drivers/vfio/platform/vfio_platform_private.h
88
int vfio_platform_ioctl_get_region_info(struct vfio_device *core_vdev,
drivers/vfio/platform/vfio_platform_private.h
91
ssize_t vfio_platform_read(struct vfio_device *core_vdev,
drivers/vfio/platform/vfio_platform_private.h
94
ssize_t vfio_platform_write(struct vfio_device *core_vdev,
drivers/vfio/platform/vfio_platform_private.h
97
int vfio_platform_mmap(struct vfio_device *core_vdev,
drivers/vfio/vfio.h
100
void vfio_device_unblock_group(struct vfio_device *device);
drivers/vfio/vfio.h
101
int vfio_device_set_group(struct vfio_device *device,
drivers/vfio/vfio.h
103
void vfio_device_remove_group(struct vfio_device *device);
drivers/vfio/vfio.h
104
void vfio_device_group_register(struct vfio_device *device);
drivers/vfio/vfio.h
105
void vfio_device_group_unregister(struct vfio_device *device);
drivers/vfio/vfio.h
106
int vfio_device_group_use_iommu(struct vfio_device *device);
drivers/vfio/vfio.h
107
void vfio_device_group_unuse_iommu(struct vfio_device *device);
drivers/vfio/vfio.h
112
bool vfio_device_has_container(struct vfio_device *device);
drivers/vfio/vfio.h
116
static inline bool vfio_device_is_noiommu(struct vfio_device *vdev)
drivers/vfio/vfio.h
124
static inline int vfio_device_block_group(struct vfio_device *device)
drivers/vfio/vfio.h
129
static inline void vfio_device_unblock_group(struct vfio_device *device)
drivers/vfio/vfio.h
133
static inline int vfio_device_set_group(struct vfio_device *device,
drivers/vfio/vfio.h
139
static inline void vfio_device_remove_group(struct vfio_device *device)
drivers/vfio/vfio.h
143
static inline void vfio_device_group_register(struct vfio_device *device)
drivers/vfio/vfio.h
147
static inline void vfio_device_group_unregister(struct vfio_device *device)
drivers/vfio/vfio.h
151
static inline int vfio_device_group_use_iommu(struct vfio_device *device)
drivers/vfio/vfio.h
156
static inline void vfio_device_group_unuse_iommu(struct vfio_device *device)
drivers/vfio/vfio.h
178
static inline bool vfio_device_has_container(struct vfio_device *device)
drivers/vfio/vfio.h
192
static inline bool vfio_device_is_noiommu(struct vfio_device *vdev)
drivers/vfio/vfio.h
20
struct vfio_device *device;
drivers/vfio/vfio.h
222
struct vfio_device *vdev);
drivers/vfio/vfio.h
224
struct vfio_device *vdev);
drivers/vfio/vfio.h
245
void vfio_device_container_register(struct vfio_device *device);
drivers/vfio/vfio.h
246
void vfio_device_container_unregister(struct vfio_device *device);
drivers/vfio/vfio.h
247
int vfio_device_container_pin_pages(struct vfio_device *device,
drivers/vfio/vfio.h
250
void vfio_device_container_unpin_pages(struct vfio_device *device,
drivers/vfio/vfio.h
252
int vfio_device_container_dma_rw(struct vfio_device *device,
drivers/vfio/vfio.h
284
static inline void vfio_device_container_register(struct vfio_device *device)
drivers/vfio/vfio.h
288
static inline void vfio_device_container_unregister(struct vfio_device *device)
drivers/vfio/vfio.h
292
static inline int vfio_device_container_pin_pages(struct vfio_device *device,
drivers/vfio/vfio.h
299
static inline void vfio_device_container_unpin_pages(struct vfio_device *device,
drivers/vfio/vfio.h
30
void vfio_device_put_registration(struct vfio_device *device);
drivers/vfio/vfio.h
304
static inline int vfio_device_container_dma_rw(struct vfio_device *device,
drivers/vfio/vfio.h
31
bool vfio_device_try_get_registration(struct vfio_device *device);
drivers/vfio/vfio.h
321
bool vfio_iommufd_device_has_compat_ioas(struct vfio_device *vdev,
drivers/vfio/vfio.h
325
int vfio_iommufd_compat_attach_ioas(struct vfio_device *device,
drivers/vfio/vfio.h
329
vfio_iommufd_device_has_compat_ioas(struct vfio_device *vdev,
drivers/vfio/vfio.h
345
vfio_iommufd_compat_attach_ioas(struct vfio_device *device,
drivers/vfio/vfio.h
35
vfio_allocate_device_file(struct vfio_device *device);
drivers/vfio/vfio.h
358
void vfio_init_device_cdev(struct vfio_device *device);
drivers/vfio/vfio.h
360
static inline int vfio_device_add(struct vfio_device *device)
drivers/vfio/vfio.h
369
static inline void vfio_device_del(struct vfio_device *device)
drivers/vfio/vfio.h
384
static inline void vfio_init_device_cdev(struct vfio_device *device)
drivers/vfio/vfio.h
388
static inline int vfio_device_add(struct vfio_device *device)
drivers/vfio/vfio.h
393
static inline void vfio_device_del(struct vfio_device *device)
drivers/vfio/vfio.h
438
void vfio_device_get_kvm_safe(struct vfio_device *device, struct kvm *kvm);
drivers/vfio/vfio.h
439
void vfio_device_put_kvm(struct vfio_device *device);
drivers/vfio/vfio.h
441
static inline void vfio_device_get_kvm_safe(struct vfio_device *device,
drivers/vfio/vfio.h
446
static inline void vfio_device_put_kvm(struct vfio_device *device)
drivers/vfio/vfio.h
455
void vfio_device_debugfs_init(struct vfio_device *vdev);
drivers/vfio/vfio.h
456
void vfio_device_debugfs_exit(struct vfio_device *vdev);
drivers/vfio/vfio.h
461
static inline void vfio_device_debugfs_init(struct vfio_device *vdev) { }
drivers/vfio/vfio.h
462
static inline void vfio_device_debugfs_exit(struct vfio_device *vdev) { }
drivers/vfio/vfio.h
99
int vfio_device_block_group(struct vfio_device *device);
drivers/vfio/vfio_iommu_type1.c
1371
struct vfio_device *device;
drivers/vfio/vfio_iommu_type1.c
3104
struct vfio_device *vdev)
drivers/vfio/vfio_iommu_type1.c
3125
struct vfio_device *vdev)
drivers/vfio/vfio_main.c
1050
vfio_ioctl_device_feature_logging_start(struct vfio_device *device,
drivers/vfio/vfio_main.c
1134
vfio_ioctl_device_feature_logging_stop(struct vfio_device *device,
drivers/vfio/vfio_main.c
1155
struct vfio_device *device = opaque;
drivers/vfio/vfio_main.c
1161
vfio_ioctl_device_feature_logging_report(struct vfio_device *device,
drivers/vfio/vfio_main.c
117
static void vfio_release_device_set(struct vfio_device *device)
drivers/vfio/vfio_main.c
1205
static int vfio_ioctl_device_feature(struct vfio_device *device,
drivers/vfio/vfio_main.c
1263
static long vfio_get_region_info(struct vfio_device *device,
drivers/vfio/vfio_main.c
1312
struct vfio_device *device = df->device;
drivers/vfio/vfio_main.c
1365
struct vfio_device *device = df->device;
drivers/vfio/vfio_main.c
1382
struct vfio_device *device = df->device;
drivers/vfio/vfio_main.c
1397
struct vfio_device *device = df->device;
drivers/vfio/vfio_main.c
140
struct vfio_device *cur;
drivers/vfio/vfio_main.c
1414
struct vfio_device *device = df->device;
drivers/vfio/vfio_main.c
1439
static struct vfio_device *vfio_device_from_file(struct file *file)
drivers/vfio/vfio_main.c
1470
struct vfio_device *device;
drivers/vfio/vfio_main.c
151
struct vfio_device *
drivers/vfio/vfio_main.c
155
struct vfio_device *cur;
drivers/vfio/vfio_main.c
1660
int vfio_pin_pages(struct vfio_device *device, dma_addr_t iova,
drivers/vfio/vfio_main.c
170
void vfio_device_put_registration(struct vfio_device *device)
drivers/vfio/vfio_main.c
1701
void vfio_unpin_pages(struct vfio_device *device, dma_addr_t iova, int npage)
drivers/vfio/vfio_main.c
1740
int vfio_dma_rw(struct vfio_device *device, dma_addr_t iova, void *data,
drivers/vfio/vfio_main.c
177
bool vfio_device_try_get_registration(struct vfio_device *device)
drivers/vfio/vfio_main.c
189
struct vfio_device *device =
drivers/vfio/vfio_main.c
190
container_of(dev, struct vfio_device, device);
drivers/vfio/vfio_main.c
203
static int vfio_init_device(struct vfio_device *device, struct device *dev,
drivers/vfio/vfio_main.c
218
struct vfio_device *_vfio_alloc_device(size_t size, struct device *dev,
drivers/vfio/vfio_main.c
221
struct vfio_device *device;
drivers/vfio/vfio_main.c
224
if (WARN_ON(size < sizeof(struct vfio_device)))
drivers/vfio/vfio_main.c
273
static int vfio_init_device(struct vfio_device *device, struct device *dev,
drivers/vfio/vfio_main.c
315
static int __vfio_register_dev(struct vfio_device *device,
drivers/vfio/vfio_main.c
369
int vfio_register_group_dev(struct vfio_device *device)
drivers/vfio/vfio_main.c
379
int vfio_register_emulated_iommu_dev(struct vfio_device *device)
drivers/vfio/vfio_main.c
388
void vfio_unregister_group_dev(struct vfio_device *device)
drivers/vfio/vfio_main.c
436
void vfio_device_get_kvm_safe(struct vfio_device *device, struct kvm *kvm)
drivers/vfio/vfio_main.c
468
void vfio_device_put_kvm(struct vfio_device *device)
drivers/vfio/vfio_main.c
488
static bool vfio_assert_device_open(struct vfio_device *device)
drivers/vfio/vfio_main.c
494
vfio_allocate_device_file(struct vfio_device *device)
drivers/vfio/vfio_main.c
510
struct vfio_device *device = df->device;
drivers/vfio/vfio_main.c
545
struct vfio_device *device = df->device;
drivers/vfio/vfio_main.c
561
struct vfio_device *device = df->device;
drivers/vfio/vfio_main.c
585
struct vfio_device *device = df->device;
drivers/vfio/vfio_main.c
600
static inline int vfio_device_pm_runtime_get(struct vfio_device *device)
drivers/vfio/vfio_main.c
621
static inline void vfio_device_pm_runtime_put(struct vfio_device *device)
drivers/vfio/vfio_main.c
635
struct vfio_device *device = df->device;
drivers/vfio/vfio_main.c
664
int vfio_mig_get_next_state(struct vfio_device *device,
drivers/vfio/vfio_main.c
67
int vfio_assign_device_set(struct vfio_device *device, void *set_id)
drivers/vfio/vfio_main.c
890
vfio_ioctl_device_feature_mig_device_state(struct vfio_device *device,
drivers/vfio/vfio_main.c
940
vfio_ioctl_device_feature_migration_data_size(struct vfio_device *device,
drivers/vfio/vfio_main.c
967
static int vfio_ioctl_device_feature_migration(struct vfio_device *device,
include/linux/vfio.h
118
int (*init)(struct vfio_device *vdev);
include/linux/vfio.h
119
void (*release)(struct vfio_device *vdev);
include/linux/vfio.h
120
int (*bind_iommufd)(struct vfio_device *vdev,
include/linux/vfio.h
122
void (*unbind_iommufd)(struct vfio_device *vdev);
include/linux/vfio.h
123
int (*attach_ioas)(struct vfio_device *vdev, u32 *pt_id);
include/linux/vfio.h
124
void (*detach_ioas)(struct vfio_device *vdev);
include/linux/vfio.h
125
int (*pasid_attach_ioas)(struct vfio_device *vdev, u32 pasid,
include/linux/vfio.h
127
void (*pasid_detach_ioas)(struct vfio_device *vdev, u32 pasid);
include/linux/vfio.h
128
int (*open_device)(struct vfio_device *vdev);
include/linux/vfio.h
129
void (*close_device)(struct vfio_device *vdev);
include/linux/vfio.h
130
ssize_t (*read)(struct vfio_device *vdev, char __user *buf,
include/linux/vfio.h
132
ssize_t (*write)(struct vfio_device *vdev, const char __user *buf,
include/linux/vfio.h
134
long (*ioctl)(struct vfio_device *vdev, unsigned int cmd,
include/linux/vfio.h
136
int (*get_region_info_caps)(struct vfio_device *vdev,
include/linux/vfio.h
139
int (*mmap)(struct vfio_device *vdev, struct vm_area_struct *vma);
include/linux/vfio.h
140
void (*request)(struct vfio_device *vdev, unsigned int count);
include/linux/vfio.h
141
int (*match)(struct vfio_device *vdev, char *buf);
include/linux/vfio.h
142
int (*match_token_uuid)(struct vfio_device *vdev, const uuid_t *uuid);
include/linux/vfio.h
143
void (*dma_unmap)(struct vfio_device *vdev, u64 iova, u64 length);
include/linux/vfio.h
144
int (*device_feature)(struct vfio_device *device, u32 flags,
include/linux/vfio.h
149
struct iommufd_ctx *vfio_iommufd_device_ictx(struct vfio_device *vdev);
include/linux/vfio.h
150
int vfio_iommufd_get_dev_id(struct vfio_device *vdev, struct iommufd_ctx *ictx);
include/linux/vfio.h
151
int vfio_iommufd_physical_bind(struct vfio_device *vdev,
include/linux/vfio.h
153
void vfio_iommufd_physical_unbind(struct vfio_device *vdev);
include/linux/vfio.h
154
int vfio_iommufd_physical_attach_ioas(struct vfio_device *vdev, u32 *pt_id);
include/linux/vfio.h
155
void vfio_iommufd_physical_detach_ioas(struct vfio_device *vdev);
include/linux/vfio.h
156
int vfio_iommufd_physical_pasid_attach_ioas(struct vfio_device *vdev,
include/linux/vfio.h
158
void vfio_iommufd_physical_pasid_detach_ioas(struct vfio_device *vdev,
include/linux/vfio.h
160
int vfio_iommufd_emulated_bind(struct vfio_device *vdev,
include/linux/vfio.h
162
void vfio_iommufd_emulated_unbind(struct vfio_device *vdev);
include/linux/vfio.h
163
int vfio_iommufd_emulated_attach_ioas(struct vfio_device *vdev, u32 *pt_id);
include/linux/vfio.h
164
void vfio_iommufd_emulated_detach_ioas(struct vfio_device *vdev);
include/linux/vfio.h
167
vfio_iommufd_device_ictx(struct vfio_device *vdev)
include/linux/vfio.h
173
vfio_iommufd_get_dev_id(struct vfio_device *vdev, struct iommufd_ctx *ictx)
include/linux/vfio.h
179
((int (*)(struct vfio_device *vdev, struct iommufd_ctx *ictx, \
include/linux/vfio.h
182
((void (*)(struct vfio_device *vdev)) NULL)
include/linux/vfio.h
184
((int (*)(struct vfio_device *vdev, u32 *pt_id)) NULL)
include/linux/vfio.h
186
((void (*)(struct vfio_device *vdev)) NULL)
include/linux/vfio.h
188
((int (*)(struct vfio_device *vdev, u32 pasid, u32 *pt_id)) NULL)
include/linux/vfio.h
190
((void (*)(struct vfio_device *vdev, u32 pasid)) NULL)
include/linux/vfio.h
192
((int (*)(struct vfio_device *vdev, struct iommufd_ctx *ictx, \
include/linux/vfio.h
195
((void (*)(struct vfio_device *vdev)) NULL)
include/linux/vfio.h
197
((int (*)(struct vfio_device *vdev, u32 *pt_id)) NULL)
include/linux/vfio.h
199
((void (*)(struct vfio_device *vdev)) NULL)
include/linux/vfio.h
202
static inline bool vfio_device_cdev_opened(struct vfio_device *device)
include/linux/vfio.h
226
struct vfio_device *device,
include/linux/vfio.h
228
int (*migration_get_state)(struct vfio_device *device,
include/linux/vfio.h
230
int (*migration_get_data_size)(struct vfio_device *device,
include/linux/vfio.h
250
int (*log_start)(struct vfio_device *device,
include/linux/vfio.h
252
int (*log_stop)(struct vfio_device *device);
include/linux/vfio.h
253
int (*log_read_and_clear)(struct vfio_device *device,
include/linux/vfio.h
287
struct vfio_device *_vfio_alloc_device(size_t size, struct device *dev,
include/linux/vfio.h
296
static inline void vfio_put_device(struct vfio_device *device)
include/linux/vfio.h
301
int vfio_register_group_dev(struct vfio_device *device);
include/linux/vfio.h
302
int vfio_register_emulated_iommu_dev(struct vfio_device *device);
include/linux/vfio.h
303
void vfio_unregister_group_dev(struct vfio_device *device);
include/linux/vfio.h
304
bool vfio_device_try_get_registration(struct vfio_device *device);
include/linux/vfio.h
305
void vfio_device_put_registration(struct vfio_device *device);
include/linux/vfio.h
307
int vfio_assign_device_set(struct vfio_device *device, void *set_id);
include/linux/vfio.h
309
struct vfio_device *
include/linux/vfio.h
313
int vfio_mig_get_next_state(struct vfio_device *device,
include/linux/vfio.h
328
bool vfio_file_has_dev(struct file *file, struct vfio_device *device);
include/linux/vfio.h
335
static inline bool vfio_file_has_dev(struct file *file, struct vfio_device *device)
include/linux/vfio.h
346
int vfio_pin_pages(struct vfio_device *device, dma_addr_t iova,
include/linux/vfio.h
348
void vfio_unpin_pages(struct vfio_device *device, dma_addr_t iova, int npage);
include/linux/vfio.h
349
int vfio_dma_rw(struct vfio_device *device, dma_addr_t iova,
include/linux/vfio_pci_core.h
161
void vfio_pci_core_close_device(struct vfio_device *core_vdev);
include/linux/vfio_pci_core.h
162
int vfio_pci_core_init_dev(struct vfio_device *core_vdev);
include/linux/vfio_pci_core.h
163
void vfio_pci_core_release_dev(struct vfio_device *core_vdev);
include/linux/vfio_pci_core.h
169
long vfio_pci_core_ioctl(struct vfio_device *core_vdev, unsigned int cmd,
include/linux/vfio_pci_core.h
171
int vfio_pci_core_ioctl_feature(struct vfio_device *device, u32 flags,
include/linux/vfio_pci_core.h
173
int vfio_pci_ioctl_get_region_info(struct vfio_device *core_vdev,
include/linux/vfio_pci_core.h
176
ssize_t vfio_pci_core_read(struct vfio_device *core_vdev, char __user *buf,
include/linux/vfio_pci_core.h
178
ssize_t vfio_pci_core_write(struct vfio_device *core_vdev, const char __user *buf,
include/linux/vfio_pci_core.h
183
int vfio_pci_core_mmap(struct vfio_device *core_vdev, struct vm_area_struct *vma);
include/linux/vfio_pci_core.h
184
void vfio_pci_core_request(struct vfio_device *core_vdev, unsigned int count);
include/linux/vfio_pci_core.h
185
int vfio_pci_core_match(struct vfio_device *core_vdev, char *buf);
include/linux/vfio_pci_core.h
186
int vfio_pci_core_match_token_uuid(struct vfio_device *core_vdev,
include/linux/vfio_pci_core.h
99
struct vfio_device vdev;
samples/vfio-mdev/mbochs.c
1031
static int mbochs_ioctl_get_region_info(struct vfio_device *vdev,
samples/vfio-mdev/mbochs.c
1188
static long mbochs_ioctl(struct vfio_device *vdev, unsigned int cmd,
samples/vfio-mdev/mbochs.c
1284
static void mbochs_close_device(struct vfio_device *vdev)
samples/vfio-mdev/mbochs.c
170
struct vfio_device vdev;
samples/vfio-mdev/mbochs.c
514
static int mbochs_init_dev(struct vfio_device *vdev)
samples/vfio-mdev/mbochs.c
587
static void mbochs_release_dev(struct vfio_device *vdev)
samples/vfio-mdev/mbochs.c
605
static ssize_t mbochs_read(struct vfio_device *vdev, char __user *buf,
samples/vfio-mdev/mbochs.c
666
static ssize_t mbochs_write(struct vfio_device *vdev, const char __user *buf,
samples/vfio-mdev/mbochs.c
793
static int mbochs_mmap(struct vfio_device *vdev, struct vm_area_struct *vma)
samples/vfio-mdev/mdpy.c
225
static int mdpy_init_dev(struct vfio_device *vdev)
samples/vfio-mdev/mdpy.c
282
static void mdpy_release_dev(struct vfio_device *vdev)
samples/vfio-mdev/mdpy.c
301
static ssize_t mdpy_read(struct vfio_device *vdev, char __user *buf,
samples/vfio-mdev/mdpy.c
362
static ssize_t mdpy_write(struct vfio_device *vdev, const char __user *buf,
samples/vfio-mdev/mdpy.c
421
static int mdpy_mmap(struct vfio_device *vdev, struct vm_area_struct *vma)
samples/vfio-mdev/mdpy.c
438
static int mdpy_ioctl_get_region_info(struct vfio_device *vdev,
samples/vfio-mdev/mdpy.c
518
static long mdpy_ioctl(struct vfio_device *vdev, unsigned int cmd,
samples/vfio-mdev/mdpy.c
98
struct vfio_device vdev;
samples/vfio-mdev/mtty.c
1224
static struct file *mtty_set_state(struct vfio_device *vdev,
samples/vfio-mdev/mtty.c
1259
static int mtty_get_state(struct vfio_device *vdev,
samples/vfio-mdev/mtty.c
1271
static int mtty_get_data_size(struct vfio_device *vdev,
samples/vfio-mdev/mtty.c
1287
static int mtty_log_start(struct vfio_device *vdev,
samples/vfio-mdev/mtty.c
1294
static int mtty_log_stop(struct vfio_device *vdev)
samples/vfio-mdev/mtty.c
1299
static int mtty_log_read_and_clear(struct vfio_device *vdev,
samples/vfio-mdev/mtty.c
1312
static int mtty_init_dev(struct vfio_device *vdev)
samples/vfio-mdev/mtty.c
1382
static void mtty_release_dev(struct vfio_device *vdev)
samples/vfio-mdev/mtty.c
1417
static ssize_t mtty_read(struct vfio_device *vdev, char __user *buf,
samples/vfio-mdev/mtty.c
1478
static ssize_t mtty_write(struct vfio_device *vdev, const char __user *buf,
samples/vfio-mdev/mtty.c
154
struct vfio_device vdev;
samples/vfio-mdev/mtty.c
1720
static int mtty_ioctl_get_region_info(struct vfio_device *vdev,
samples/vfio-mdev/mtty.c
1790
static long mtty_ioctl(struct vfio_device *vdev, unsigned int cmd,
samples/vfio-mdev/mtty.c
1913
static void mtty_close(struct vfio_device *vdev)