Lines Matching refs:scrub
695 (!ubi->used.rb_node && !ubi->scrub.rb_node)) {
727 } else if (!ubi->scrub.rb_node) {
729 if (!ubi->scrub.rb_node) {
757 e1 = rb_entry(rb_first(&ubi->scrub), struct ubi_wl_entry, u.rb);
762 self_check_in_wl_tree(ubi, e1, &ubi->scrub);
763 rb_erase(&e1->u.rb, &ubi->scrub);
925 wl_tree_add(e1, &ubi->scrub);
996 if (!ubi->scrub.rb_node) {
1246 } else if (in_wl_tree(e, &ubi->scrub)) {
1247 self_check_in_wl_tree(ubi, e, &ubi->scrub);
1248 rb_erase(&e->u.rb, &ubi->scrub);
1299 if (e == ubi->move_from || in_wl_tree(e, &ubi->scrub) ||
1333 wl_tree_add(e, &ubi->scrub);
1535 ubi->used = ubi->erroneous = ubi->free = ubi->scrub = RB_ROOT;
1603 if (!aeb->scrub) {
1610 wl_tree_add(e, &ubi->scrub);
1656 tree_destroy(ubi, &ubi->scrub);
1691 tree_destroy(ubi, &ubi->scrub);