Home
last modified time | relevance | path

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

/fs/btrfs/
Ddev-replace.c311 down_read(&dev_replace->rwsem); in btrfs_run_dev_replace()
314 up_read(&dev_replace->rwsem); in btrfs_run_dev_replace()
317 up_read(&dev_replace->rwsem); in btrfs_run_dev_replace()
375 down_write(&dev_replace->rwsem); in btrfs_run_dev_replace()
398 up_write(&dev_replace->rwsem); in btrfs_run_dev_replace()
457 down_write(&dev_replace->rwsem); in btrfs_dev_replace_start()
467 up_write(&dev_replace->rwsem); in btrfs_dev_replace_start()
495 up_write(&dev_replace->rwsem); in btrfs_dev_replace_start()
507 down_write(&dev_replace->rwsem); in btrfs_dev_replace_start()
512 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.c3642 down_write(&fs_info->dev_replace.rwsem); in scrub_enumerate_chunks()
3646 up_write(&dev_replace->rwsem); in scrub_enumerate_chunks()
3683 down_write(&fs_info->dev_replace.rwsem); in scrub_enumerate_chunks()
3686 up_write(&fs_info->dev_replace.rwsem); in scrub_enumerate_chunks()
3930 down_read(&fs_info->dev_replace.rwsem); in btrfs_scrub_dev()
3934 up_read(&fs_info->dev_replace.rwsem); in btrfs_scrub_dev()
3940 up_read(&fs_info->dev_replace.rwsem); in btrfs_scrub_dev()
Dvolumes.c2209 down_read(&fs_info->dev_replace.rwsem); in btrfs_num_devices()
2214 up_read(&fs_info->dev_replace.rwsem); in btrfs_num_devices()
5601 down_read(&fs_info->dev_replace.rwsem); in btrfs_num_copies()
5605 up_read(&fs_info->dev_replace.rwsem); in btrfs_num_copies()
6239 down_read(&dev_replace->rwsem); in __btrfs_map_block()
6246 up_read(&dev_replace->rwsem); in __btrfs_map_block()
6440 lockdep_assert_held(&dev_replace->rwsem); in __btrfs_map_block()
6442 up_read(&dev_replace->rwsem); in __btrfs_map_block()
Dctree.h389 struct rw_semaphore rwsem; member
Ddisk-io.c2127 init_rwsem(&fs_info->dev_replace.rwsem); in btrfs_init_dev_replace_locks()
/fs/nfs/
Dnfs4state.c1511 down_write(&nfsi->rwsem); in nfs4_reclaim_locks()
1556 up_write(&nfsi->rwsem); in nfs4_reclaim_locks()
Dnfs4proc.c6742 down_read(&nfsi->rwsem); in nfs4_proc_unlck()
6744 up_read(&nfsi->rwsem); in nfs4_proc_unlck()
6748 up_read(&nfsi->rwsem); in nfs4_proc_unlck()
7100 down_read(&nfsi->rwsem); in _nfs4_proc_setlk()
7106 up_read(&nfsi->rwsem); in _nfs4_proc_setlk()
7110 up_read(&nfsi->rwsem); in _nfs4_proc_setlk()
Dinode.c2100 init_rwsem(&nfsi->rwsem); in nfs4_init_once()