Home
last modified time | relevance | path

Searched refs:commit_root (Results 1 – 7 of 7) sorted by relevance

/linux/fs/btrfs/
H A Dctree.h177 struct extent_buffer *commit_root; member
H A Dtransaction.c201 free_extent_buffer(root->commit_root); in switch_commit_roots()
202 root->commit_root = btrfs_root_node(root); in switch_commit_roots()
418 WARN_ON(!force && root->commit_root != root->node); in record_root_in_trans()
1538 if (root->commit_root != root->node) { in commit_fs_roots()
H A Drelocation.c246 root->commit_root->start); in __del_reloc_root()
386 if (btrfs_header_generation(reloc_root->commit_root) == in btrfs_should_ignore_reloc_root()
582 node->bytenr = root->commit_root->start; in __add_reloc_root()
613 root->commit_root->start); in __update_reloc_root()
673 ret = btrfs_copy_root(trans, root, root->commit_root, &eb, in create_reloc_root()
686 commit_root_gen = btrfs_header_generation(root->commit_root); in create_reloc_root()
851 if (reloc_root->commit_root != reloc_root->node) { in btrfs_update_reloc_root()
854 free_extent_buffer(reloc_root->commit_root); in btrfs_update_reloc_root()
855 reloc_root->commit_root = btrfs_root_node(reloc_root); in btrfs_update_reloc_root()
H A Dsend.c7521 root_level = btrfs_header_level(sctx->send_root->commit_root); in restart_after_relocation()
7528 root_level = btrfs_header_level(sctx->parent_root->commit_root); in restart_after_relocation()
7635 left_level = btrfs_header_level(left_root->commit_root); in btrfs_compare_trees()
7645 btrfs_clone_extent_buffer(left_root->commit_root); in btrfs_compare_trees()
7651 right_level = btrfs_header_level(right_root->commit_root); in btrfs_compare_trees()
7654 btrfs_clone_extent_buffer(right_root->commit_root); in btrfs_compare_trees()
7666 reada_min_gen = btrfs_header_generation(right_root->commit_root); in btrfs_compare_trees()
7884 if (root && root->node != root->commit_root) in ensure_commit_roots_uptodate()
7889 if (root->node != root->commit_root) in ensure_commit_roots_uptodate()
H A Ddisk-io.c852 root->commit_root = btrfs_root_node(root); in btrfs_create_tree()
1048 root->commit_root = btrfs_root_node(root); in read_tree_root_path()
1792 free_extent_buffer(root->commit_root); in free_root_extent_buffers()
1794 root->commit_root = NULL; in free_root_extent_buffers()
2660 root->commit_root = btrfs_root_node(root); in load_super_root()
H A Dctree.c334 if (buf != root->commit_root) in btrfs_block_can_be_shared()
1705 b = root->commit_root; in btrfs_search_slot_get_root()
H A Dbackref.c631 root_level = btrfs_header_level(root->commit_root); in resolve_indirect_ref()