Lines Matching refs:iommu_drivers_lock
43 struct mutex iommu_drivers_lock; member
296 mutex_lock(&vfio.iommu_drivers_lock); in vfio_register_iommu_driver()
301 mutex_unlock(&vfio.iommu_drivers_lock); in vfio_register_iommu_driver()
309 mutex_unlock(&vfio.iommu_drivers_lock); in vfio_register_iommu_driver()
319 mutex_lock(&vfio.iommu_drivers_lock); in vfio_unregister_iommu_driver()
323 mutex_unlock(&vfio.iommu_drivers_lock); in vfio_unregister_iommu_driver()
328 mutex_unlock(&vfio.iommu_drivers_lock); in vfio_unregister_iommu_driver()
1041 mutex_lock(&vfio.iommu_drivers_lock); in vfio_ioctl_check_extension()
1062 mutex_unlock(&vfio.iommu_drivers_lock); in vfio_ioctl_check_extension()
1119 mutex_lock(&vfio.iommu_drivers_lock); in vfio_ioctl_set_iommu()
1166 mutex_unlock(&vfio.iommu_drivers_lock); in vfio_ioctl_set_iommu()
2401 mutex_init(&vfio.iommu_drivers_lock); in vfio_init()