Lines Matching refs:device_list_mutex

288  * fs_devices::device_list_mutex (per-fs, with RCU)
322 * device_list_mutex
387 mutex_init(&fs_devs->device_list_mutex);
534 mutex_lock(&fs_devices->device_list_mutex);
554 mutex_unlock(&fs_devices->device_list_mutex);
641 * fs_devices->device_list_mutex here.
788 mutex_lock(&fs_devices->device_list_mutex);
798 mutex_lock(&fs_devices->device_list_mutex);
818 mutex_unlock(&fs_devices->device_list_mutex);
827 mutex_unlock(&fs_devices->device_list_mutex);
888 mutex_unlock(&fs_devices->device_list_mutex);
906 mutex_unlock(&fs_devices->device_list_mutex);
923 mutex_unlock(&fs_devices->device_list_mutex);
949 mutex_unlock(&fs_devices->device_list_mutex);
1246 * The device_list_mutex cannot be taken here in case opening the
1341 mutex_lock(&fs_devices->device_list_mutex);
1344 mutex_unlock(&fs_devices->device_list_mutex);
1351 mutex_unlock(&fs_devices->device_list_mutex);
1357 mutex_unlock(&fs_devices->device_list_mutex);
2134 * uuid_mutex nor device_list_mutex) as it won't change on a mounted
2213 mutex_lock(&fs_devices->device_list_mutex);
2235 mutex_unlock(&fs_devices->device_list_mutex);
2292 lockdep_assert_held(&srcdev->fs_info->fs_devices->device_list_mutex);
2346 mutex_lock(&fs_devices->device_list_mutex);
2359 mutex_unlock(&fs_devices->device_list_mutex);
2501 mutex_init(&seed_devices->device_list_mutex);
2526 * device_list_mutex:
2531 * For-read threads as below are using device_list_mutex:
2536 lockdep_assert_held(&fs_devices->device_list_mutex);
2725 /* GFP_KERNEL allocation must not be under device_list_mutex */
2734 mutex_lock(&fs_devices->device_list_mutex);
2777 mutex_unlock(&fs_devices->device_list_mutex);
2850 mutex_lock(&fs_info->fs_devices->device_list_mutex);
2865 mutex_unlock(&fs_info->fs_devices->device_list_mutex);
3209 * We take the device_list_mutex to avoid racing with the finishing phase
3217 mutex_lock(&fs_devices->device_list_mutex);
3224 mutex_unlock(&fs_devices->device_list_mutex);
3238 mutex_unlock(&fs_devices->device_list_mutex);
3258 * device_list_mutex and the chunk_mutex, in that order, so we are
5783 * Here we can't use the device_list_mutex because our caller already
5785 * acquires both mutexes - first the device_list_mutex and then the
7645 mutex_lock(&fs_devices->device_list_mutex);
7659 mutex_unlock(&fs_devices->device_list_mutex);
7742 mutex_lock(&fs_devices->device_list_mutex);
7756 mutex_unlock(&fs_devices->device_list_mutex);
7838 mutex_lock(&fs_devices->device_list_mutex);
7862 mutex_unlock(&fs_devices->device_list_mutex);
7911 mutex_lock(&fs_devices->device_list_mutex);
7914 mutex_unlock(&fs_devices->device_list_mutex);
7959 * We don't need the device_list_mutex here. This list is owned by the