Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/btrfs/
Drelocation.c335 if (btrfs_header_generation(reloc_root->commit_root) == in btrfs_should_ignore_reloc_root()
551 rb_node = rb_simple_search(&cache->rb_root, src->commit_root->start); in clone_backref_node()
562 reloc_root->commit_root->start); in clone_backref_node()
633 node->bytenr = root->commit_root->start; in __add_reloc_root()
665 root->commit_root->start); in __del_reloc_root()
707 root->commit_root->start); in __update_reloc_root()
751 ret = btrfs_copy_root(trans, root, root->commit_root, &eb, in create_reloc_root()
764 commit_root_gen = btrfs_header_generation(root->commit_root); in create_reloc_root()
924 if (reloc_root->commit_root != reloc_root->node) { in btrfs_update_reloc_root()
927 free_extent_buffer(reloc_root->commit_root); in btrfs_update_reloc_root()
[all …]
Dtransaction.c164 free_extent_buffer(root->commit_root); in switch_commit_roots()
165 root->commit_root = btrfs_root_node(root); in switch_commit_roots()
408 WARN_ON(!force && root->commit_root != root->node); in record_root_in_trans()
1350 if (root->commit_root != root->node) { in commit_fs_roots()
Ddisk-io.c1028 root->commit_root = NULL; in __setup_root()
1164 root->commit_root = btrfs_root_node(root); in btrfs_create_tree()
1319 root->commit_root = btrfs_root_node(root); in read_tree_root_path()
2020 free_extent_buffer(root->commit_root); in free_root_extent_buffers()
2022 root->commit_root = NULL; in free_root_extent_buffers()
2672 tree_root->commit_root = btrfs_root_node(tree_root); in init_tree_roots()
3143 chunk_root->commit_root = btrfs_root_node(chunk_root); in open_ctree()
Dsend.c6911 left_level = btrfs_header_level(left_root->commit_root); in btrfs_compare_trees()
6914 btrfs_clone_extent_buffer(left_root->commit_root); in btrfs_compare_trees()
6921 right_level = btrfs_header_level(right_root->commit_root); in btrfs_compare_trees()
6924 btrfs_clone_extent_buffer(right_root->commit_root); in btrfs_compare_trees()
7133 sctx->parent_root->node != sctx->parent_root->commit_root) in ensure_commit_roots_uptodate()
7138 sctx->clone_roots[i].root->commit_root) in ensure_commit_roots_uptodate()
Dctree.c839 buf != root->node && buf != root->commit_root && in btrfs_block_can_be_shared()
2607 b = btrfs_clone_extent_buffer(root->commit_root); in btrfs_search_slot_get_root()
2613 b = root->commit_root; in btrfs_search_slot_get_root()
Dbackref.c576 root_level = btrfs_header_level(root->commit_root); in resolve_indirect_ref()
Dctree.h1056 struct extent_buffer *commit_root; member