Home
last modified time | relevance | path

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

/fs/btrfs/
Drelocation.c564 if (btrfs_header_generation(reloc_root->commit_root) == in should_ignore_root()
1217 rb_node = tree_search(&cache->rb_root, src->commit_root->start); in clone_backref_node()
1228 reloc_root->commit_root->start); in clone_backref_node()
1301 node->bytenr = root->commit_root->start; in __add_reloc_root()
1332 root->commit_root->start); in __del_reloc_root()
1361 root->commit_root->start); in __update_reloc_root()
1403 ret = btrfs_copy_root(trans, root, root->commit_root, &eb, in create_reloc_root()
1414 commit_root_gen = btrfs_header_generation(root->commit_root); in create_reloc_root()
1545 if (reloc_root->commit_root != reloc_root->node) { in btrfs_update_reloc_root()
1548 free_extent_buffer(reloc_root->commit_root); in btrfs_update_reloc_root()
[all …]
Ddisk-io.c1125 root->commit_root = NULL; in __setup_root()
1259 root->commit_root = btrfs_root_node(root); in btrfs_create_tree()
1290 free_extent_buffer(root->commit_root); in btrfs_create_tree()
1425 root->commit_root = btrfs_root_node(root); in btrfs_read_tree_root()
2018 free_extent_buffer(root->commit_root); in free_root_extent_buffers()
2020 root->commit_root = NULL; in free_root_extent_buffers()
2054 free_extent_buffer(gang[0]->commit_root); in btrfs_free_fs_roots()
3044 chunk_root->commit_root = btrfs_root_node(chunk_root); in open_ctree()
3083 tree_root->commit_root = btrfs_root_node(tree_root); in open_ctree()
3935 free_extent_buffer(root->reloc_root->commit_root); in btrfs_drop_and_free_fs_root()
[all …]
Dtransaction.c92 free_extent_buffer(root->commit_root); in switch_commit_roots()
93 root->commit_root = btrfs_root_node(root); in switch_commit_roots()
294 WARN_ON(!force && root->commit_root != root->node); in record_root_in_trans()
1240 if (root->commit_root != root->node) { in commit_fs_roots()
Dsend.c7013 left_level = btrfs_header_level(left_root->commit_root); in btrfs_compare_trees()
7016 btrfs_clone_extent_buffer(left_root->commit_root); in btrfs_compare_trees()
7023 right_level = btrfs_header_level(right_root->commit_root); in btrfs_compare_trees()
7026 btrfs_clone_extent_buffer(right_root->commit_root); in btrfs_compare_trees()
7236 sctx->parent_root->node != sctx->parent_root->commit_root) in ensure_commit_roots_uptodate()
7241 sctx->clone_roots[i].root->commit_root) in ensure_commit_roots_uptodate()
Dctree.c878 buf != root->node && buf != root->commit_root && in btrfs_block_can_be_shared()
2676 b = btrfs_clone_extent_buffer(root->commit_root); in btrfs_search_slot_get_root()
2682 b = root->commit_root; in btrfs_search_slot_get_root()
Dfree-space-tree.c1264 free_extent_buffer(free_space_root->commit_root); in btrfs_clear_free_space_tree()
Dqgroup.c1143 free_extent_buffer(quota_root->commit_root); in btrfs_quota_enable()
1256 free_extent_buffer(quota_root->commit_root); in btrfs_quota_disable()
Dbackref.c575 root_level = btrfs_header_level(root->commit_root); in resolve_indirect_ref()
Dtree-log.c6338 free_extent_buffer(log->commit_root); in btrfs_recover_log_trees()
6376 free_extent_buffer(log->commit_root); in btrfs_recover_log_trees()
Dctree.h966 struct extent_buffer *commit_root; member
Dextent-tree.c5457 free_extent_buffer(root->commit_root); in btrfs_drop_snapshot()