Home
last modified time | relevance | path

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

/linux-6.6.21/fs/btrfs/
Drelocation.c347 if (btrfs_header_generation(reloc_root->commit_root) == in btrfs_should_ignore_reloc_root()
564 rb_node = rb_simple_search(&cache->rb_root, src->commit_root->start); in clone_backref_node()
575 reloc_root->commit_root->start); in clone_backref_node()
646 node->bytenr = root->commit_root->start; in __add_reloc_root()
679 root->commit_root->start); in __del_reloc_root()
721 root->commit_root->start); in __update_reloc_root()
765 ret = btrfs_copy_root(trans, root, root->commit_root, &eb, in create_reloc_root()
778 commit_root_gen = btrfs_header_generation(root->commit_root); in create_reloc_root()
945 if (reloc_root->commit_root != reloc_root->node) { in btrfs_update_reloc_root()
948 free_extent_buffer(reloc_root->commit_root); in btrfs_update_reloc_root()
[all …]
Dtransaction.c196 free_extent_buffer(root->commit_root); in switch_commit_roots()
197 root->commit_root = btrfs_root_node(root); in switch_commit_roots()
411 WARN_ON(!force && root->commit_root != root->node); in record_root_in_trans()
1464 if (root->commit_root != root->node) { in commit_fs_roots()
Dctree.h197 struct extent_buffer *commit_root; member
Ddisk-io.c632 root->commit_root = NULL; in __setup_root()
872 root->commit_root = btrfs_root_node(root); in btrfs_create_tree()
1069 root->commit_root = btrfs_root_node(root); in read_tree_root_path()
1787 free_extent_buffer(root->commit_root); in free_root_extent_buffers()
1789 root->commit_root = NULL; in free_root_extent_buffers()
2562 root->commit_root = btrfs_root_node(root); in load_super_root()
Dsend.c7624 root_level = btrfs_header_level(sctx->send_root->commit_root); in restart_after_relocation()
7631 root_level = btrfs_header_level(sctx->parent_root->commit_root); in restart_after_relocation()
7738 left_level = btrfs_header_level(left_root->commit_root); in btrfs_compare_trees()
7748 btrfs_clone_extent_buffer(left_root->commit_root); in btrfs_compare_trees()
7754 right_level = btrfs_header_level(right_root->commit_root); in btrfs_compare_trees()
7757 btrfs_clone_extent_buffer(right_root->commit_root); in btrfs_compare_trees()
7769 reada_min_gen = btrfs_header_generation(right_root->commit_root); in btrfs_compare_trees()
7992 sctx->parent_root->node != sctx->parent_root->commit_root) in ensure_commit_roots_uptodate()
7997 sctx->clone_roots[i].root->commit_root) in ensure_commit_roots_uptodate()
Dctree.c384 if (buf != root->commit_root) in btrfs_block_can_be_shared()
1834 b = root->commit_root; in btrfs_search_slot_get_root()
Dbackref.c635 root_level = btrfs_header_level(root->commit_root); in resolve_indirect_ref()