Searched refs:done_tree (Results 1 – 1 of 1) sorted by relevance
543 static int done_already(struct rb_root *done_tree, int lnum) in done_already() argument545 struct rb_node **p = &done_tree->rb_node, *parent = NULL; in done_already()566 rb_insert_color(&dr->rb, done_tree); in done_already()575 static void destroy_done_tree(struct rb_root *done_tree) in destroy_done_tree() argument579 rbtree_postorder_for_each_entry_safe(dr, n, done_tree, rb) in destroy_done_tree()628 struct rb_root done_tree = RB_ROOT; in ubifs_consolidate_log() local651 err = done_already(&done_tree, ref_lnum); in ubifs_consolidate_log()687 destroy_done_tree(&done_tree); in ubifs_consolidate_log()709 destroy_done_tree(&done_tree); in ubifs_consolidate_log()