Lines Matching refs:tree_root
1078 struct btrfs_root *tree_root = fs_info->tree_root; in update_cowonly_root() local
1089 ret = btrfs_update_root(trans, tree_root, in update_cowonly_root()
1117 eb = btrfs_lock_root_node(fs_info->tree_root); in commit_cowonly_roots()
1118 ret = btrfs_cow_block(trans, fs_info->tree_root, eb, NULL, in commit_cowonly_roots()
1246 err = btrfs_update_root(trans, fs_info->tree_root, in commit_fs_roots()
1398 struct btrfs_root *tree_root = fs_info->tree_root; in create_pending_snapshot() local
1422 pending->error = btrfs_find_free_objectid(tree_root, &objectid); in create_pending_snapshot()
1549 ret = btrfs_insert_root(trans, tree_root, &key, new_root_item); in create_pending_snapshot()
1687 root_item = &fs_info->tree_root->root_item; in update_super_roots()
2230 btrfs_set_root_node(&fs_info->tree_root->root_item, in btrfs_commit_transaction()
2231 fs_info->tree_root->node); in btrfs_commit_transaction()
2232 list_add_tail(&fs_info->tree_root->dirty_list, in btrfs_commit_transaction()