Lines Matching refs:free
386 e = find_mean_wl_entry(ubi, &ubi->free); in wl_get_wle()
392 self_check_in_wl_tree(ubi, e, &ubi->free); in wl_get_wle()
398 rb_erase(&e->u.rb, &ubi->free); in wl_get_wle()
673 if (!ubi->free.rb_node ||
686 !ubi->free.rb_node, !ubi->used.rb_node);
700 wl_tree_add(ubi->fm_anchor, &ubi->free);
735 wl_tree_add(e2, &ubi->free);
937 wl_tree_add(e2, &ubi->free);
1023 if (!ubi->used.rb_node || !ubi->free.rb_node)
1034 e2 = find_wl_entry(ubi, &ubi->free, WL_FREE_MAX_DIFF);
1100 wl_tree_add(e, &ubi->free);
1573 } else if (in_wl_tree(e, &ubi->free)) {
1574 rb_erase(&e->u.rb, &ubi->free);
1746 wl_tree_add(e, &ubi->free);
1778 ubi->used = ubi->erroneous = ubi->free = ubi->scrub = RB_ROOT;
1807 list_for_each_entry(aeb, &ai->free, u.list) {
1820 wl_tree_add(e, &ubi->free);
1929 tree_destroy(ubi, &ubi->free);
1964 tree_destroy(ubi, &ubi->free);
2064 e = find_wl_entry(ubi, &ubi->free, WL_FREE_MAX_DIFF);
2065 self_check_in_wl_tree(ubi, e, &ubi->free);
2068 rb_erase(&e->u.rb, &ubi->free);
2086 while (!ubi->free.rb_node && ubi->works_count) {
2116 if (!ubi->free.rb_node) {