Home
last modified time | relevance | path

Searched refs:vfio_device (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/vfio/
Dvfio.c94 struct vfio_device { struct
537 struct vfio_device *vfio_group_create_device(struct vfio_group *group, in vfio_group_create_device()
542 struct vfio_device *device; in vfio_group_create_device()
567 struct vfio_device *device = container_of(kref, in vfio_device_release()
568 struct vfio_device, kref); in vfio_device_release()
583 void vfio_device_put(struct vfio_device *device) in vfio_device_put()
591 static void vfio_device_get(struct vfio_device *device) in vfio_device_get()
597 static struct vfio_device *vfio_group_get_device(struct vfio_group *group, in vfio_group_get_device()
600 struct vfio_device *device; in vfio_group_get_device()
662 struct vfio_device *device; in vfio_dev_viable()
[all …]
/Linux-v4.19/include/linux/
Dvfio.h55 extern struct vfio_device *vfio_device_get_from_dev(struct device *dev);
56 extern void vfio_device_put(struct vfio_device *device);
57 extern void *vfio_device_data(struct vfio_device *device);
/Linux-v4.19/drivers/gpu/drm/i915/gvt/
Dgvt.h224 struct vfio_device *vfio_device; member
Dkvmgt.c458 vgpu->vdev.vfio_device = vfio_device_get_from_dev( in kvmgt_get_vfio_device()
460 if (!vgpu->vdev.vfio_device) { in kvmgt_get_vfio_device()
498 if (WARN_ON(!((struct intel_vgpu *)vgpu)->vdev.vfio_device)) in kvmgt_put_vfio_device()
501 vfio_device_put(((struct intel_vgpu *)vgpu)->vdev.vfio_device); in kvmgt_put_vfio_device()
/Linux-v4.19/drivers/vfio/pci/
Dvfio_pci.c1283 struct vfio_device *device; in vfio_pci_aer_err_detected()
1320 struct vfio_device **devices;
1328 struct vfio_device *device; in vfio_pci_get_devs()
1375 devs.devices = kcalloc(i, sizeof(struct vfio_device *), GFP_KERNEL); in vfio_pci_try_bus_reset()