Home
last modified time | relevance | path

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

/openbmc/linux/fs/btrfs/
H A Dvolumes.c379 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 …]
H A Ddev-replace.c327 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()
H A Dscrub.c2853 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()
H A Dzoned.c345 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()
H A Dvolumes.h345 struct mutex device_list_mutex; member
H A Ddisk-io.c3990 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()
H A Dblock-group.c2707 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()
H A Dextent-tree.c6183 mutex_lock(&fs_devices->device_list_mutex); in btrfs_trim_fs()
6197 mutex_unlock(&fs_devices->device_list_mutex); in btrfs_trim_fs()
/openbmc/linux/drivers/infiniband/ulp/iser/
H A Diser_verbs.c301 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()
H A Discsi_iser.h461 struct mutex device_list_mutex; member
H A Discsi_iser.c1031 mutex_init(&ig.device_list_mutex); in iser_init()
/openbmc/linux/drivers/nvme/target/
H A Drdma.c162 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()
/openbmc/linux/drivers/nvme/host/
H A Drdma.c136 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()
/openbmc/linux/drivers/infiniband/ulp/isert/
H A 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()