Lines Matching refs:tree_root
1146 struct btrfs_root *tree_root = fs_info->tree_root; in update_cowonly_root() local
1157 ret = btrfs_update_root(trans, tree_root, in update_cowonly_root()
1185 eb = btrfs_lock_root_node(fs_info->tree_root); in commit_cowonly_roots()
1186 ret = btrfs_cow_block(trans, fs_info->tree_root, eb, NULL, in commit_cowonly_roots()
1316 err = btrfs_update_root(trans, fs_info->tree_root, in commit_fs_roots()
1468 struct btrfs_root *tree_root = fs_info->tree_root; in create_pending_snapshot() local
1491 pending->error = btrfs_find_free_objectid(tree_root, &objectid); in create_pending_snapshot()
1618 ret = btrfs_insert_root(trans, tree_root, &key, new_root_item); in create_pending_snapshot()
1758 root_item = &fs_info->tree_root->root_item; in update_super_roots()
2300 btrfs_set_root_node(&fs_info->tree_root->root_item, in btrfs_commit_transaction()
2301 fs_info->tree_root->node); in btrfs_commit_transaction()
2302 list_add_tail(&fs_info->tree_root->dirty_list, in btrfs_commit_transaction()