Searched refs:commit_root (Results 1 – 7 of 7) sorted by relevance
280 if (btrfs_header_generation(reloc_root->commit_root) == in btrfs_should_ignore_reloc_root()478 node->bytenr = root->commit_root->start; in __add_reloc_root()511 root->commit_root->start); in __del_reloc_root()553 root->commit_root->start); in __update_reloc_root()597 ret = btrfs_copy_root(trans, root, root->commit_root, &eb, in create_reloc_root()610 commit_root_gen = btrfs_header_generation(root->commit_root); in create_reloc_root()776 if (reloc_root->commit_root != reloc_root->node) { in btrfs_update_reloc_root()779 free_extent_buffer(reloc_root->commit_root); in btrfs_update_reloc_root()780 reloc_root->commit_root = btrfs_root_node(reloc_root); in btrfs_update_reloc_root()
192 free_extent_buffer(root->commit_root); in switch_commit_roots()193 root->commit_root = btrfs_root_node(root); in switch_commit_roots()408 WARN_ON(!force && root->commit_root != root->node); in record_root_in_trans()1503 if (root->commit_root != root->node) { in commit_fs_roots()
172 struct extent_buffer *commit_root; member
657 root->commit_root = NULL; in __setup_root()885 root->commit_root = btrfs_root_node(root); in btrfs_create_tree()1081 root->commit_root = btrfs_root_node(root); in read_tree_root_path()1809 free_extent_buffer(root->commit_root); in free_root_extent_buffers()1811 root->commit_root = NULL; in free_root_extent_buffers()2671 root->commit_root = btrfs_root_node(root); in load_super_root()
7679 root_level = btrfs_header_level(sctx->send_root->commit_root); in restart_after_relocation()7686 root_level = btrfs_header_level(sctx->parent_root->commit_root); in restart_after_relocation()7793 left_level = btrfs_header_level(left_root->commit_root); in btrfs_compare_trees()7803 btrfs_clone_extent_buffer(left_root->commit_root); in btrfs_compare_trees()7809 right_level = btrfs_header_level(right_root->commit_root); in btrfs_compare_trees()7812 btrfs_clone_extent_buffer(right_root->commit_root); in btrfs_compare_trees()7824 reada_min_gen = btrfs_header_generation(right_root->commit_root); in btrfs_compare_trees()8044 if (root && root->node != root->commit_root) in ensure_commit_roots_uptodate()8049 if (root->node != root->commit_root) in ensure_commit_roots_uptodate()
328 if (buf != root->commit_root) in btrfs_block_can_be_shared()1687 b = root->commit_root; in btrfs_search_slot_get_root()
631 root_level = btrfs_header_level(root->commit_root); in resolve_indirect_ref()