Searched refs:commit_root_sem (Results 1 – 7 of 7) sorted by relevance
1677 down_read(&fs_info->commit_root_sem); in find_extent_clone()1691 up_read(&fs_info->commit_root_sem); in find_extent_clone()1694 up_read(&fs_info->commit_root_sem); in find_extent_clone()7289 lockdep_assert_not_held(&sctx->send_root->fs_info->commit_root_sem); in changed_cb()7364 lockdep_assert_held_read(&root->fs_info->commit_root_sem); in search_key_again()7406 down_read(&fs_info->commit_root_sem); in full_send_tree()7408 up_read(&fs_info->commit_root_sem); in full_send_tree()7424 down_read(&fs_info->commit_root_sem); in full_send_tree()7427 up_read(&fs_info->commit_root_sem); in full_send_tree()7443 up_read(&fs_info->commit_root_sem); in full_send_tree()[all …]
1251 lockdep_assert_held(&fs_info->commit_root_sem); in lookup_backref_shared_cache()1322 lockdep_assert_held(&fs_info->commit_root_sem); in store_backref_shared_cache()1798 down_read(&ctx->fs_info->commit_root_sem); in btrfs_find_all_roots()1801 up_read(&ctx->fs_info->commit_root_sem); in btrfs_find_all_roots()1887 down_read(&fs_info->commit_root_sem); in btrfs_is_data_extent_shared()2034 up_read(&fs_info->commit_root_sem); in btrfs_is_data_extent_shared()2442 down_read(&ctx->fs_info->commit_root_sem); in iterate_extent_inodes()2518 up_read(&ctx->fs_info->commit_root_sem); in iterate_extent_inodes()
595 lockdep_assert_held_read(&fs_info->commit_root_sem); in sample_block_group_extent_item()628 lockdep_assert_held_read(&fs_info->commit_root_sem); in sample_block_group_extent_item()681 lockdep_assert_held_read(&fs_info->commit_root_sem); in load_block_group_size_class()766 rwsem_is_contended(&fs_info->commit_root_sem)) { in load_extent_tree_free()768 up_read(&fs_info->commit_root_sem); in load_extent_tree_free()772 down_read(&fs_info->commit_root_sem); in load_extent_tree_free()854 down_read(&fs_info->commit_root_sem); in caching_thread()906 up_read(&fs_info->commit_root_sem); in caching_thread()
1784 lockdep_assert_held_read(&lowest->fs_info->commit_root_sem); in finish_need_commit_sem_search()2039 if (!down_read_trylock(&fs_info->commit_root_sem)) in btrfs_search_slot()2042 down_read(&fs_info->commit_root_sem); in btrfs_search_slot()2212 up_read(&fs_info->commit_root_sem); in btrfs_search_slot()4826 if (!down_read_trylock(&fs_info->commit_root_sem)) { in btrfs_next_old_leaf()4831 down_read(&fs_info->commit_root_sem); in btrfs_next_old_leaf()4977 up_read(&fs_info->commit_root_sem); in btrfs_next_old_leaf()
546 struct rw_semaphore commit_root_sem; member
190 down_write(&fs_info->commit_root_sem); in switch_commit_roots()217 up_write(&fs_info->commit_root_sem); in switch_commit_roots()
2873 init_rwsem(&fs_info->commit_root_sem); in btrfs_init_fs_info()