Home
last modified time | relevance | path

Searched refs:dev_set (Results 1 – 7 of 7) sorted by relevance

/linux-6.3-rc2/drivers/vfio/
A Dvfio_main.c74 if (dev_set) in vfio_assign_device_set()
88 if (!dev_set) { in vfio_assign_device_set()
89 dev_set = new_dev_set; in vfio_assign_device_set()
94 if (xa_is_err(dev_set)) { in vfio_assign_device_set()
96 return xa_err(dev_set); in vfio_assign_device_set()
100 dev_set->device_count++; in vfio_assign_device_set()
103 device->dev_set = dev_set; in vfio_assign_device_set()
112 struct vfio_device_set *dev_set = device->dev_set; in vfio_release_device_set() local
114 if (!dev_set) in vfio_release_device_set()
126 kfree(dev_set); in vfio_release_device_set()
[all …]
A Diommufd.c19 lockdep_assert_held(&vdev->dev_set->lock); in vfio_iommufd_bind()
67 lockdep_assert_held(&vdev->dev_set->lock); in vfio_iommufd_unbind()
96 lockdep_assert_held(&vdev->dev_set->lock); in vfio_iommufd_physical_unbind()
141 lockdep_assert_held(&vdev->dev_set->lock); in vfio_iommufd_emulated_bind()
151 lockdep_assert_held(&vdev->dev_set->lock); in vfio_iommufd_emulated_unbind()
166 lockdep_assert_held(&vdev->dev_set->lock); in vfio_iommufd_emulated_attach_ioas()
A Dgroup.c182 mutex_lock(&device->dev_set->lock); in vfio_device_group_open()
198 mutex_unlock(&device->dev_set->lock); in vfio_device_group_open()
208 mutex_lock(&device->dev_set->lock); in vfio_device_group_close()
215 mutex_unlock(&device->dev_set->lock); in vfio_device_group_close()
/linux-6.3-rc2/drivers/vfio/pci/
A Dvfio_pci_core.c564 lockdep_assert_held(&vdev->vdev.dev_set->lock); in vfio_pci_core_disable()
674 vfio_pci_dev_set_try_reset(vdev->vdev.dev_set); in vfio_pci_core_disable()
2329 struct vfio_device_set *dev_set = data; in vfio_pci_is_device_in_set() local
2353 lockdep_assert_held(&dev_set->lock); in vfio_pci_dev_set_resettable()
2369 dev_set, in vfio_pci_dev_set_resettable()
2411 mutex_lock(&dev_set->lock); in vfio_pci_dev_set_hot_reset()
2416 pdev = vfio_pci_dev_set_resettable(dev_set); in vfio_pci_dev_set_hot_reset()
2490 mutex_unlock(&dev_set->lock); in vfio_pci_dev_set_hot_reset()
2500 if (vfio_device_set_open_count(dev_set) > 1) in vfio_pci_dev_set_needs_reset()
2521 if (!vfio_pci_dev_set_needs_reset(dev_set)) in vfio_pci_dev_set_try_reset()
[all …]
/linux-6.3-rc2/drivers/vfio/fsl-mc/
A Dvfio_fsl_mc_intr.c122 mutex_lock(&vdev->vdev.dev_set->lock); in vfio_fsl_mc_set_irq_trigger()
131 mutex_unlock(&vdev->vdev.dev_set->lock); in vfio_fsl_mc_set_irq_trigger()
156 mutex_unlock(&vdev->vdev.dev_set->lock); in vfio_fsl_mc_set_irq_trigger()
/linux-6.3-rc2/include/linux/
A Dvfio.h46 struct vfio_device_set *dev_set; member
237 unsigned int vfio_device_set_open_count(struct vfio_device_set *dev_set);
/linux-6.3-rc2/drivers/firmware/
A Darm_scpi.c773 struct dev_pstate_set dev_set = { in scpi_device_set_power_state() local
778 return scpi_send_message(CMD_SET_DEVICE_PWR_STATE, &dev_set, in scpi_device_set_power_state()
779 sizeof(dev_set), &stat, sizeof(stat)); in scpi_device_set_power_state()

Completed in 17 milliseconds