Searched refs:free_space_root (Results 1 – 1 of 1) sorted by relevance
1164 struct btrfs_root *free_space_root; in btrfs_create_free_space_tree() local1175 free_space_root = btrfs_create_tree(trans, in btrfs_create_free_space_tree()1177 if (IS_ERR(free_space_root)) { in btrfs_create_free_space_tree()1178 ret = PTR_ERR(free_space_root); in btrfs_create_free_space_tree()1183 ret = btrfs_global_root_insert(free_space_root); in btrfs_create_free_space_tree()1185 btrfs_put_root(free_space_root); in btrfs_create_free_space_tree()1270 struct btrfs_root *free_space_root = btrfs_global_root(fs_info, &key); in btrfs_delete_free_space_tree() local1280 ret = clear_free_space_tree(trans, free_space_root); in btrfs_delete_free_space_tree()1287 ret = btrfs_del_root(trans, &free_space_root->root_key); in btrfs_delete_free_space_tree()1294 btrfs_global_root_delete(free_space_root); in btrfs_delete_free_space_tree()[all …]