Lines Matching defs:new_tree
562 struct ocfs2_refcount_tree *new_tree = NULL, *tree = NULL;
600 new_tree = ocfs2_allocate_refcount_tree(osb, first_blkno);
601 if (!new_tree) {
613 ocfs2_set_new_buffer_uptodate(&new_tree->rf_ci, new_bh);
615 ret = ocfs2_journal_access_rb(handle, &new_tree->rf_ci, new_bh,
654 new_tree->rf_generation = le32_to_cpu(rb->rf_generation);
655 ocfs2_init_refcount_tree_lock(osb, new_tree, first_blkno,
656 new_tree->rf_generation);
667 BUG_ON(tree && tree->rf_generation == new_tree->rf_generation);
670 ocfs2_insert_refcount_tree(osb, new_tree);
672 new_tree = NULL;
680 if (new_tree) {
681 ocfs2_metadata_cache_exit(&new_tree->rf_ci);
682 kfree(new_tree);