tree_root         867 fs/btrfs/block-group.c 	struct btrfs_root *tree_root = fs_info->tree_root;
tree_root         972 fs/btrfs/block-group.c 	ret = btrfs_search_slot(trans, tree_root, &key, path, -1, 1);
tree_root         978 fs/btrfs/block-group.c 		ret = btrfs_del_item(trans, tree_root, path);
tree_root        2152 fs/btrfs/block-group.c 	struct btrfs_root *root = fs_info->tree_root;
tree_root         271 fs/btrfs/block-rsv.c 		btrfs_root_used(&fs_info->tree_root->root_item);
tree_root         337 fs/btrfs/block-rsv.c 	fs_info->tree_root->block_rsv = &fs_info->global_block_rsv;
tree_root         247 fs/btrfs/btrfs_inode.h 	if (root == root->fs_info->tree_root &&
tree_root         180 fs/btrfs/ctree.h 	__le64 tree_root;
tree_root         533 fs/btrfs/ctree.h 	struct btrfs_root *tree_root;
tree_root        1980 fs/btrfs/ctree.h 		   tree_root, 64);
tree_root        2652 fs/btrfs/ctree.h 	kfree(fs_info->tree_root);
tree_root         571 fs/btrfs/dev-replace.c 	struct btrfs_root *root = fs_info->tree_root;
tree_root         803 fs/btrfs/dev-replace.c 	struct btrfs_root *root = fs_info->tree_root;
tree_root         157 fs/btrfs/dir-item.c 	if (root == root->fs_info->tree_root) {
tree_root        1227 fs/btrfs/disk-io.c 	struct btrfs_root *tree_root = fs_info->tree_root;
tree_root        1279 fs/btrfs/disk-io.c 	ret = btrfs_insert_root(trans, tree_root, &key, &root->root_item);
tree_root        1382 fs/btrfs/disk-io.c static struct btrfs_root *btrfs_read_tree_root(struct btrfs_root *tree_root,
tree_root        1386 fs/btrfs/disk-io.c 	struct btrfs_fs_info *fs_info = tree_root->fs_info;
tree_root        1404 fs/btrfs/disk-io.c 	ret = btrfs_find_root(tree_root, key, path,
tree_root        1437 fs/btrfs/disk-io.c struct btrfs_root *btrfs_read_fs_root(struct btrfs_root *tree_root,
tree_root        1442 fs/btrfs/disk-io.c 	root = btrfs_read_tree_root(tree_root, location);
tree_root        1543 fs/btrfs/disk-io.c 		return fs_info->tree_root;
tree_root        1569 fs/btrfs/disk-io.c 	root = btrfs_read_fs_root(fs_info->tree_root, location);
tree_root        1591 fs/btrfs/disk-io.c 	ret = btrfs_search_slot(NULL, fs_info->tree_root, &key, path, 0, 0);
tree_root        1856 fs/btrfs/disk-io.c 	    btrfs_header_generation(info->tree_root->node))
tree_root        1869 fs/btrfs/disk-io.c 	btrfs_set_backup_tree_root(root_backup, info->tree_root->node->start);
tree_root        1871 fs/btrfs/disk-io.c 			       btrfs_header_generation(info->tree_root->node));
tree_root        1874 fs/btrfs/disk-io.c 			       btrfs_header_level(info->tree_root->node));
tree_root        2021 fs/btrfs/disk-io.c 	free_root_extent_buffers(info->tree_root);
tree_root        2112 fs/btrfs/disk-io.c 	BTRFS_I(inode)->root = fs_info->tree_root;
tree_root        2299 fs/btrfs/disk-io.c 	struct btrfs_root *tree_root = fs_info->tree_root;
tree_root        2304 fs/btrfs/disk-io.c 	BUG_ON(!fs_info->tree_root);
tree_root        2310 fs/btrfs/disk-io.c 	root = btrfs_read_tree_root(tree_root, &location);
tree_root        2319 fs/btrfs/disk-io.c 	root = btrfs_read_tree_root(tree_root, &location);
tree_root        2329 fs/btrfs/disk-io.c 	root = btrfs_read_tree_root(tree_root, &location);
tree_root        2338 fs/btrfs/disk-io.c 	root = btrfs_read_tree_root(tree_root, &location);
tree_root        2346 fs/btrfs/disk-io.c 	root = btrfs_read_tree_root(tree_root, &location);
tree_root        2358 fs/btrfs/disk-io.c 		root = btrfs_read_tree_root(tree_root, &location);
tree_root        2594 fs/btrfs/disk-io.c 	struct btrfs_root *tree_root;
tree_root        2603 fs/btrfs/disk-io.c 	tree_root = fs_info->tree_root = btrfs_alloc_root(fs_info, GFP_KERNEL);
tree_root        2605 fs/btrfs/disk-io.c 	if (!tree_root || !chunk_root) {
tree_root        2781 fs/btrfs/disk-io.c 	__setup_root(tree_root, fs_info, BTRFS_ROOT_TREE_OBJECTID);
tree_root        3025 fs/btrfs/disk-io.c 	tree_root->node = read_tree_block(fs_info,
tree_root        3028 fs/btrfs/disk-io.c 	if (IS_ERR(tree_root->node) ||
tree_root        3029 fs/btrfs/disk-io.c 	    !extent_buffer_uptodate(tree_root->node)) {
tree_root        3031 fs/btrfs/disk-io.c 		if (!IS_ERR(tree_root->node))
tree_root        3032 fs/btrfs/disk-io.c 			free_extent_buffer(tree_root->node);
tree_root        3033 fs/btrfs/disk-io.c 		tree_root->node = NULL;
tree_root        3037 fs/btrfs/disk-io.c 	btrfs_set_root_node(&tree_root->root_item, tree_root->node);
tree_root        3038 fs/btrfs/disk-io.c 	tree_root->commit_root = btrfs_root_node(tree_root);
tree_root        3039 fs/btrfs/disk-io.c 	btrfs_set_root_refs(&tree_root->root_item, 1);
tree_root        3041 fs/btrfs/disk-io.c 	mutex_lock(&tree_root->objectid_mutex);
tree_root        3042 fs/btrfs/disk-io.c 	ret = btrfs_find_highest_objectid(tree_root,
tree_root        3043 fs/btrfs/disk-io.c 					&tree_root->highest_objectid);
tree_root        3045 fs/btrfs/disk-io.c 		mutex_unlock(&tree_root->objectid_mutex);
tree_root        3049 fs/btrfs/disk-io.c 	ASSERT(tree_root->highest_objectid <= BTRFS_LAST_FREE_OBJECTID);
tree_root        3051 fs/btrfs/disk-io.c 	mutex_unlock(&tree_root->objectid_mutex);
tree_root        3137 fs/btrfs/disk-io.c 	fs_info->cleaner_kthread = kthread_run(cleaner_kthread, tree_root,
tree_root        3143 fs/btrfs/disk-io.c 						   tree_root,
tree_root        3200 fs/btrfs/disk-io.c 		ret = btrfs_recover_relocation(tree_root);
tree_root        3259 fs/btrfs/disk-io.c 	    (ret = btrfs_orphan_cleanup(fs_info->tree_root))) {
tree_root        3958 fs/btrfs/disk-io.c 	struct btrfs_root *root = fs_info->tree_root;
tree_root        4595 fs/btrfs/disk-io.c 		trace_btrfs_transaction_commit(fs_info->tree_root);
tree_root          61 fs/btrfs/disk-io.h struct btrfs_root *btrfs_read_fs_root(struct btrfs_root *tree_root,
tree_root         175 fs/btrfs/export.c 		root = fs_info->tree_root;
tree_root         254 fs/btrfs/export.c 		root = fs_info->tree_root;
tree_root        5200 fs/btrfs/extent-tree.c 	struct btrfs_root *tree_root = fs_info->tree_root;
tree_root        5224 fs/btrfs/extent-tree.c 	trans = btrfs_start_transaction(tree_root, 0);
tree_root        5342 fs/btrfs/extent-tree.c 			ret = btrfs_update_root(trans, tree_root,
tree_root        5359 fs/btrfs/extent-tree.c 			trans = btrfs_start_transaction(tree_root, 0);
tree_root        5380 fs/btrfs/extent-tree.c 		ret = btrfs_find_root(tree_root, &root->root_key, path,
tree_root        5392 fs/btrfs/extent-tree.c 			btrfs_del_orphan_item(trans, tree_root,
tree_root         785 fs/btrfs/file.c 		       root == fs_info->tree_root);
tree_root         109 fs/btrfs/free-space-cache.c 	inode = __lookup_free_space_inode(fs_info->tree_root, path,
tree_root         199 fs/btrfs/free-space-cache.c 	ret = btrfs_find_free_objectid(trans->fs_info->tree_root, &ino);
tree_root         203 fs/btrfs/free-space-cache.c 	return __create_free_space_inode(trans->fs_info->tree_root, trans, path,
tree_root         884 fs/btrfs/free-space-cache.c 	ret = __load_free_space_cache(fs_info->tree_root, inode, ctl,
tree_root        1222 fs/btrfs/free-space-cache.c 	return __btrfs_wait_cache_io(block_group->fs_info->tree_root, trans,
tree_root        1397 fs/btrfs/free-space-cache.c 	ret = __btrfs_write_out_cache(fs_info->tree_root, inode, ctl,
tree_root        1141 fs/btrfs/free-space-tree.c 	struct btrfs_root *tree_root = fs_info->tree_root;
tree_root        1147 fs/btrfs/free-space-tree.c 	trans = btrfs_start_transaction(tree_root, 0);
tree_root        1227 fs/btrfs/free-space-tree.c 	struct btrfs_root *tree_root = fs_info->tree_root;
tree_root        1231 fs/btrfs/free-space-tree.c 	trans = btrfs_start_transaction(tree_root, 0);
tree_root        1969 fs/btrfs/inode.c 		    root != fs_info->tree_root)
tree_root        3219 fs/btrfs/inode.c 		BUG_ON(root == fs_info->tree_root);
tree_root        3623 fs/btrfs/inode.c 		if (ret == -ENOENT && root == fs_info->tree_root) {
tree_root        4405 fs/btrfs/inode.c 	di = btrfs_lookup_dir_item(NULL, fs_info->tree_root, path,
tree_root        4423 fs/btrfs/inode.c 	ret = btrfs_search_slot(NULL, fs_info->tree_root, &key, path, 0, 0);
tree_root        4577 fs/btrfs/inode.c 					fs_info->tree_root,
tree_root        4765 fs/btrfs/inode.c 	    root == fs_info->tree_root)
tree_root        4943 fs/btrfs/inode.c 		     root == fs_info->tree_root)) {
tree_root        5640 fs/btrfs/inode.c 	if (!(root == fs_info->tree_root ||
tree_root        5730 fs/btrfs/inode.c 	ret = btrfs_search_slot(NULL, fs_info->tree_root, &key, path, 0, 0);
tree_root         583 fs/btrfs/ioctl.c 	ret = btrfs_find_free_objectid(fs_info->tree_root, &objectid);
tree_root         664 fs/btrfs/ioctl.c 	ret = btrfs_insert_root(trans, fs_info->tree_root, &key,
tree_root        1986 fs/btrfs/ioctl.c 	ret = btrfs_update_root(trans, fs_info->tree_root,
tree_root        2502 fs/btrfs/ioctl.c 	root = fs_info->tree_root;
tree_root        2693 fs/btrfs/ioctl.c 		root = fs_info->tree_root;
tree_root        2771 fs/btrfs/ioctl.c 	root = BTRFS_I(inode)->root->fs_info->tree_root;
tree_root        4010 fs/btrfs/ioctl.c 	di = btrfs_lookup_dir_item(trans, fs_info->tree_root, path,
tree_root        5072 fs/btrfs/ioctl.c 	ret = btrfs_update_root(trans, fs_info->tree_root,
tree_root         473 fs/btrfs/ordered-data.c 	if (root != fs_info->tree_root)
tree_root         882 fs/btrfs/qgroup.c 	struct btrfs_root *tree_root = fs_info->tree_root;
tree_root         911 fs/btrfs/qgroup.c 	trans = btrfs_start_transaction(tree_root, 2);
tree_root         963 fs/btrfs/qgroup.c 	ret = btrfs_search_slot_for_read(tree_root, &key, path, 1, 0);
tree_root         991 fs/btrfs/qgroup.c 		ret = btrfs_next_item(tree_root, path);
tree_root        1073 fs/btrfs/qgroup.c 	trans = btrfs_start_transaction(fs_info->tree_root, 1);
tree_root        1446 fs/btrfs/relocation.c 	ret = btrfs_insert_root(trans, fs_info->tree_root,
tree_root        1451 fs/btrfs/relocation.c 	reloc_root = btrfs_read_fs_root(fs_info->tree_root, &root_key);
tree_root        1539 fs/btrfs/relocation.c 	ret = btrfs_update_root(trans, fs_info->tree_root,
tree_root        3608 fs/btrfs/relocation.c 	struct btrfs_root *root = fs_info->tree_root;
tree_root        4474 fs/btrfs/relocation.c 	trans = btrfs_start_transaction(fs_info->tree_root, 0);
tree_root        4482 fs/btrfs/relocation.c 	ret = btrfs_update_root(trans, fs_info->tree_root,
tree_root        4521 fs/btrfs/relocation.c 		ret = btrfs_search_slot(NULL, fs_info->tree_root, &key,
tree_root         211 fs/btrfs/root-tree.c 	struct btrfs_root *tree_root = fs_info->tree_root;
tree_root         232 fs/btrfs/root-tree.c 		ret = btrfs_search_slot(NULL, tree_root, &key, path, 0, 0);
tree_root         240 fs/btrfs/root-tree.c 			ret = btrfs_next_leaf(tree_root, path);
tree_root         276 fs/btrfs/root-tree.c 		root = btrfs_read_fs_root(tree_root, &root_key);
tree_root         285 fs/btrfs/root-tree.c 			trans = btrfs_join_transaction(tree_root);
tree_root         292 fs/btrfs/root-tree.c 			err = btrfs_del_orphan_item(trans, tree_root,
tree_root         332 fs/btrfs/root-tree.c 	struct btrfs_root *root = trans->fs_info->tree_root;
tree_root         356 fs/btrfs/root-tree.c 	struct btrfs_root *tree_root = trans->fs_info->tree_root;
tree_root         373 fs/btrfs/root-tree.c 	ret = btrfs_search_slot(trans, tree_root, &key, path, -1, 1);
tree_root         388 fs/btrfs/root-tree.c 		ret = btrfs_del_item(trans, tree_root, path);
tree_root         428 fs/btrfs/root-tree.c 	struct btrfs_root *tree_root = trans->fs_info->tree_root;
tree_root         444 fs/btrfs/root-tree.c 	ret = btrfs_insert_empty_item(trans, tree_root, path, &key,
tree_root        2369 fs/btrfs/send.c 	ret = btrfs_search_slot_for_read(send_root->fs_info->tree_root,
tree_root        1011 fs/btrfs/super.c 	struct btrfs_root *root = fs_info->tree_root;
tree_root        1146 fs/btrfs/super.c 	struct btrfs_root *root = fs_info->tree_root;
tree_root        1247 fs/btrfs/super.c 	struct btrfs_root *root = fs_info->tree_root;
tree_root        1723 fs/btrfs/super.c 	struct btrfs_root *root = fs_info->tree_root;
tree_root        2227 fs/btrfs/super.c 	struct btrfs_root *root = fs_info->tree_root;
tree_root         463 fs/btrfs/tests/free-space-tree-tests.c 	root->fs_info->tree_root = root;
tree_root         478 fs/btrfs/tests/qgroup-tests.c 	root->fs_info->tree_root = root;
tree_root        1091 fs/btrfs/transaction.c 	struct btrfs_root *tree_root = fs_info->tree_root;
tree_root        1102 fs/btrfs/transaction.c 		ret = btrfs_update_root(trans, tree_root,
tree_root        1130 fs/btrfs/transaction.c 	eb = btrfs_lock_root_node(fs_info->tree_root);
tree_root        1131 fs/btrfs/transaction.c 	ret = btrfs_cow_block(trans, fs_info->tree_root, eb, NULL,
tree_root        1259 fs/btrfs/transaction.c 			err = btrfs_update_root(trans, fs_info->tree_root,
tree_root        1411 fs/btrfs/transaction.c 	struct btrfs_root *tree_root = fs_info->tree_root;
tree_root        1435 fs/btrfs/transaction.c 	pending->error = btrfs_find_free_objectid(tree_root, &objectid);
tree_root        1562 fs/btrfs/transaction.c 	ret = btrfs_insert_root(trans, tree_root, &key, new_root_item);
tree_root        1700 fs/btrfs/transaction.c 	root_item = &fs_info->tree_root->root_item;
tree_root        2251 fs/btrfs/transaction.c 	btrfs_set_root_node(&fs_info->tree_root->root_item,
tree_root        2252 fs/btrfs/transaction.c 			    fs_info->tree_root->node);
tree_root        2253 fs/btrfs/transaction.c 	list_add_tail(&fs_info->tree_root->dirty_list,
tree_root        6178 fs/btrfs/tree-log.c 	trans = btrfs_start_transaction(fs_info->tree_root, 0);
tree_root          49 fs/btrfs/tree-log.h int btrfs_recover_log_trees(struct btrfs_root *tree_root);
tree_root        3243 fs/btrfs/volumes.c 			trans =	btrfs_join_transaction(fs_info->tree_root);
tree_root        3261 fs/btrfs/volumes.c 	struct btrfs_root *root = fs_info->tree_root;
tree_root        3314 fs/btrfs/volumes.c 	struct btrfs_root *root = fs_info->tree_root;
tree_root        4328 fs/btrfs/volumes.c 	ret = btrfs_search_slot(NULL, fs_info->tree_root, &key, path, 0, 0);
tree_root        4462 fs/btrfs/volumes.c 	struct btrfs_root *root = fs_info->tree_root;
tree_root        4655 fs/btrfs/volumes.c 	struct btrfs_root *tree_root = fs_info->tree_root;
tree_root        4664 fs/btrfs/volumes.c 	trans = btrfs_start_transaction(tree_root, 2);
tree_root        7055 fs/btrfs/volumes.c 	struct btrfs_root *root = fs_info->tree_root;