Searched refs:device_list_mutex (Results 1 – 14 of 14) sorted by relevance
379 mutex_init(&fs_devs->device_list_mutex); in alloc_fs_devices()574 mutex_lock(&fs_devices->device_list_mutex); in btrfs_free_stale_devices()595 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_free_stale_devices()822 mutex_lock(&fs_devices->device_list_mutex); in device_list_add()832 mutex_lock(&fs_devices->device_list_mutex); in device_list_add()987 mutex_unlock(&fs_devices->device_list_mutex); in device_list_add()2192 mutex_lock(&fs_devices->device_list_mutex); in btrfs_rm_device()2327 mutex_lock(&fs_devices->device_list_mutex); in btrfs_destroy_dev_replace_tgtdev()2716 mutex_lock(&fs_devices->device_list_mutex); in btrfs_init_new_device()3127 mutex_lock(&fs_devices->device_list_mutex); in btrfs_remove_chunk()[all …]
327 mutex_lock(&fs_devices->device_list_mutex); in btrfs_init_dev_replace_tgtdev()331 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_init_dev_replace_tgtdev()905 mutex_lock(&fs_devices->device_list_mutex); in btrfs_dev_replace_finishing()910 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_dev_replace_finishing()947 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_dev_replace_finishing()1000 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_dev_replace_finishing()
2853 mutex_lock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()2857 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()2864 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()2876 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()2887 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()2895 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()2927 mutex_lock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()2929 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()3063 mutex_lock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_progress()3069 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_progress()
345 mutex_lock(&fs_devices->device_list_mutex); in btrfs_get_dev_zone_info_all_devices()355 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_get_dev_zone_info_all_devices()2333 mutex_lock(&fs_devices->device_list_mutex); in btrfs_free_zone_cache()2340 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_free_zone_cache()2356 mutex_lock(&fs_devices->device_list_mutex); in btrfs_zoned_should_reclaim()2364 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_zoned_should_reclaim()2520 mutex_lock(&fs_devices->device_list_mutex); in btrfs_check_active_zone_reservation()2528 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_check_active_zone_reservation()
345 struct mutex device_list_mutex; member
3990 lockdep_assert_held(&info->fs_devices->device_list_mutex); in barrier_all_devices()4085 mutex_lock(&fs_info->fs_devices->device_list_mutex); in write_all_supers()4093 &fs_info->fs_devices->device_list_mutex); in write_all_supers()4128 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in write_all_supers()4141 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in write_all_supers()4162 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in write_all_supers()
2707 mutex_lock(&fs_info->fs_devices->device_list_mutex); in insert_dev_extents()2717 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in insert_dev_extents()
6183 mutex_lock(&fs_devices->device_list_mutex); in btrfs_trim_fs()6197 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_trim_fs()
301 mutex_lock(&ig.device_list_mutex); in iser_device_find_by_ib_device()325 mutex_unlock(&ig.device_list_mutex); in iser_device_find_by_ib_device()332 mutex_lock(&ig.device_list_mutex); in iser_device_try_release()340 mutex_unlock(&ig.device_list_mutex); in iser_device_try_release()
461 struct mutex device_list_mutex; member
1031 mutex_init(&ig.device_list_mutex); in iser_init()
162 static DEFINE_MUTEX(device_list_mutex);1172 mutex_lock(&device_list_mutex); in nvmet_rdma_free_dev()1174 mutex_unlock(&device_list_mutex); in nvmet_rdma_free_dev()1192 mutex_lock(&device_list_mutex); in nvmet_rdma_find_get_device()1238 mutex_unlock(&device_list_mutex); in nvmet_rdma_find_get_device()1247 mutex_unlock(&device_list_mutex); in nvmet_rdma_find_get_device()2020 mutex_lock(&device_list_mutex); in nvmet_rdma_remove_one()2027 mutex_unlock(&device_list_mutex); in nvmet_rdma_remove_one()
136 static DEFINE_MUTEX(device_list_mutex);348 mutex_lock(&device_list_mutex); in nvme_rdma_free_dev()350 mutex_unlock(&device_list_mutex); in nvme_rdma_free_dev()371 mutex_lock(&device_list_mutex); in nvme_rdma_find_get_device()401 mutex_unlock(&device_list_mutex); in nvme_rdma_find_get_device()409 mutex_unlock(&device_list_mutex); in nvme_rdma_find_get_device()2332 mutex_lock(&device_list_mutex); in nvme_rdma_remove_one()2339 mutex_unlock(&device_list_mutex); in nvme_rdma_remove_one()
43 static DEFINE_MUTEX(device_list_mutex);253 mutex_lock(&device_list_mutex); in isert_device_put()261 mutex_unlock(&device_list_mutex); in isert_device_put()270 mutex_lock(&device_list_mutex); in isert_device_get()276 mutex_unlock(&device_list_mutex); in isert_device_get()283 mutex_unlock(&device_list_mutex); in isert_device_get()293 mutex_unlock(&device_list_mutex); in isert_device_get()301 mutex_unlock(&device_list_mutex); in isert_device_get()