Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dtransaction.c200 free_extent_buffer(root->commit_root); in switch_commit_roots()
201 root->commit_root = btrfs_root_node(root); in switch_commit_roots()
416 WARN_ON(!force && root->commit_root != root->node); in record_root_in_trans()
1526 if (root->commit_root != root->node) { in commit_fs_roots()
H A Dctree.h178 struct extent_buffer *commit_root; member
H A Drelocation.c292 if (btrfs_header_generation(reloc_root->commit_root) == in btrfs_should_ignore_reloc_root()
490 node->bytenr = root->commit_root->start; in __add_reloc_root()
522 root->commit_root->start); in __del_reloc_root()
563 root->commit_root->start); in __update_reloc_root()
623 ret = btrfs_copy_root(trans, root, root->commit_root, &eb, in create_reloc_root()
636 commit_root_gen = btrfs_header_generation(root->commit_root); in create_reloc_root()
797 if (reloc_root->commit_root != reloc_root->node) { in btrfs_update_reloc_root()
800 free_extent_buffer(reloc_root->commit_root); in btrfs_update_reloc_root()
801 reloc_root->commit_root = btrfs_root_node(reloc_root); in btrfs_update_reloc_root()
H A Dsend.c7550 root_level = btrfs_header_level(sctx->send_root->commit_root); in restart_after_relocation()
7557 root_level = btrfs_header_level(sctx->parent_root->commit_root); in restart_after_relocation()
7664 left_level = btrfs_header_level(left_root->commit_root); in btrfs_compare_trees()
7674 btrfs_clone_extent_buffer(left_root->commit_root); in btrfs_compare_trees()
7680 right_level = btrfs_header_level(right_root->commit_root); in btrfs_compare_trees()
7683 btrfs_clone_extent_buffer(right_root->commit_root); in btrfs_compare_trees()
7695 reada_min_gen = btrfs_header_generation(right_root->commit_root); in btrfs_compare_trees()
7913 if (root && root->node != root->commit_root) in ensure_commit_roots_uptodate()
7918 if (root->node != root->commit_root) in ensure_commit_roots_uptodate()
H A Ddisk-io.c825 root->commit_root = btrfs_root_node(root); in btrfs_create_tree()
1018 root->commit_root = btrfs_root_node(root); in read_tree_root_path()
1761 free_extent_buffer(root->commit_root); in free_root_extent_buffers()
1763 root->commit_root = NULL; in free_root_extent_buffers()
2649 root->commit_root = btrfs_root_node(root); in load_super_root()
H A Dctree.c333 if (buf != root->commit_root) in btrfs_block_can_be_shared()
1717 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()