Searched refs:commit_root (Results 1 – 11 of 11) sorted by relevance
1147 root->commit_root = NULL; in __setup_root()1270 root->commit_root = btrfs_root_node(root); in btrfs_create_tree()1301 free_extent_buffer(root->commit_root); in btrfs_create_tree()1436 root->commit_root = btrfs_root_node(root); in btrfs_read_tree_root()2050 free_extent_buffer(root->commit_root); in free_root_extent_buffers()2052 root->commit_root = NULL; in free_root_extent_buffers()2086 free_extent_buffer(gang[0]->commit_root); in btrfs_free_fs_roots()2973 chunk_root->commit_root = btrfs_root_node(chunk_root); in open_ctree()3012 tree_root->commit_root = btrfs_root_node(tree_root); in open_ctree()3831 free_extent_buffer(root->reloc_root->commit_root); in btrfs_drop_and_free_fs_root()[all …]
1172 rb_node = tree_search(&cache->rb_root, src->commit_root->start); in clone_backref_node()1183 reloc_root->commit_root->start); in clone_backref_node()1359 ret = btrfs_copy_root(trans, root, root->commit_root, &eb, in create_reloc_root()1370 commit_root_gen = btrfs_header_generation(root->commit_root); in create_reloc_root()1473 if (reloc_root->commit_root != reloc_root->node) { in btrfs_update_reloc_root()1475 free_extent_buffer(reloc_root->commit_root); in btrfs_update_reloc_root()1476 reloc_root->commit_root = btrfs_root_node(reloc_root); in btrfs_update_reloc_root()2360 free_extent_buffer(reloc_root->commit_root); in free_reloc_roots()2362 reloc_root->commit_root = NULL; in free_reloc_roots()
119 free_extent_buffer(root->commit_root); in switch_commit_roots()120 root->commit_root = btrfs_root_node(root); in switch_commit_roots()303 WARN_ON(!force && root->commit_root != root->node); in record_root_in_trans()1255 if (root->commit_root != root->node) { in commit_fs_roots()
886 buf != root->node && buf != root->commit_root && in btrfs_block_can_be_shared()2613 b = root->commit_root; in btrfs_search_slot_get_root()5409 left_level = btrfs_header_level(left_root->commit_root); in btrfs_compare_trees()5412 btrfs_clone_extent_buffer(left_root->commit_root); in btrfs_compare_trees()5420 right_level = btrfs_header_level(right_root->commit_root); in btrfs_compare_trees()5423 btrfs_clone_extent_buffer(right_root->commit_root); in btrfs_compare_trees()
1038 free_extent_buffer(quota_root->commit_root); in btrfs_quota_enable()1104 free_extent_buffer(quota_root->commit_root); in btrfs_quota_disable()
1252 free_extent_buffer(free_space_root->commit_root); in btrfs_clear_free_space_tree()
535 root_level = btrfs_header_level(root->commit_root); in resolve_indirect_ref()
5861 free_extent_buffer(log->commit_root); in btrfs_recover_log_trees()5897 free_extent_buffer(log->commit_root); in btrfs_recover_log_trees()
6556 sctx->parent_root->node != sctx->parent_root->commit_root) in ensure_commit_roots_uptodate()6561 sctx->clone_roots[i].root->commit_root) in ensure_commit_roots_uptodate()
1167 struct extent_buffer *commit_root; member
9054 free_extent_buffer(root->commit_root); in btrfs_drop_snapshot()