Lines Matching refs:tree_root
1221 struct btrfs_root *tree_root = fs_info->tree_root; in update_cowonly_root() local
1232 ret = btrfs_update_root(trans, tree_root, in update_cowonly_root()
1266 eb = btrfs_lock_root_node(fs_info->tree_root); in commit_cowonly_roots()
1267 ret = btrfs_cow_block(trans, fs_info->tree_root, eb, NULL, in commit_cowonly_roots()
1441 ret2 = btrfs_update_root(trans, fs_info->tree_root, in commit_fs_roots()
1606 struct btrfs_root *tree_root = fs_info->tree_root; in create_pending_snapshot() local
1629 pending->error = btrfs_get_free_objectid(tree_root, &objectid); in create_pending_snapshot()
1759 ret = btrfs_insert_root(trans, tree_root, &key, new_root_item); in create_pending_snapshot()
1887 root_item = &fs_info->tree_root->root_item; in update_super_roots()
2391 btrfs_set_root_node(&fs_info->tree_root->root_item, in btrfs_commit_transaction()
2392 fs_info->tree_root->node); in btrfs_commit_transaction()
2393 list_add_tail(&fs_info->tree_root->dirty_list, in btrfs_commit_transaction()