Searched refs:done_tree (Results 1 – 1 of 1) sorted by relevance
561 static int done_already(struct rb_root *done_tree, int lnum) in done_already() argument563 struct rb_node **p = &done_tree->rb_node, *parent = NULL; in done_already()584 rb_insert_color(&dr->rb, done_tree); in done_already()593 static void destroy_done_tree(struct rb_root *done_tree) in destroy_done_tree() argument597 rbtree_postorder_for_each_entry_safe(dr, n, done_tree, rb) in destroy_done_tree()646 struct rb_root done_tree = RB_ROOT; in ubifs_consolidate_log() local669 err = done_already(&done_tree, ref_lnum); in ubifs_consolidate_log()705 destroy_done_tree(&done_tree); in ubifs_consolidate_log()727 destroy_done_tree(&done_tree); in ubifs_consolidate_log()