Searched refs:commit_root (Results 1 – 10 of 10) sorted by relevance
1213 root->commit_root = NULL; in __setup_root()1349 root->commit_root = btrfs_root_node(root); in btrfs_create_tree()1379 free_extent_buffer(root->commit_root); in btrfs_create_tree()1519 root->commit_root = btrfs_root_node(root); in btrfs_read_tree_root()2104 free_extent_buffer(root->commit_root); in free_root_extent_buffers()2106 root->commit_root = NULL; in free_root_extent_buffers()2139 free_extent_buffer(gang[0]->commit_root); in btrfs_free_fs_roots()2826 chunk_root->commit_root = btrfs_root_node(chunk_root); in open_ctree()2865 tree_root->commit_root = btrfs_root_node(tree_root); in open_ctree()3632 free_extent_buffer(root->commit_root); in free_fs_root()
114 free_extent_buffer(root->commit_root); in switch_commit_roots()115 root->commit_root = btrfs_root_node(root); in switch_commit_roots()283 WARN_ON(root->commit_root != root->node); in record_root_in_trans()1188 if (root->commit_root != root->node) { in commit_fs_roots()
1202 rb_node = tree_search(&cache->rb_root, src->commit_root->start);1213 reloc_root->commit_root->start);1385 ret = btrfs_copy_root(trans, root, root->commit_root, &eb,1497 if (reloc_root->commit_root != reloc_root->node) {1499 free_extent_buffer(reloc_root->commit_root);1500 reloc_root->commit_root = btrfs_root_node(reloc_root);
964 buf != root->node && buf != root->commit_root && in btrfs_block_can_be_shared()2724 b = root->commit_root; in btrfs_search_slot()5407 left_level = btrfs_header_level(left_root->commit_root); in btrfs_compare_trees()5409 left_path->nodes[left_level] = left_root->commit_root; in btrfs_compare_trees()5412 right_level = btrfs_header_level(right_root->commit_root); in btrfs_compare_trees()5414 right_path->nodes[right_level] = right_root->commit_root; in btrfs_compare_trees()
942 free_extent_buffer(quota_root->commit_root); in btrfs_quota_enable()990 free_extent_buffer(quota_root->commit_root); in btrfs_quota_disable()
336 root_level = btrfs_header_level(root->commit_root); in __resolve_indirect_ref()
5289 free_extent_buffer(log->commit_root); in btrfs_recover_log_trees()5308 free_extent_buffer(log->commit_root); in btrfs_recover_log_trees()
5640 sctx->parent_root->node != sctx->parent_root->commit_root) in ensure_commit_roots_uptodate()5645 sctx->clone_roots[i].root->commit_root) in ensure_commit_roots_uptodate()
1827 struct extent_buffer *commit_root; member
8608 free_extent_buffer(root->commit_root); in btrfs_drop_snapshot()