Searched refs:vfio_device (Results 1 – 5 of 5) sorted by relevance
94 struct vfio_device { struct537 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 …]
55 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);
224 struct vfio_device *vfio_device; member
458 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()
1283 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()