Home
last modified time | relevance | path

Searched refs:device_list_mutex (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/fs/btrfs/
Ddev-replace.c333 mutex_lock(&fs_devices->device_list_mutex); in btrfs_init_dev_replace_tgtdev()
337 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_init_dev_replace_tgtdev()
903 mutex_lock(&fs_devices->device_list_mutex); in btrfs_dev_replace_finishing()
908 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_dev_replace_finishing()
945 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_dev_replace_finishing()
998 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_dev_replace_finishing()
Dvolumes.c382 mutex_init(&fs_devs->device_list_mutex); in alloc_fs_devices()
558 mutex_lock(&fs_devices->device_list_mutex); in btrfs_free_stale_devices()
579 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_free_stale_devices()
805 mutex_lock(&fs_devices->device_list_mutex); in device_list_add()
815 mutex_lock(&fs_devices->device_list_mutex); in device_list_add()
845 mutex_unlock(&fs_devices->device_list_mutex); in device_list_add()
852 mutex_unlock(&fs_devices->device_list_mutex); in device_list_add()
860 mutex_unlock(&fs_devices->device_list_mutex); in device_list_add()
918 mutex_unlock(&fs_devices->device_list_mutex); in device_list_add()
936 mutex_unlock(&fs_devices->device_list_mutex); in device_list_add()
[all …]
Dzoned.c336 mutex_lock(&fs_devices->device_list_mutex); in btrfs_get_dev_zone_info_all_devices()
346 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_get_dev_zone_info_all_devices()
2193 mutex_lock(&fs_devices->device_list_mutex); in btrfs_free_zone_cache()
2200 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_free_zone_cache()
2216 mutex_lock(&fs_devices->device_list_mutex); in btrfs_zoned_should_reclaim()
2224 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_zoned_should_reclaim()
Dscrub.c4273 mutex_lock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()
4277 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()
4284 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()
4296 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()
4307 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()
4315 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()
4347 mutex_lock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()
4349 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_dev()
4486 mutex_lock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_progress()
4492 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in btrfs_scrub_progress()
Dvolumes.h337 struct mutex device_list_mutex; member
Ddisk-io.c4227 lockdep_assert_held(&info->fs_devices->device_list_mutex); in barrier_all_devices()
4329 mutex_lock(&fs_info->fs_devices->device_list_mutex); in write_all_supers()
4337 &fs_info->fs_devices->device_list_mutex); in write_all_supers()
4372 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in write_all_supers()
4385 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in write_all_supers()
4406 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in write_all_supers()
Dblock-group.c2367 mutex_lock(&fs_info->fs_devices->device_list_mutex); in insert_dev_extents()
2377 mutex_unlock(&fs_info->fs_devices->device_list_mutex); in insert_dev_extents()
Dextent-tree.c6204 mutex_lock(&fs_devices->device_list_mutex); in btrfs_trim_fs()
6218 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_trim_fs()
/linux-6.1.9/drivers/infiniband/ulp/iser/
Diser_verbs.c308 mutex_lock(&ig.device_list_mutex); in iser_device_find_by_ib_device()
332 mutex_unlock(&ig.device_list_mutex); in iser_device_find_by_ib_device()
339 mutex_lock(&ig.device_list_mutex); in iser_device_try_release()
347 mutex_unlock(&ig.device_list_mutex); in iser_device_try_release()
Discsi_iser.h463 struct mutex device_list_mutex; member
Discsi_iser.c1031 mutex_init(&ig.device_list_mutex); in iser_init()
/linux-6.1.9/drivers/nvme/target/
Drdma.c162 static DEFINE_MUTEX(device_list_mutex);
1180 mutex_lock(&device_list_mutex); in nvmet_rdma_free_dev()
1182 mutex_unlock(&device_list_mutex); in nvmet_rdma_free_dev()
1200 mutex_lock(&device_list_mutex); in nvmet_rdma_find_get_device()
1246 mutex_unlock(&device_list_mutex); in nvmet_rdma_find_get_device()
1255 mutex_unlock(&device_list_mutex); in nvmet_rdma_find_get_device()
2028 mutex_lock(&device_list_mutex); in nvmet_rdma_remove_one()
2035 mutex_unlock(&device_list_mutex); in nvmet_rdma_remove_one()
/linux-6.1.9/drivers/nvme/host/
Drdma.c137 static DEFINE_MUTEX(device_list_mutex);
349 mutex_lock(&device_list_mutex); in nvme_rdma_free_dev()
351 mutex_unlock(&device_list_mutex); in nvme_rdma_free_dev()
372 mutex_lock(&device_list_mutex); in nvme_rdma_find_get_device()
402 mutex_unlock(&device_list_mutex); in nvme_rdma_find_get_device()
410 mutex_unlock(&device_list_mutex); in nvme_rdma_find_get_device()
2404 mutex_lock(&device_list_mutex); in nvme_rdma_remove_one()
2411 mutex_unlock(&device_list_mutex); in nvme_rdma_remove_one()
/linux-6.1.9/drivers/infiniband/ulp/isert/
Dib_isert.c43 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()