Lines Matching refs:tree_root
1074 struct btrfs_root *tree_root = root->fs_info->tree_root; in update_cowonly_root() local
1085 ret = btrfs_update_root(trans, tree_root, in update_cowonly_root()
1114 eb = btrfs_lock_root_node(fs_info->tree_root); in commit_cowonly_roots()
1115 ret = btrfs_cow_block(trans, fs_info->tree_root, eb, NULL, in commit_cowonly_roots()
1239 err = btrfs_update_root(trans, fs_info->tree_root, in commit_fs_roots()
1273 btrfs_btree_balance_dirty(info->tree_root); in btrfs_defrag_root()
1304 struct btrfs_root *tree_root = fs_info->tree_root; in create_pending_snapshot() local
1334 pending->error = btrfs_find_free_objectid(tree_root, &objectid); in create_pending_snapshot()
1457 ret = btrfs_insert_root(trans, tree_root, &key, new_root_item); in create_pending_snapshot()
1468 ret = btrfs_add_root_ref(trans, tree_root, objectid, in create_pending_snapshot()
1601 root_item = &root->fs_info->tree_root->root_item; in update_super_roots()
1791 if (btrfs_test_opt(fs_info->tree_root, FLUSHONCOMMIT)) in btrfs_start_delalloc_flush()
1798 if (btrfs_test_opt(fs_info->tree_root, FLUSHONCOMMIT)) in btrfs_wait_delalloc_flush()
2083 btrfs_set_root_node(&root->fs_info->tree_root->root_item, in btrfs_commit_transaction()
2084 root->fs_info->tree_root->node); in btrfs_commit_transaction()
2085 list_add_tail(&root->fs_info->tree_root->dirty_list, in btrfs_commit_transaction()