Searched refs:commit_root (Results 1 – 6 of 6) sorted by relevance
291 if (btrfs_header_generation(reloc_root->commit_root) == in btrfs_should_ignore_reloc_root()489 node->bytenr = root->commit_root->start; in __add_reloc_root()521 root->commit_root->start); in __del_reloc_root()563 root->commit_root->start); in __update_reloc_root()625 ret = btrfs_copy_root(trans, root, root->commit_root, &eb, in create_reloc_root()638 commit_root_gen = btrfs_header_generation(root->commit_root); in create_reloc_root()804 if (reloc_root->commit_root != reloc_root->node) { in btrfs_update_reloc_root()807 free_extent_buffer(reloc_root->commit_root); in btrfs_update_reloc_root()808 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()1508 if (root->commit_root != root->node) { in commit_fs_roots()
172 struct extent_buffer *commit_root; member
654 root->commit_root = NULL; in btrfs_alloc_root()875 root->commit_root = btrfs_root_node(root); in btrfs_create_tree()1071 root->commit_root = btrfs_root_node(root); in read_tree_root_path()1799 free_extent_buffer(root->commit_root); in free_root_extent_buffers()1801 root->commit_root = NULL; in free_root_extent_buffers()2665 root->commit_root = btrfs_root_node(root); in load_super_root()
339 if (buf != root->commit_root) in btrfs_block_can_be_shared()1698 b = root->commit_root; in btrfs_search_slot_get_root()
631 root_level = btrfs_header_level(root->commit_root); in resolve_indirect_ref()