Searched refs:commit_root (Results 1 – 10 of 10) sorted by relevance
1221 root->commit_root = NULL; in __setup_root()1358 root->commit_root = btrfs_root_node(root); in btrfs_create_tree()1388 free_extent_buffer(root->commit_root); in btrfs_create_tree()1529 root->commit_root = btrfs_root_node(root); in btrfs_read_tree_root()2150 free_extent_buffer(root->commit_root); in free_root_extent_buffers()2152 root->commit_root = NULL; in free_root_extent_buffers()2185 free_extent_buffer(gang[0]->commit_root); in btrfs_free_fs_roots()2877 chunk_root->commit_root = btrfs_root_node(chunk_root); in open_ctree()2918 tree_root->commit_root = btrfs_root_node(tree_root); in open_ctree()3723 free_extent_buffer(root->commit_root); in free_fs_root()
120 free_extent_buffer(root->commit_root); in switch_commit_roots()121 root->commit_root = btrfs_root_node(root); in switch_commit_roots()302 WARN_ON(root->commit_root != root->node); in record_root_in_trans()1232 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()2730 b = root->commit_root; in btrfs_search_slot()5413 left_level = btrfs_header_level(left_root->commit_root); in btrfs_compare_trees()5415 left_path->nodes[left_level] = left_root->commit_root; in btrfs_compare_trees()5418 right_level = btrfs_header_level(right_root->commit_root); in btrfs_compare_trees()5420 right_path->nodes[right_level] = right_root->commit_root; in btrfs_compare_trees()
974 free_extent_buffer(quota_root->commit_root); in btrfs_quota_enable()1023 free_extent_buffer(quota_root->commit_root); in btrfs_quota_disable()
372 root_level = btrfs_header_level(root->commit_root); in __resolve_indirect_ref()
5509 free_extent_buffer(log->commit_root); in btrfs_recover_log_trees()5528 free_extent_buffer(log->commit_root); in btrfs_recover_log_trees()
5889 sctx->parent_root->node != sctx->parent_root->commit_root) in ensure_commit_roots_uptodate()5894 sctx->clone_roots[i].root->commit_root) in ensure_commit_roots_uptodate()
1854 struct extent_buffer *commit_root; member
8971 free_extent_buffer(root->commit_root); in btrfs_drop_snapshot()