Lines Matching refs:tree_root
1295 struct btrfs_root *tree_root = fs_info->tree_root; in update_cowonly_root() local
1306 ret = btrfs_update_root(trans, tree_root, in update_cowonly_root()
1339 eb = btrfs_lock_root_node(fs_info->tree_root); in commit_cowonly_roots()
1340 ret = btrfs_cow_block(trans, fs_info->tree_root, eb, NULL, in commit_cowonly_roots()
1515 ret2 = btrfs_update_root(trans, fs_info->tree_root, in commit_fs_roots()
1639 struct btrfs_root *tree_root = fs_info->tree_root; in create_pending_snapshot() local
1676 pending->error = btrfs_get_free_objectid(tree_root, &objectid); in create_pending_snapshot()
1814 ret = btrfs_insert_root(trans, tree_root, &key, new_root_item); in create_pending_snapshot()
1946 root_item = &fs_info->tree_root->root_item; in update_super_roots()
2477 btrfs_set_root_node(&fs_info->tree_root->root_item, in btrfs_commit_transaction()
2478 fs_info->tree_root->node); in btrfs_commit_transaction()
2479 list_add_tail(&fs_info->tree_root->dirty_list, in btrfs_commit_transaction()