Home
last modified time | relevance | path

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

/fs/btrfs/
Ddev-replace.c345 down_read(&dev_replace->rwsem); in btrfs_run_dev_replace()
348 up_read(&dev_replace->rwsem); in btrfs_run_dev_replace()
351 up_read(&dev_replace->rwsem); in btrfs_run_dev_replace()
409 down_write(&dev_replace->rwsem); in btrfs_run_dev_replace()
432 up_write(&dev_replace->rwsem); in btrfs_run_dev_replace()
491 down_write(&dev_replace->rwsem); in btrfs_dev_replace_start()
501 up_write(&dev_replace->rwsem); in btrfs_dev_replace_start()
529 up_write(&dev_replace->rwsem); in btrfs_dev_replace_start()
541 down_write(&dev_replace->rwsem); in btrfs_dev_replace_start()
546 up_write(&dev_replace->rwsem); in btrfs_dev_replace_start()
[all …]
Dreada.c381 down_read(&fs_info->dev_replace.rwsem); in reada_find_extent()
384 up_read(&fs_info->dev_replace.rwsem); in reada_find_extent()
395 up_read(&fs_info->dev_replace.rwsem); in reada_find_extent()
401 up_read(&fs_info->dev_replace.rwsem); in reada_find_extent()
446 up_read(&fs_info->dev_replace.rwsem); in reada_find_extent()
454 up_read(&fs_info->dev_replace.rwsem); in reada_find_extent()
Dscrub.c3606 down_write(&dev_replace->rwsem); in scrub_enumerate_chunks()
3610 up_write(&dev_replace->rwsem); in scrub_enumerate_chunks()
3647 down_write(&dev_replace->rwsem); in scrub_enumerate_chunks()
3650 up_write(&dev_replace->rwsem); in scrub_enumerate_chunks()
3900 down_read(&fs_info->dev_replace.rwsem); in btrfs_scrub_dev()
3904 up_read(&fs_info->dev_replace.rwsem); in btrfs_scrub_dev()
3910 up_read(&fs_info->dev_replace.rwsem); in btrfs_scrub_dev()
Dvolumes.c2083 down_read(&fs_info->dev_replace.rwsem); in btrfs_num_devices()
2088 up_read(&fs_info->dev_replace.rwsem); in btrfs_num_devices()
5517 down_read(&fs_info->dev_replace.rwsem); in btrfs_num_copies()
5521 up_read(&fs_info->dev_replace.rwsem); in btrfs_num_copies()
6143 down_read(&dev_replace->rwsem); in __btrfs_map_block()
6150 up_read(&dev_replace->rwsem); in __btrfs_map_block()
6332 lockdep_assert_held(&dev_replace->rwsem); in __btrfs_map_block()
6334 up_read(&dev_replace->rwsem); in __btrfs_map_block()
Dctree.h401 struct rw_semaphore rwsem; member
Ddisk-io.c2153 init_rwsem(&fs_info->dev_replace.rwsem); in btrfs_init_dev_replace_locks()
/fs/erofs/
Ddata.c165 down_read(&devs->rwsem); in erofs_map_dev()
168 up_read(&devs->rwsem); in erofs_map_dev()
173 up_read(&devs->rwsem); in erofs_map_dev()
175 down_read(&devs->rwsem); in erofs_map_dev()
192 up_read(&devs->rwsem); in erofs_map_dev()
Dsuper.c286 down_read(&sbi->devs->rwsem); in erofs_init_devices()
300 up_read(&sbi->devs->rwsem); in erofs_init_devices()
322 up_read(&sbi->devs->rwsem); in erofs_init_devices()
552 down_write(&ctx->devs->rwsem); in erofs_fc_parse_param()
554 up_write(&ctx->devs->rwsem); in erofs_fc_parse_param()
780 init_rwsem(&ctx->devs->rwsem); in erofs_init_fs_context()
Dinternal.h74 struct rw_semaphore rwsem; member
/fs/incfs/
Ddata_mgmt.c183 init_rwsem(&segment->rwsem); in data_file_segment_init()
1132 error = down_read_killable(&segment->rwsem); in wait_for_data_block()
1139 up_read(&segment->rwsem); in wait_for_data_block()
1199 error = down_read_killable(&segment->rwsem); in wait_for_data_block()
1220 up_read(&segment->rwsem); in wait_for_data_block()
1393 error = down_read_killable(&segment->rwsem); in incfs_process_new_data_block()
1399 up_read(&segment->rwsem); in incfs_process_new_data_block()
1407 error = down_write_killable(&segment->rwsem); in incfs_process_new_data_block()
1439 up_write(&segment->rwsem); in incfs_process_new_data_block()
Ddata_mgmt.h274 struct rw_semaphore rwsem; member
/fs/nfs/
Dnfs4state.c1528 down_write(&nfsi->rwsem); in nfs4_reclaim_locks()
1573 up_write(&nfsi->rwsem); in nfs4_reclaim_locks()
Dnfs4proc.c6901 down_read(&nfsi->rwsem); in nfs4_proc_unlck()
6903 up_read(&nfsi->rwsem); in nfs4_proc_unlck()
6907 up_read(&nfsi->rwsem); in nfs4_proc_unlck()
7259 down_read(&nfsi->rwsem); in _nfs4_proc_setlk()
7265 up_read(&nfsi->rwsem); in _nfs4_proc_setlk()
7269 up_read(&nfsi->rwsem); in _nfs4_proc_setlk()
Dinode.c2146 init_rwsem(&nfsi->rwsem); in nfs4_init_once()