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_init_dev(struct vfio_device *core_vdev)
drivers/vfio/cdx/main.c
116
static int vfio_cdx_ioctl_feature(struct vfio_device *device, u32 flags,
drivers/vfio/cdx/main.c
149
static int vfio_cdx_ioctl_get_region_info(struct vfio_device *core_vdev,
drivers/vfio/cdx/main.c
20
static void vfio_cdx_release_dev(struct vfio_device *core_vdev)
drivers/vfio/cdx/main.c
223
static long vfio_cdx_ioctl(struct vfio_device *core_vdev,
drivers/vfio/cdx/main.c
264
static int vfio_cdx_mmap(struct vfio_device *core_vdev,
drivers/vfio/cdx/main.c
28
static int vfio_cdx_open_device(struct vfio_device *core_vdev)
drivers/vfio/cdx/main.c
74
static void vfio_cdx_close_device(struct vfio_device *core_vdev)
drivers/vfio/cdx/main.c
84
static int vfio_cdx_bm_ctrl(struct vfio_device *core_vdev, u32 flags,
drivers/vfio/cdx/private.h
34
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
504
static int vfio_fsl_mc_init_dev(struct vfio_device *core_vdev)
drivers/vfio/fsl-mc/vfio_fsl_mc.c
556
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
163
static void vfio_device_group_get_kvm_safe(struct vfio_device *device)
drivers/vfio/group.c
172
struct vfio_device *device = df->device;
drivers/vfio/group.c
240
struct vfio_device *device = df->device;
drivers/vfio/group.c
255
static struct file *vfio_device_open_file(struct vfio_device *device)
drivers/vfio/group.c
306
struct vfio_device *device;
drivers/vfio/group.c
31
static struct vfio_device *vfio_device_get_from_name(struct vfio_group *group,
drivers/vfio/group.c
34
struct vfio_device *it, *device = ERR_PTR(-ENODEV);
drivers/vfio/group.c
384
int vfio_device_block_group(struct vfio_device *device)
drivers/vfio/group.c
402
void vfio_device_unblock_group(struct vfio_device *device)
drivers/vfio/group.c
625
struct vfio_device *device;
drivers/vfio/group.c
679
int vfio_device_set_group(struct vfio_device *device,
drivers/vfio/group.c
697
void vfio_device_remove_group(struct vfio_device *device)
drivers/vfio/group.c
743
void vfio_device_group_register(struct vfio_device *device)
drivers/vfio/group.c
750
void vfio_device_group_unregister(struct vfio_device *device)
drivers/vfio/group.c
757
int vfio_device_group_use_iommu(struct vfio_device *device)
drivers/vfio/group.c
774
void vfio_device_group_unuse_iommu(struct vfio_device *device)
drivers/vfio/group.c
787
bool vfio_device_has_container(struct vfio_device *device)
drivers/vfio/group.c
842
struct vfio_device *device;
drivers/vfio/group.c
877
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
1101
hisi_acc_vfio_pci_set_device_state(struct vfio_device *vdev,
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1134
hisi_acc_vfio_pci_get_data_size(struct vfio_device *vdev,
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1142
hisi_acc_vfio_pci_get_device_state(struct vfio_device *vdev,
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1296
static int hisi_acc_pci_rw_access_check(struct vfio_device *core_vdev,
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1319
static int hisi_acc_vfio_pci_mmap(struct vfio_device *core_vdev,
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1344
static ssize_t hisi_acc_vfio_pci_write(struct vfio_device *core_vdev,
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1358
static ssize_t hisi_acc_vfio_pci_read(struct vfio_device *core_vdev,
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1372
static int hisi_acc_vfio_ioctl_get_region(struct vfio_device *core_vdev,
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1391
static int hisi_acc_vf_debug_check(struct seq_file *seq, struct vfio_device *vdev)
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1420
struct vfio_device *vdev = &core_device->vdev;
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1449
struct vfio_device *vdev = &core_device->vdev;
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1496
struct vfio_device *vdev = &core_device->vdev;
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1514
static int hisi_acc_vfio_pci_open_device(struct vfio_device *core_vdev)
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1542
static void hisi_acc_vfio_pci_close_device(struct vfio_device *core_vdev)
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1562
static int hisi_acc_vfio_pci_migrn_init_dev(struct vfio_device *core_vdev)
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
1625
struct vfio_device *vdev = &hisi_acc_vdev->core_device.vdev;
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
695
static struct hisi_acc_vf_core_device *hisi_acc_get_vf_dev(struct vfio_device *vdev)
drivers/vfio/pci/ism/main.c
220
static ssize_t ism_vfio_pci_rw(struct vfio_device *core_vdev, char __user *buf,
drivers/vfio/pci/ism/main.c
248
static ssize_t ism_vfio_pci_read(struct vfio_device *core_vdev,
drivers/vfio/pci/ism/main.c
254
static ssize_t ism_vfio_pci_write(struct vfio_device *core_vdev,
drivers/vfio/pci/ism/main.c
262
static int ism_vfio_pci_ioctl_get_region_info(struct vfio_device *core_vdev,
drivers/vfio/pci/ism/main.c
296
static int ism_vfio_pci_init_dev(struct vfio_device *core_vdev)
drivers/vfio/pci/ism/main.c
326
static void ism_vfio_pci_release_dev(struct vfio_device *core_vdev)
drivers/vfio/pci/ism/main.c
50
static int ism_vfio_pci_open_device(struct vfio_device *core_vdev)
drivers/vfio/pci/mlx5/cmd.c
1495
int mlx5vf_stop_page_tracker(struct vfio_device *vdev)
drivers/vfio/pci/mlx5/cmd.c
1511
int mlx5vf_start_page_tracker(struct vfio_device *vdev,
drivers/vfio/pci/mlx5/cmd.c
1740
int mlx5vf_tracker_read_and_clear(struct vfio_device *vdev, unsigned long iova,
drivers/vfio/pci/mlx5/cmd.h
249
int mlx5vf_start_page_tracker(struct vfio_device *vdev,
drivers/vfio/pci/mlx5/cmd.h
251
int mlx5vf_stop_page_tracker(struct vfio_device *vdev);
drivers/vfio/pci/mlx5/cmd.h
252
int mlx5vf_tracker_read_and_clear(struct vfio_device *vdev, unsigned long iova,
drivers/vfio/pci/mlx5/main.c
1238
mlx5vf_pci_set_device_state(struct vfio_device *vdev,
drivers/vfio/pci/mlx5/main.c
1269
static int mlx5vf_pci_get_data_size(struct vfio_device *vdev,
drivers/vfio/pci/mlx5/main.c
1287
static int mlx5vf_pci_get_device_state(struct vfio_device *vdev,
drivers/vfio/pci/mlx5/main.c
1323
static int mlx5vf_pci_open_device(struct vfio_device *core_vdev)
drivers/vfio/pci/mlx5/main.c
1340
static void mlx5vf_pci_close_device(struct vfio_device *core_vdev)
drivers/vfio/pci/mlx5/main.c
1361
static int mlx5vf_pci_init_dev(struct vfio_device *core_vdev)
drivers/vfio/pci/mlx5/main.c
1377
static void mlx5vf_pci_release_dev(struct vfio_device *core_vdev)
drivers/vfio/pci/nvgrace-gpu/main.c
157
nvgrace_gpu_vfio_pci_register_pfn_range(struct vfio_device *core_vdev,
drivers/vfio/pci/nvgrace-gpu/main.c
173
static int nvgrace_gpu_open_device(struct vfio_device *core_vdev)
drivers/vfio/pci/nvgrace-gpu/main.c
226
static void nvgrace_gpu_close_device(struct vfio_device *core_vdev)
drivers/vfio/pci/nvgrace-gpu/main.c
474
static int nvgrace_gpu_mmap(struct vfio_device *core_vdev,
drivers/vfio/pci/nvgrace-gpu/main.c
533
static int nvgrace_gpu_ioctl_get_region_info(struct vfio_device *core_vdev,
drivers/vfio/pci/nvgrace-gpu/main.c
588
static long nvgrace_gpu_ioctl(struct vfio_device *core_vdev,
drivers/vfio/pci/nvgrace-gpu/main.c
623
nvgrace_gpu_read_config_emu(struct vfio_device *core_vdev,
drivers/vfio/pci/nvgrace-gpu/main.c
674
nvgrace_gpu_write_config_emu(struct vfio_device *core_vdev,
drivers/vfio/pci/nvgrace-gpu/main.c
75
static void nvgrace_gpu_init_fake_bar_emu_regs(struct vfio_device *core_vdev)
drivers/vfio/pci/nvgrace-gpu/main.c
866
nvgrace_gpu_read(struct vfio_device *core_vdev,
drivers/vfio/pci/nvgrace-gpu/main.c
996
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
483
static struct file *qat_vf_pci_set_device_state(struct vfio_device *vdev,
drivers/vfio/pci/qat/main.c
515
static int qat_vf_pci_get_device_state(struct vfio_device *vdev,
drivers/vfio/pci/qat/main.c
528
static int qat_vf_pci_get_data_size(struct vfio_device *vdev,
drivers/vfio/pci/qat/main.c
547
static void qat_vf_pci_release_dev(struct vfio_device *core_vdev)
drivers/vfio/pci/qat/main.c
558
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.c
128
static int vfio_pci_init_dev(struct vfio_device *core_vdev)
drivers/vfio/pci/vfio_pci_core.c
107
struct vfio_device *core_vdev = container_of(dev, struct vfio_device,
drivers/vfio/pci/vfio_pci_core.c
1127
int vfio_pci_ioctl_get_region_info(struct vfio_device *core_vdev,
drivers/vfio/pci/vfio_pci_core.c
1555
long vfio_pci_core_ioctl(struct vfio_device *core_vdev, unsigned int cmd,
drivers/vfio/pci/vfio_pci_core.c
1610
int vfio_pci_core_ioctl_feature(struct vfio_device *device, u32 flags,
drivers/vfio/pci/vfio_pci_core.c
1681
ssize_t vfio_pci_core_read(struct vfio_device *core_vdev, char __user *buf,
drivers/vfio/pci/vfio_pci_core.c
1694
ssize_t vfio_pci_core_write(struct vfio_device *core_vdev, const char __user *buf,
drivers/vfio/pci/vfio_pci_core.c
1709
struct vfio_device *core_vdev = &vdev->vdev;
drivers/vfio/pci/vfio_pci_core.c
1814
int vfio_pci_core_mmap(struct vfio_device *core_vdev, struct vm_area_struct *vma)
drivers/vfio/pci/vfio_pci_core.c
1894
void vfio_pci_core_request(struct vfio_device *core_vdev, unsigned int count)
drivers/vfio/pci/vfio_pci_core.c
1917
int vfio_pci_core_match_token_uuid(struct vfio_device *core_vdev,
drivers/vfio/pci/vfio_pci_core.c
2010
int vfio_pci_core_match(struct vfio_device *core_vdev, char *buf)
drivers/vfio/pci/vfio_pci_core.c
2179
int vfio_pci_core_init_dev(struct vfio_device *core_vdev)
drivers/vfio/pci/vfio_pci_core.c
2204
void vfio_pci_core_release_dev(struct vfio_device *core_vdev)
drivers/vfio/pci/vfio_pci_core.c
2425
static bool vfio_dev_in_groups(struct vfio_device *vdev,
drivers/vfio/pci/vfio_pci_core.c
814
void vfio_pci_core_close_device(struct vfio_device *core_vdev)
drivers/vfio/pci/vfio_pci_core.c
896
struct vfio_device *vdev;
drivers/vfio/pci/vfio_pci_core.c
920
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
123
static ssize_t virtiovf_pci_read_config(struct vfio_device *core_vdev,
drivers/vfio/pci/virtio/legacy_io.c
208
ssize_t virtiovf_pci_core_read(struct vfio_device *core_vdev, char __user *buf,
drivers/vfio/pci/virtio/legacy_io.c
228
static ssize_t virtiovf_pci_write_config(struct vfio_device *core_vdev,
drivers/vfio/pci/virtio/legacy_io.c
262
ssize_t virtiovf_pci_core_write(struct vfio_device *core_vdev, const char __user *buf,
drivers/vfio/pci/virtio/legacy_io.c
282
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
1200
virtiovf_pci_set_device_state(struct vfio_device *vdev,
drivers/vfio/pci/virtio/migrate.c
1231
static int virtiovf_pci_get_device_state(struct vfio_device *vdev,
drivers/vfio/pci/virtio/migrate.c
1243
static int virtiovf_pci_get_data_size(struct vfio_device *vdev,
drivers/vfio/pci/xe/main.c
146
static int xe_vfio_pci_open_device(struct vfio_device *core_vdev)
drivers/vfio/pci/xe/main.c
164
static void xe_vfio_pci_close_device(struct vfio_device *core_vdev)
drivers/vfio/pci/xe/main.c
398
xe_vfio_pci_set_device_state(struct vfio_device *core_vdev,
drivers/vfio/pci/xe/main.c
434
static int xe_vfio_pci_get_device_state(struct vfio_device *core_vdev,
drivers/vfio/pci/xe/main.c
447
static int xe_vfio_pci_get_data_size(struct vfio_device *vdev,
drivers/vfio/pci/xe/main.c
468
struct vfio_device *core_vdev = &xe_vdev->core_device.vdev;
drivers/vfio/pci/xe/main.c
479
struct vfio_device *core_vdev = &xe_vdev->core_device.vdev;
drivers/vfio/pci/xe/main.c
497
static int xe_vfio_pci_init_dev(struct vfio_device *core_vdev)
drivers/vfio/pci/xe/main.c
513
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
int vfio_device_set_group(struct vfio_device *device,
drivers/vfio/vfio.h
102
void vfio_device_remove_group(struct vfio_device *device);
drivers/vfio/vfio.h
103
void vfio_device_group_register(struct vfio_device *device);
drivers/vfio/vfio.h
104
void vfio_device_group_unregister(struct vfio_device *device);
drivers/vfio/vfio.h
105
int vfio_device_group_use_iommu(struct vfio_device *device);
drivers/vfio/vfio.h
106
void vfio_device_group_unuse_iommu(struct vfio_device *device);
drivers/vfio/vfio.h
111
bool vfio_device_has_container(struct vfio_device *device);
drivers/vfio/vfio.h
115
static inline bool vfio_device_is_noiommu(struct vfio_device *vdev)
drivers/vfio/vfio.h
123
static inline int vfio_device_block_group(struct vfio_device *device)
drivers/vfio/vfio.h
128
static inline void vfio_device_unblock_group(struct vfio_device *device)
drivers/vfio/vfio.h
132
static inline int vfio_device_set_group(struct vfio_device *device,
drivers/vfio/vfio.h
138
static inline void vfio_device_remove_group(struct vfio_device *device)
drivers/vfio/vfio.h
142
static inline void vfio_device_group_register(struct vfio_device *device)
drivers/vfio/vfio.h
146
static inline void vfio_device_group_unregister(struct vfio_device *device)
drivers/vfio/vfio.h
150
static inline int vfio_device_group_use_iommu(struct vfio_device *device)
drivers/vfio/vfio.h
155
static inline void vfio_device_group_unuse_iommu(struct vfio_device *device)
drivers/vfio/vfio.h
177
static inline bool vfio_device_has_container(struct vfio_device *device)
drivers/vfio/vfio.h
191
static inline bool vfio_device_is_noiommu(struct vfio_device *vdev)
drivers/vfio/vfio.h
20
struct vfio_device *device;
drivers/vfio/vfio.h
221
struct vfio_device *vdev);
drivers/vfio/vfio.h
223
struct vfio_device *vdev);
drivers/vfio/vfio.h
244
void vfio_device_container_register(struct vfio_device *device);
drivers/vfio/vfio.h
245
void vfio_device_container_unregister(struct vfio_device *device);
drivers/vfio/vfio.h
246
int vfio_device_container_pin_pages(struct vfio_device *device,
drivers/vfio/vfio.h
249
void vfio_device_container_unpin_pages(struct vfio_device *device,
drivers/vfio/vfio.h
251
int vfio_device_container_dma_rw(struct vfio_device *device,
drivers/vfio/vfio.h
283
static inline void vfio_device_container_register(struct vfio_device *device)
drivers/vfio/vfio.h
287
static inline void vfio_device_container_unregister(struct vfio_device *device)
drivers/vfio/vfio.h
291
static inline int vfio_device_container_pin_pages(struct vfio_device *device,
drivers/vfio/vfio.h
298
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
303
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
320
bool vfio_iommufd_device_has_compat_ioas(struct vfio_device *vdev,
drivers/vfio/vfio.h
324
int vfio_iommufd_compat_attach_ioas(struct vfio_device *device,
drivers/vfio/vfio.h
328
vfio_iommufd_device_has_compat_ioas(struct vfio_device *vdev,
drivers/vfio/vfio.h
344
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
357
void vfio_init_device_cdev(struct vfio_device *device);
drivers/vfio/vfio.h
359
static inline int vfio_device_add(struct vfio_device *device)
drivers/vfio/vfio.h
368
static inline void vfio_device_del(struct vfio_device *device)
drivers/vfio/vfio.h
383
static inline void vfio_init_device_cdev(struct vfio_device *device)
drivers/vfio/vfio.h
387
static inline int vfio_device_add(struct vfio_device *device)
drivers/vfio/vfio.h
392
static inline void vfio_device_del(struct vfio_device *device)
drivers/vfio/vfio.h
437
void vfio_device_get_kvm_safe(struct vfio_device *device, struct kvm *kvm);
drivers/vfio/vfio.h
438
void vfio_device_put_kvm(struct vfio_device *device);
drivers/vfio/vfio.h
440
static inline void vfio_device_get_kvm_safe(struct vfio_device *device,
drivers/vfio/vfio.h
445
static inline void vfio_device_put_kvm(struct vfio_device *device)
drivers/vfio/vfio.h
454
void vfio_device_debugfs_init(struct vfio_device *vdev);
drivers/vfio/vfio.h
455
void vfio_device_debugfs_exit(struct vfio_device *vdev);
drivers/vfio/vfio.h
460
static inline void vfio_device_debugfs_init(struct vfio_device *vdev) { }
drivers/vfio/vfio.h
461
static inline void vfio_device_debugfs_exit(struct vfio_device *vdev) { }
drivers/vfio/vfio.h
98
int vfio_device_block_group(struct vfio_device *device);
drivers/vfio/vfio.h
99
void vfio_device_unblock_group(struct vfio_device *device);
drivers/vfio/vfio_iommu_type1.c
1370
struct vfio_device *device;
drivers/vfio/vfio_iommu_type1.c
3103
struct vfio_device *vdev)
drivers/vfio/vfio_iommu_type1.c
3124
struct vfio_device *vdev)
drivers/vfio/vfio_main.c
1001
static int vfio_ioctl_device_feature_migration(struct vfio_device *device,
drivers/vfio/vfio_main.c
1084
vfio_ioctl_device_feature_logging_start(struct vfio_device *device,
drivers/vfio/vfio_main.c
1168
vfio_ioctl_device_feature_logging_stop(struct vfio_device *device,
drivers/vfio/vfio_main.c
1189
struct vfio_device *device = opaque;
drivers/vfio/vfio_main.c
1195
vfio_ioctl_device_feature_logging_report(struct vfio_device *device,
drivers/vfio/vfio_main.c
1239
static int vfio_ioctl_device_feature(struct vfio_device *device,
drivers/vfio/vfio_main.c
126
static void vfio_release_device_set(struct vfio_device *device)
drivers/vfio/vfio_main.c
1300
static long vfio_get_region_info(struct vfio_device *device,
drivers/vfio/vfio_main.c
1349
struct vfio_device *device = df->device;
drivers/vfio/vfio_main.c
1402
struct vfio_device *device = df->device;
drivers/vfio/vfio_main.c
1419
struct vfio_device *device = df->device;
drivers/vfio/vfio_main.c
1434
struct vfio_device *device = df->device;
drivers/vfio/vfio_main.c
1451
struct vfio_device *device = df->device;
drivers/vfio/vfio_main.c
1476
static struct vfio_device *vfio_device_from_file(struct file *file)
drivers/vfio/vfio_main.c
149
struct vfio_device *cur;
drivers/vfio/vfio_main.c
1507
struct vfio_device *device;
drivers/vfio/vfio_main.c
160
struct vfio_device *
drivers/vfio/vfio_main.c
164
struct vfio_device *cur;
drivers/vfio/vfio_main.c
1697
int vfio_pin_pages(struct vfio_device *device, dma_addr_t iova,
drivers/vfio/vfio_main.c
1738
void vfio_unpin_pages(struct vfio_device *device, dma_addr_t iova, int npage)
drivers/vfio/vfio_main.c
1777
int vfio_dma_rw(struct vfio_device *device, dma_addr_t iova, void *data,
drivers/vfio/vfio_main.c
179
void vfio_device_put_registration(struct vfio_device *device)
drivers/vfio/vfio_main.c
186
bool vfio_device_try_get_registration(struct vfio_device *device)
drivers/vfio/vfio_main.c
198
struct vfio_device *device =
drivers/vfio/vfio_main.c
199
container_of(dev, struct vfio_device, device);
drivers/vfio/vfio_main.c
212
static int vfio_init_device(struct vfio_device *device, struct device *dev,
drivers/vfio/vfio_main.c
227
struct vfio_device *_vfio_alloc_device(size_t size, struct device *dev,
drivers/vfio/vfio_main.c
230
struct vfio_device *device;
drivers/vfio/vfio_main.c
233
if (WARN_ON(size < sizeof(struct vfio_device)))
drivers/vfio/vfio_main.c
282
static int vfio_init_device(struct vfio_device *device, struct device *dev,
drivers/vfio/vfio_main.c
324
static int __vfio_register_dev(struct vfio_device *device,
drivers/vfio/vfio_main.c
378
int vfio_register_group_dev(struct vfio_device *device)
drivers/vfio/vfio_main.c
388
int vfio_register_emulated_iommu_dev(struct vfio_device *device)
drivers/vfio/vfio_main.c
397
void vfio_unregister_group_dev(struct vfio_device *device)
drivers/vfio/vfio_main.c
451
void vfio_device_get_kvm_safe(struct vfio_device *device, struct kvm *kvm)
drivers/vfio/vfio_main.c
483
void vfio_device_put_kvm(struct vfio_device *device)
drivers/vfio/vfio_main.c
503
static bool vfio_assert_device_open(struct vfio_device *device)
drivers/vfio/vfio_main.c
509
vfio_allocate_device_file(struct vfio_device *device)
drivers/vfio/vfio_main.c
525
struct vfio_device *device = df->device;
drivers/vfio/vfio_main.c
560
struct vfio_device *device = df->device;
drivers/vfio/vfio_main.c
577
struct vfio_device *device = df->device;
drivers/vfio/vfio_main.c
601
struct vfio_device *device = df->device;
drivers/vfio/vfio_main.c
616
static inline int vfio_device_pm_runtime_get(struct vfio_device *device)
drivers/vfio/vfio_main.c
637
static inline void vfio_device_pm_runtime_put(struct vfio_device *device)
drivers/vfio/vfio_main.c
651
struct vfio_device *device = df->device;
drivers/vfio/vfio_main.c
680
int vfio_mig_get_next_state(struct vfio_device *device,
drivers/vfio/vfio_main.c
76
int vfio_assign_device_set(struct vfio_device *device, void *set_id)
drivers/vfio/vfio_main.c
907
vfio_ioctl_device_feature_mig_device_state(struct vfio_device *device,
drivers/vfio/vfio_main.c
957
vfio_ioctl_device_feature_migration_data_size(struct vfio_device *device,
drivers/vfio/vfio_main.c
985
vfio_ioctl_device_feature_migration_precopy_info_v2(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
301
vfio_check_precopy_ioctl(struct vfio_device *vdev, unsigned int cmd,
include/linux/vfio.h
325
struct vfio_device *_vfio_alloc_device(size_t size, struct device *dev,
include/linux/vfio.h
334
static inline void vfio_put_device(struct vfio_device *device)
include/linux/vfio.h
339
int vfio_register_group_dev(struct vfio_device *device);
include/linux/vfio.h
340
int vfio_register_emulated_iommu_dev(struct vfio_device *device);
include/linux/vfio.h
341
void vfio_unregister_group_dev(struct vfio_device *device);
include/linux/vfio.h
342
bool vfio_device_try_get_registration(struct vfio_device *device);
include/linux/vfio.h
343
void vfio_device_put_registration(struct vfio_device *device);
include/linux/vfio.h
345
int vfio_assign_device_set(struct vfio_device *device, void *set_id);
include/linux/vfio.h
347
struct vfio_device *
include/linux/vfio.h
351
int vfio_mig_get_next_state(struct vfio_device *device,
include/linux/vfio.h
366
bool vfio_file_has_dev(struct file *file, struct vfio_device *device);
include/linux/vfio.h
373
static inline bool vfio_file_has_dev(struct file *file, struct vfio_device *device)
include/linux/vfio.h
384
int vfio_pin_pages(struct vfio_device *device, dma_addr_t iova,
include/linux/vfio.h
386
void vfio_unpin_pages(struct vfio_device *device, dma_addr_t iova, int npage);
include/linux/vfio.h
387
int vfio_dma_rw(struct vfio_device *device, dma_addr_t iova,
include/linux/vfio_pci_core.h
166
void vfio_pci_core_close_device(struct vfio_device *core_vdev);
include/linux/vfio_pci_core.h
167
int vfio_pci_core_init_dev(struct vfio_device *core_vdev);
include/linux/vfio_pci_core.h
168
void vfio_pci_core_release_dev(struct vfio_device *core_vdev);
include/linux/vfio_pci_core.h
174
long vfio_pci_core_ioctl(struct vfio_device *core_vdev, unsigned int cmd,
include/linux/vfio_pci_core.h
176
int vfio_pci_core_ioctl_feature(struct vfio_device *device, u32 flags,
include/linux/vfio_pci_core.h
178
int vfio_pci_ioctl_get_region_info(struct vfio_device *core_vdev,
include/linux/vfio_pci_core.h
181
ssize_t vfio_pci_core_read(struct vfio_device *core_vdev, char __user *buf,
include/linux/vfio_pci_core.h
183
ssize_t vfio_pci_core_write(struct vfio_device *core_vdev, const char __user *buf,
include/linux/vfio_pci_core.h
188
int vfio_pci_core_mmap(struct vfio_device *core_vdev, struct vm_area_struct *vma);
include/linux/vfio_pci_core.h
189
void vfio_pci_core_request(struct vfio_device *core_vdev, unsigned int count);
include/linux/vfio_pci_core.h
190
int vfio_pci_core_match(struct vfio_device *core_vdev, char *buf);
include/linux/vfio_pci_core.h
191
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
1221
static struct file *mtty_set_state(struct vfio_device *vdev,
samples/vfio-mdev/mtty.c
1256
static int mtty_get_state(struct vfio_device *vdev,
samples/vfio-mdev/mtty.c
1268
static int mtty_get_data_size(struct vfio_device *vdev,
samples/vfio-mdev/mtty.c
1284
static int mtty_log_start(struct vfio_device *vdev,
samples/vfio-mdev/mtty.c
1291
static int mtty_log_stop(struct vfio_device *vdev)
samples/vfio-mdev/mtty.c
1296
static int mtty_log_read_and_clear(struct vfio_device *vdev,
samples/vfio-mdev/mtty.c
1309
static int mtty_init_dev(struct vfio_device *vdev)
samples/vfio-mdev/mtty.c
1379
static void mtty_release_dev(struct vfio_device *vdev)
samples/vfio-mdev/mtty.c
1414
static ssize_t mtty_read(struct vfio_device *vdev, char __user *buf,
samples/vfio-mdev/mtty.c
1475
static ssize_t mtty_write(struct vfio_device *vdev, const char __user *buf,
samples/vfio-mdev/mtty.c
157
struct vfio_device vdev;
samples/vfio-mdev/mtty.c
1717
static int mtty_ioctl_get_region_info(struct vfio_device *vdev,
samples/vfio-mdev/mtty.c
1787
static long mtty_ioctl(struct vfio_device *vdev, unsigned int cmd,
samples/vfio-mdev/mtty.c
1910
static void mtty_close(struct vfio_device *vdev)