Lines Matching refs:device_lock
31 mutex_lock(&group->device_lock); in vfio_device_get_from_name()
50 mutex_unlock(&group->device_lock); in vfio_device_get_from_name()
453 mutex_destroy(&group->device_lock); in vfio_group_release()
487 mutex_init(&group->device_lock); in vfio_group_alloc()
572 mutex_lock(&group->device_lock); in vfio_group_has_device()
575 mutex_unlock(&group->device_lock); in vfio_group_has_device()
579 mutex_unlock(&group->device_lock); in vfio_group_has_device()
701 mutex_lock(&device->group->device_lock); in vfio_device_group_register()
703 mutex_unlock(&device->group->device_lock); in vfio_device_group_register()
708 mutex_lock(&device->group->device_lock); in vfio_device_group_unregister()
710 mutex_unlock(&device->group->device_lock); in vfio_device_group_unregister()
811 mutex_lock(&group->device_lock); in vfio_file_enforced_coherent()
819 mutex_unlock(&group->device_lock); in vfio_file_enforced_coherent()