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()
198 free_extent_buffer(root->commit_root); in switch_commit_roots()199 root->commit_root = btrfs_root_node(root); in switch_commit_roots()414 WARN_ON(!force && root->commit_root != root->node); in record_root_in_trans()1509 if (root->commit_root != root->node) { in commit_fs_roots()
172 struct extent_buffer *commit_root; member
655 root->commit_root = NULL; in __setup_root()883 root->commit_root = btrfs_root_node(root); in btrfs_create_tree()1079 root->commit_root = btrfs_root_node(root); in read_tree_root_path()1805 free_extent_buffer(root->commit_root); in free_root_extent_buffers()1807 root->commit_root = NULL; in free_root_extent_buffers()2675 root->commit_root = btrfs_root_node(root); in load_super_root()
7638 root_level = btrfs_header_level(sctx->send_root->commit_root); in restart_after_relocation()7645 root_level = btrfs_header_level(sctx->parent_root->commit_root); in restart_after_relocation()7752 left_level = btrfs_header_level(left_root->commit_root); in btrfs_compare_trees()7762 btrfs_clone_extent_buffer(left_root->commit_root); in btrfs_compare_trees()7768 right_level = btrfs_header_level(right_root->commit_root); in btrfs_compare_trees()7771 btrfs_clone_extent_buffer(right_root->commit_root); in btrfs_compare_trees()7783 reada_min_gen = btrfs_header_generation(right_root->commit_root); in btrfs_compare_trees()8003 if (root && root->node != root->commit_root) in ensure_commit_roots_uptodate()8008 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()