Searched refs:dev_set (Results 1 – 7 of 7) sorted by relevance
74 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() local114 if (!dev_set) in vfio_release_device_set()126 kfree(dev_set); in vfio_release_device_set()[all …]
19 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()
182 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()
564 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() local2353 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 …]
122 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()
46 struct vfio_device_set *dev_set; member237 unsigned int vfio_device_set_open_count(struct vfio_device_set *dev_set);
773 struct dev_pstate_set dev_set = { in scpi_device_set_power_state() local778 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 25 milliseconds