Searched refs:commit_root (Results 1 – 7 of 7) sorted by relevance
335 if (btrfs_header_generation(reloc_root->commit_root) == in btrfs_should_ignore_reloc_root()551 rb_node = rb_simple_search(&cache->rb_root, src->commit_root->start); in clone_backref_node()562 reloc_root->commit_root->start); in clone_backref_node()633 node->bytenr = root->commit_root->start; in __add_reloc_root()665 root->commit_root->start); in __del_reloc_root()709 root->commit_root->start); in __update_reloc_root()751 ret = btrfs_copy_root(trans, root, root->commit_root, &eb, in create_reloc_root()762 commit_root_gen = btrfs_header_generation(root->commit_root); in create_reloc_root()904 if (reloc_root->commit_root != reloc_root->node) { in btrfs_update_reloc_root()907 free_extent_buffer(reloc_root->commit_root); in btrfs_update_reloc_root()[all …]
163 free_extent_buffer(root->commit_root); in switch_commit_roots()164 root->commit_root = btrfs_root_node(root); in switch_commit_roots()368 WARN_ON(!force && root->commit_root != root->node); in record_root_in_trans()1309 if (root->commit_root != root->node) { in commit_fs_roots()
1028 root->commit_root = NULL; in __setup_root()1164 root->commit_root = btrfs_root_node(root); in btrfs_create_tree()1319 root->commit_root = btrfs_root_node(root); in read_tree_root_path()2012 free_extent_buffer(root->commit_root); in free_root_extent_buffers()2014 root->commit_root = NULL; in free_root_extent_buffers()2646 tree_root->commit_root = btrfs_root_node(tree_root); in init_tree_roots()3124 chunk_root->commit_root = btrfs_root_node(chunk_root); in open_ctree()
6872 left_level = btrfs_header_level(left_root->commit_root); in btrfs_compare_trees()6875 btrfs_clone_extent_buffer(left_root->commit_root); in btrfs_compare_trees()6882 right_level = btrfs_header_level(right_root->commit_root); in btrfs_compare_trees()6885 btrfs_clone_extent_buffer(right_root->commit_root); in btrfs_compare_trees()7094 sctx->parent_root->node != sctx->parent_root->commit_root) in ensure_commit_roots_uptodate()7099 sctx->clone_roots[i].root->commit_root) in ensure_commit_roots_uptodate()
836 buf != root->node && buf != root->commit_root && in btrfs_block_can_be_shared()2585 b = btrfs_clone_extent_buffer(root->commit_root); in btrfs_search_slot_get_root()2591 b = root->commit_root; in btrfs_search_slot_get_root()
576 root_level = btrfs_header_level(root->commit_root); in resolve_indirect_ref()
1048 struct extent_buffer *commit_root; member