Lines Matching defs:new_tree
560 struct ocfs2_refcount_tree *new_tree = NULL, *tree = NULL;
598 new_tree = ocfs2_allocate_refcount_tree(osb, first_blkno);
599 if (!new_tree) {
611 ocfs2_set_new_buffer_uptodate(&new_tree->rf_ci, new_bh);
613 ret = ocfs2_journal_access_rb(handle, &new_tree->rf_ci, new_bh,
652 new_tree->rf_generation = le32_to_cpu(rb->rf_generation);
653 ocfs2_init_refcount_tree_lock(osb, new_tree, first_blkno,
654 new_tree->rf_generation);
665 BUG_ON(tree && tree->rf_generation == new_tree->rf_generation);
668 ocfs2_insert_refcount_tree(osb, new_tree);
670 new_tree = NULL;
678 if (new_tree) {
679 ocfs2_metadata_cache_exit(&new_tree->rf_ci);
680 kfree(new_tree);