/fs/btrfs/ |
D | relocation.c | 162 struct btrfs_root *extent_root; member 613 root = read_fs_root(rc->extent_root->fs_info, root_objectid); in find_tree_root() 736 ret = btrfs_search_slot(NULL, rc->extent_root, &key, path1, 774 ret = btrfs_next_leaf(rc->extent_root, path1); 888 root = read_fs_root(rc->extent_root->fs_info, key.offset); 2292 struct btrfs_root *root = rc->extent_root; 2313 trans = btrfs_join_transaction(rc->extent_root); 2316 btrfs_block_rsv_release(rc->extent_root, 2323 btrfs_end_transaction(trans, rc->extent_root); 2324 btrfs_block_rsv_release(rc->extent_root, [all …]
|
D | extent-tree.c | 86 struct btrfs_root *extent_root, u64 flags, 399 struct btrfs_root *extent_root; in load_extent_tree_free() local 411 extent_root = fs_info->extent_root; in load_extent_tree_free() 425 if (btrfs_should_fragment_free_space(extent_root, block_group)) in load_extent_tree_free() 443 ret = btrfs_search_slot(NULL, extent_root, &key, path, 0, 0); in load_extent_tree_free() 476 ret = btrfs_next_leaf(extent_root, path); in load_extent_tree_free() 542 struct btrfs_root *extent_root; in caching_thread() local 548 extent_root = fs_info->extent_root; in caching_thread() 564 if (btrfs_should_fragment_free_space(extent_root, block_group)) { in caching_thread() 574 fragment_free_space(extent_root, block_group); in caching_thread() [all …]
|
D | volumes.c | 2808 struct btrfs_root *extent_root = root->fs_info->extent_root; in btrfs_remove_chunk() local 2837 check_system_chunk(trans, extent_root, map->type); in btrfs_remove_chunk() 2895 ret = btrfs_remove_block_group(trans, extent_root, chunk_offset, em); in btrfs_remove_chunk() 2909 struct btrfs_root *extent_root; in btrfs_relocate_chunk() local 2914 extent_root = root->fs_info->extent_root; in btrfs_relocate_chunk() 2930 ret = btrfs_can_relocate(extent_root, chunk_offset); in btrfs_relocate_chunk() 2936 ret = btrfs_relocate_block_group(extent_root, chunk_offset); in btrfs_relocate_chunk() 2954 btrfs_end_transaction(trans, extent_root); in btrfs_relocate_chunk() 4603 struct btrfs_root *extent_root, u64 start, in __btrfs_alloc_chunk() argument 4606 struct btrfs_fs_info *info = extent_root->fs_info; in __btrfs_alloc_chunk() [all …]
|
D | backref.c | 1095 struct btrfs_root *extent_root = fs_info->extent_root; in __add_keyed_refs() local 1102 ret = btrfs_next_item(extent_root, path); in __add_keyed_refs() 1271 ret = btrfs_search_slot(trans, fs_info->extent_root, &key, path, 0, 0); 1408 eb = read_tree_block(fs_info->extent_root, 1820 ret = btrfs_search_slot(NULL, fs_info->extent_root, &key, path, 0, 0); 1824 ret = btrfs_previous_extent_item(fs_info->extent_root, path, 0); 1832 size = fs_info->extent_root->nodesize; 2021 trans = btrfs_join_transaction(fs_info->extent_root); 2061 btrfs_end_transaction(trans, fs_info->extent_root);
|
D | tree-defrag.c | 44 if (root->fs_info->extent_root == root) { in btrfs_defrag_leaves()
|
D | volumes.h | 391 struct btrfs_root *extent_root, u64 type); 462 struct btrfs_root *extent_root,
|
D | free-space-tree.c | 1064 struct btrfs_root *extent_root = fs_info->extent_root; in populate_free_space_tree() local 1098 ret = btrfs_search_slot_for_read(extent_root, &key, path, 1, 0); in populate_free_space_tree() 1132 ret = btrfs_next_item(extent_root, path); in populate_free_space_tree()
|
D | disk-io.c | 1741 return fs_info->extent_root; in btrfs_get_fs_root() 2118 btrfs_set_backup_extent_root(root_backup, info->extent_root->node->start); in backup_super_roots() 2120 btrfs_header_generation(info->extent_root->node)); in backup_super_roots() 2122 btrfs_header_level(info->extent_root->node)); in backup_super_roots() 2256 free_root_extent_buffers(info->extent_root); in free_root_pointers() 2536 fs_info->extent_root = root; in btrfs_read_roots() 3066 ret = btrfs_read_block_groups(fs_info->extent_root); in open_ctree()
|
D | transaction.c | 319 WARN_ON(root == root->fs_info->extent_root); in record_root_in_trans() 1175 if (root != fs_info->extent_root) in commit_cowonly_roots() 1198 list_add_tail(&fs_info->extent_root->dirty_list, in commit_cowonly_roots()
|
D | ctree.h | 168 __le64 extent_root; member 700 struct btrfs_root *extent_root; member 2119 extent_root, 64); 2915 kfree(fs_info->extent_root); in free_fs_info()
|
D | scrub.c | 1059 fixup_nodatasum->root = fs_info->extent_root; in scrub_handle_errored_block() 2848 struct btrfs_root *root = fs_info->extent_root; in scrub_raid56_parity() 3072 struct btrfs_root *root = fs_info->extent_root; in scrub_stripe() 4185 root = fs_info->extent_root; in copy_nocow_pages_worker()
|
D | reada.c | 717 ret = reada_tree_block_flagged(fs_info->extent_root, logical, in reada_start_machine_dev()
|
D | qgroup.c | 2256 ret = btrfs_search_slot_for_read(fs_info->extent_root, in qgroup_rescan_leaf() 2305 num_bytes = fs_info->extent_root->nodesize; in qgroup_rescan_leaf()
|
D | free-space-cache.c | 1975 if (btrfs_should_fragment_free_space(block_group->fs_info->extent_root, in use_bitmap() 3128 ret = btrfs_discard_extent(fs_info->extent_root, in do_trimming()
|
D | ioctl.c | 731 root->fs_info->extent_root, 1); in create_snapshot() 736 root->fs_info->extent_root); in create_snapshot() 2614 ret = btrfs_defrag_root(root->fs_info->extent_root); in btrfs_ioctl_defrag()
|
D | tree-log.c | 310 ret = btrfs_pin_extent_for_log_replay(log->fs_info->extent_root, in process_one_buffer()
|
/fs/btrfs/tests/ |
D | qgroup-tests.c | 475 root->fs_info->extent_root = root; in btrfs_test_qgroups()
|
D | free-space-tests.c | 871 root->fs_info->extent_root = root; in btrfs_test_free_space_cache()
|