Searched refs:commit_root (Results 1 – 11 of 11) sorted by relevance
528 if (btrfs_header_generation(reloc_root->commit_root) == in should_ignore_root()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()1256 node->bytenr = root->commit_root->start; in __add_reloc_root()1287 root->commit_root->start); in __del_reloc_root()1316 root->commit_root->start); in __update_reloc_root()1358 ret = btrfs_copy_root(trans, root, root->commit_root, &eb, in create_reloc_root()1369 commit_root_gen = btrfs_header_generation(root->commit_root); in create_reloc_root()1472 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()[all …]
1154 root->commit_root = NULL; in __setup_root()1284 root->commit_root = btrfs_root_node(root); in btrfs_create_tree()1315 free_extent_buffer(root->commit_root); in btrfs_create_tree()1450 root->commit_root = btrfs_root_node(root); in btrfs_read_tree_root()2044 free_extent_buffer(root->commit_root); in free_root_extent_buffers()2046 root->commit_root = NULL; in free_root_extent_buffers()2080 free_extent_buffer(gang[0]->commit_root); in btrfs_free_fs_roots()2980 chunk_root->commit_root = btrfs_root_node(chunk_root); in open_ctree()3019 tree_root->commit_root = btrfs_root_node(tree_root); in open_ctree()3863 free_extent_buffer(root->reloc_root->commit_root); in btrfs_drop_and_free_fs_root()[all …]
122 free_extent_buffer(root->commit_root); in switch_commit_roots()123 root->commit_root = btrfs_root_node(root); in switch_commit_roots()307 WARN_ON(!force && root->commit_root != root->node); in record_root_in_trans()1285 if (root->commit_root != root->node) { in commit_fs_roots()
885 buf != root->node && buf != root->commit_root && in btrfs_block_can_be_shared()2703 b = btrfs_clone_extent_buffer(root->commit_root); in btrfs_search_slot_get_root()2709 b = root->commit_root; in btrfs_search_slot_get_root()5544 left_level = btrfs_header_level(left_root->commit_root); in btrfs_compare_trees()5547 btrfs_clone_extent_buffer(left_root->commit_root); in btrfs_compare_trees()5555 right_level = btrfs_header_level(right_root->commit_root); in btrfs_compare_trees()5558 btrfs_clone_extent_buffer(right_root->commit_root); in btrfs_compare_trees()
1060 free_extent_buffer(quota_root->commit_root); in btrfs_quota_enable()1128 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()
536 root_level = btrfs_header_level(root->commit_root); in resolve_indirect_ref()
5951 free_extent_buffer(log->commit_root); in btrfs_recover_log_trees()5989 free_extent_buffer(log->commit_root); in btrfs_recover_log_trees()
6719 sctx->parent_root->node != sctx->parent_root->commit_root) in ensure_commit_roots_uptodate()6724 sctx->clone_roots[i].root->commit_root) in ensure_commit_roots_uptodate()
1166 struct extent_buffer *commit_root; member
9092 free_extent_buffer(root->commit_root); in btrfs_drop_snapshot()