Home
last modified time | relevance | path

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

/Linux-v5.4/fs/btrfs/
Ddisk-io.c1138 root->commit_root = NULL; in __setup_root()
1271 root->commit_root = btrfs_root_node(root); in btrfs_create_tree()
1302 free_extent_buffer(root->commit_root); in btrfs_create_tree()
1437 root->commit_root = btrfs_root_node(root); in btrfs_read_tree_root()
2024 free_extent_buffer(root->commit_root); in free_root_extent_buffers()
2026 root->commit_root = NULL; in free_root_extent_buffers()
2060 free_extent_buffer(gang[0]->commit_root); in btrfs_free_fs_roots()
3012 chunk_root->commit_root = btrfs_root_node(chunk_root); in open_ctree()
3051 tree_root->commit_root = btrfs_root_node(tree_root); in open_ctree()
3878 free_extent_buffer(root->reloc_root->commit_root); in btrfs_drop_and_free_fs_root()
[all …]
Drelocation.c1185 rb_node = tree_search(&cache->rb_root, src->commit_root->start); in clone_backref_node()
1196 reloc_root->commit_root->start); in clone_backref_node()
1372 ret = btrfs_copy_root(trans, root, root->commit_root, &eb, in create_reloc_root()
1383 commit_root_gen = btrfs_header_generation(root->commit_root); in create_reloc_root()
1495 if (reloc_root->commit_root != reloc_root->node) { in btrfs_update_reloc_root()
1497 free_extent_buffer(reloc_root->commit_root); in btrfs_update_reloc_root()
1498 reloc_root->commit_root = btrfs_root_node(reloc_root); in btrfs_update_reloc_root()
2452 free_extent_buffer(reloc_root->commit_root); in free_reloc_roots()
2454 reloc_root->commit_root = NULL; in free_reloc_roots()
Dtransaction.c89 free_extent_buffer(root->commit_root); in switch_commit_roots()
90 root->commit_root = btrfs_root_node(root); in switch_commit_roots()
289 WARN_ON(!force && root->commit_root != root->node); in record_root_in_trans()
1239 if (root->commit_root != root->node) { in commit_fs_roots()
Dsend.c6722 left_level = btrfs_header_level(left_root->commit_root); in btrfs_compare_trees()
6725 btrfs_clone_extent_buffer(left_root->commit_root); in btrfs_compare_trees()
6732 right_level = btrfs_header_level(right_root->commit_root); in btrfs_compare_trees()
6735 btrfs_clone_extent_buffer(right_root->commit_root); in btrfs_compare_trees()
6945 sctx->parent_root->node != sctx->parent_root->commit_root) in ensure_commit_roots_uptodate()
6950 sctx->clone_roots[i].root->commit_root) in ensure_commit_roots_uptodate()
Dfree-space-tree.c1256 free_extent_buffer(free_space_root->commit_root); in btrfs_clear_free_space_tree()
Dctree.c879 buf != root->node && buf != root->commit_root && in btrfs_block_can_be_shared()
2648 b = btrfs_clone_extent_buffer(root->commit_root); in btrfs_search_slot_get_root()
2654 b = root->commit_root; in btrfs_search_slot_get_root()
Dqgroup.c1042 free_extent_buffer(quota_root->commit_root); in btrfs_quota_enable()
1108 free_extent_buffer(quota_root->commit_root); in btrfs_quota_disable()
Dbackref.c537 root_level = btrfs_header_level(root->commit_root); in resolve_indirect_ref()
Dtree-log.c6318 free_extent_buffer(log->commit_root); in btrfs_recover_log_trees()
6354 free_extent_buffer(log->commit_root); in btrfs_recover_log_trees()
Dctree.h965 struct extent_buffer *commit_root; member
Dextent-tree.c5382 free_extent_buffer(root->commit_root); in btrfs_drop_snapshot()