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()6963 lockdep_assert_not_held(&sctx->send_root->fs_info->commit_root_sem); in changed_cb()7039 lockdep_assert_held_read(&root->fs_info->commit_root_sem); in search_key_again()7081 down_read(&fs_info->commit_root_sem); in full_send_tree()7083 up_read(&fs_info->commit_root_sem); in full_send_tree()7099 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()
1727 lockdep_assert_held_read(&lowest->fs_info->commit_root_sem); in finish_need_commit_sem_search()1976 if (!down_read_trylock(&fs_info->commit_root_sem)) in btrfs_search_slot()1979 down_read(&fs_info->commit_root_sem); in btrfs_search_slot()2149 up_read(&fs_info->commit_root_sem); in btrfs_search_slot()4692 if (!down_read_trylock(&fs_info->commit_root_sem)) { in btrfs_next_old_leaf()4697 down_read(&fs_info->commit_root_sem); in btrfs_next_old_leaf()4845 up_read(&fs_info->commit_root_sem); in btrfs_next_old_leaf()
595 rwsem_is_contended(&fs_info->commit_root_sem)) { in load_extent_tree_free()597 up_read(&fs_info->commit_root_sem); in load_extent_tree_free()601 down_read(&fs_info->commit_root_sem); in load_extent_tree_free()671 down_read(&fs_info->commit_root_sem); in caching_thread()722 up_read(&fs_info->commit_root_sem); in caching_thread()
171 down_write(&fs_info->commit_root_sem); in switch_commit_roots()198 up_write(&fs_info->commit_root_sem); in switch_commit_roots()
762 struct rw_semaphore commit_root_sem; member
3075 init_rwsem(&fs_info->commit_root_sem); in btrfs_init_fs_info()