| /Linux-v5.10/fs/btrfs/ |
| D | relocation.c | 119 struct btrfs_root *extent_root; member 164 blocksize = rc->extent_root->fs_info->nodesize; in mark_block_processed() 470 iter = btrfs_backref_iter_alloc(rc->extent_root->fs_info, GFP_NOFS); in build_backref_tree() 1643 struct btrfs_fs_info *fs_info = rc->extent_root->fs_info; in merge_reloc_root() 1814 struct btrfs_root *root = rc->extent_root; in prepare_to_merge() 1836 trans = btrfs_join_transaction(rc->extent_root); in prepare_to_merge() 1898 struct btrfs_fs_info *fs_info = rc->extent_root->fs_info; in merge_reloc_roots() 1905 root = rc->extent_root; in merge_reloc_roots() 2124 struct btrfs_fs_info *fs_info = rc->extent_root->fs_info; in calcu_metadata_size() 2158 struct btrfs_root *root = rc->extent_root; in reserve_metadata_space() [all …]
|
| D | tree-defrag.c | 30 if (root->fs_info->extent_root == root) { in btrfs_defrag_leaves()
|
| D | block-group.c | 497 struct btrfs_root *extent_root = fs_info->extent_root; in load_extent_tree_free() local 537 ret = btrfs_search_slot(NULL, extent_root, &key, path, 0, 0); in load_extent_tree_free() 553 ret = btrfs_find_next_key(extent_root, path, &key, 0, 0); in load_extent_tree_free() 570 ret = btrfs_next_leaf(extent_root, path); in load_extent_tree_free() 873 root = fs_info->extent_root; in remove_block_group_item() 1198 return btrfs_start_transaction_fallback_global_rsv(fs_info->extent_root, in btrfs_start_trans_remove_block_group() 1584 struct btrfs_root *root = fs_info->extent_root; in find_first_block_group() 2086 root = fs_info->extent_root; in insert_block_group_item() 2228 trans = btrfs_join_transaction(fs_info->extent_root); in btrfs_inc_block_group_ro() 2319 struct btrfs_root *root = fs_info->extent_root; in update_block_group_item()
|
| D | extent-tree.c | 134 ret = btrfs_search_slot(NULL, fs_info->extent_root, &key, path, 0, 0); in btrfs_lookup_data_extent() 189 ret = btrfs_search_slot(trans, fs_info->extent_root, &key, path, 0, 0); in btrfs_lookup_extent_info() 479 struct btrfs_root *root = trans->fs_info->extent_root; in lookup_extent_data_ref() 555 struct btrfs_root *root = trans->fs_info->extent_root; in insert_extent_data_ref() 662 ret = btrfs_del_item(trans, trans->fs_info->extent_root, path); in remove_extent_data_ref() 721 struct btrfs_root *root = trans->fs_info->extent_root; in lookup_tree_block_ref() 757 ret = btrfs_insert_empty_item(trans, trans->fs_info->extent_root, in insert_tree_block_ref() 823 struct btrfs_root *root = fs_info->extent_root; in lookup_inline_extent_backref() 1223 ret = btrfs_del_item(trans, trans->fs_info->extent_root, path); in remove_extent_backref() 1609 ret = btrfs_search_slot(trans, fs_info->extent_root, &key, path, 0, 1); in run_delayed_extent_op() [all …]
|
| D | block-rsv.c | 362 num_bytes = btrfs_root_used(&fs_info->extent_root->root_item) + in btrfs_update_global_block_rsv() 429 fs_info->extent_root->block_rsv = &fs_info->delayed_refs_rsv; in btrfs_init_global_block_rsv()
|
| D | backref.c | 1056 struct btrfs_root *extent_root = fs_info->extent_root; in add_keyed_refs() local 1063 ret = btrfs_next_item(extent_root, path); in add_keyed_refs() 1213 ret = btrfs_search_slot(trans, fs_info->extent_root, &key, path, 0, 0); 1758 ret = btrfs_search_slot(NULL, fs_info->extent_root, &key, path, 0, 0); 1762 ret = btrfs_previous_extent_item(fs_info->extent_root, path, 0); 1965 trans = btrfs_attach_transaction(fs_info->extent_root); 2343 ret = btrfs_search_slot(NULL, fs_info->extent_root, &key, path, 0, 0); 2386 ret = btrfs_next_item(fs_info->extent_root, path); 2460 ret = btrfs_next_item(iter->fs_info->extent_root, iter->path);
|
| D | free-space-tree.c | 1051 struct btrfs_root *extent_root = trans->fs_info->extent_root; in populate_free_space_tree() local 1085 ret = btrfs_search_slot_for_read(extent_root, &key, path, 1, 0); in populate_free_space_tree() 1119 ret = btrfs_next_item(extent_root, path); in populate_free_space_tree()
|
| D | space-info.c | 611 trans = btrfs_join_transaction(fs_info->extent_root); in may_commit_transaction() 672 struct btrfs_root *root = fs_info->extent_root; in flush_space()
|
| D | ref-verify.c | 1003 eb = btrfs_read_lock_root_node(fs_info->extent_root); in btrfs_build_ref_tree() 1017 ret = walk_down_tree(fs_info->extent_root, path, level, in btrfs_build_ref_tree()
|
| D | disk-io.c | 1432 return btrfs_grab_root(fs_info->extent_root); in btrfs_get_global_root() 1505 btrfs_put_root(fs_info->extent_root); in btrfs_free_fs_info() 1890 btrfs_set_backup_extent_root(root_backup, info->extent_root->node->start); in backup_super_roots() 1892 btrfs_header_generation(info->extent_root->node)); in backup_super_roots() 1894 btrfs_header_level(info->extent_root->node)); in backup_super_roots() 2024 free_root_extent_buffers(info->extent_root); in free_root_pointers() 2313 fs_info->extent_root = root; in btrfs_read_roots()
|
| D | transaction.c | 367 WARN_ON(root == fs_info->extent_root); in record_root_in_trans() 1224 if (root != fs_info->extent_root) in commit_cowonly_roots() 1247 list_add_tail(&fs_info->extent_root->dirty_list, in commit_cowonly_roots()
|
| D | ctree.h | 196 __le64 extent_root; member 580 struct btrfs_root *extent_root; member 2134 extent_root, 64);
|
| D | delayed-ref.c | 190 ret = btrfs_reserve_metadata_bytes(fs_info->extent_root, block_rsv, in btrfs_delayed_refs_rsv_refill()
|
| D | scrub.c | 2758 struct btrfs_root *root = fs_info->extent_root; in scrub_raid56_parity() 2983 struct btrfs_root *root = fs_info->extent_root; in scrub_stripe()
|
| D | volumes.c | 5210 struct btrfs_root *extent_root = fs_info->extent_root; in btrfs_finish_chunk_alloc() local 5276 btrfs_set_stack_chunk_owner(chunk, extent_root->root_key.objectid); in btrfs_finish_chunk_alloc()
|
| D | qgroup.c | 3156 ret = btrfs_search_slot_for_read(fs_info->extent_root, in qgroup_rescan_leaf()
|
| D | ctree.c | 983 if (root == fs_info->extent_root || in alloc_tree_block_no_bg_flush()
|
| /Linux-v5.10/fs/btrfs/tests/ |
| D | qgroup-tests.c | 472 root->fs_info->extent_root = root; in btrfs_test_qgroups()
|
| D | free-space-tests.c | 862 root->fs_info->extent_root = root; in btrfs_test_free_space_cache()
|