Searched refs:commit_root_sem (Results 1 – 7 of 7) sorted by relevance
1397 down_read(&fs_info->commit_root_sem); in find_extent_clone()1400 up_read(&fs_info->commit_root_sem); in find_extent_clone()1463 down_read(&fs_info->commit_root_sem); in find_extent_clone()1477 up_read(&fs_info->commit_root_sem); in find_extent_clone()1481 up_read(&fs_info->commit_root_sem); in find_extent_clone()6967 lockdep_assert_not_held(&sctx->send_root->fs_info->commit_root_sem); in changed_cb()7043 lockdep_assert_held_read(&root->fs_info->commit_root_sem); in search_key_again()7085 down_read(&fs_info->commit_root_sem); in full_send_tree()7087 up_read(&fs_info->commit_root_sem); in full_send_tree()7103 down_read(&fs_info->commit_root_sem); in full_send_tree()[all …]
1538 down_read(&fs_info->commit_root_sem); in btrfs_find_all_roots()1542 up_read(&fs_info->commit_root_sem); in btrfs_find_all_roots()1716 down_read(&fs_info->commit_root_sem); in btrfs_is_data_extent_shared()1795 up_read(&fs_info->commit_root_sem); in btrfs_is_data_extent_shared()2195 down_read(&fs_info->commit_root_sem); in iterate_extent_inodes()2232 up_read(&fs_info->commit_root_sem); in iterate_extent_inodes()
1769 lockdep_assert_held_read(&lowest->fs_info->commit_root_sem); in finish_need_commit_sem_search()2018 if (!down_read_trylock(&fs_info->commit_root_sem)) in btrfs_search_slot()2021 down_read(&fs_info->commit_root_sem); in btrfs_search_slot()2191 up_read(&fs_info->commit_root_sem); in btrfs_search_slot()4768 if (!down_read_trylock(&fs_info->commit_root_sem)) { in btrfs_next_old_leaf()4773 down_read(&fs_info->commit_root_sem); in btrfs_next_old_leaf()4921 up_read(&fs_info->commit_root_sem); in btrfs_next_old_leaf()
620 rwsem_is_contended(&fs_info->commit_root_sem)) { in load_extent_tree_free()622 up_read(&fs_info->commit_root_sem); in load_extent_tree_free()626 down_read(&fs_info->commit_root_sem); in load_extent_tree_free()702 down_read(&fs_info->commit_root_sem); in caching_thread()753 up_read(&fs_info->commit_root_sem); in caching_thread()
172 down_write(&fs_info->commit_root_sem); in switch_commit_roots()199 up_write(&fs_info->commit_root_sem); in switch_commit_roots()
760 struct rw_semaphore commit_root_sem; member
3104 init_rwsem(&fs_info->commit_root_sem); in btrfs_init_fs_info()