Lines Matching refs:tree_root
1030 struct btrfs_root *tree_root = root->fs_info->tree_root; in update_cowonly_root() local
1041 ret = btrfs_update_root(trans, tree_root, in update_cowonly_root()
1070 eb = btrfs_lock_root_node(fs_info->tree_root); in commit_cowonly_roots()
1071 ret = btrfs_cow_block(trans, fs_info->tree_root, eb, NULL, in commit_cowonly_roots()
1195 err = btrfs_update_root(trans, fs_info->tree_root, in commit_fs_roots()
1228 btrfs_btree_balance_dirty(info->tree_root); in btrfs_defrag_root()
1259 struct btrfs_root *tree_root = fs_info->tree_root; in create_pending_snapshot() local
1289 pending->error = btrfs_find_free_objectid(tree_root, &objectid); in create_pending_snapshot()
1425 ret = btrfs_insert_root(trans, tree_root, &key, new_root_item); in create_pending_snapshot()
1436 ret = btrfs_add_root_ref(trans, tree_root, objectid, in create_pending_snapshot()
1543 root_item = &root->fs_info->tree_root->root_item; in update_super_roots()
1737 if (btrfs_test_opt(fs_info->tree_root, FLUSHONCOMMIT)) in btrfs_start_delalloc_flush()
1744 if (btrfs_test_opt(fs_info->tree_root, FLUSHONCOMMIT)) in btrfs_wait_delalloc_flush()
2032 btrfs_set_root_node(&root->fs_info->tree_root->root_item, in btrfs_commit_transaction()
2033 root->fs_info->tree_root->node); in btrfs_commit_transaction()
2034 list_add_tail(&root->fs_info->tree_root->dirty_list, in btrfs_commit_transaction()