Lines Matching refs:scrub
678 (!ubi->used.rb_node && !ubi->scrub.rb_node)) {
720 } else if (!ubi->scrub.rb_node) {
722 if (!ubi->scrub.rb_node) {
750 e1 = rb_entry(rb_first(&ubi->scrub), struct ubi_wl_entry, u.rb);
755 self_check_in_wl_tree(ubi, e1, &ubi->scrub);
756 rb_erase(&e1->u.rb, &ubi->scrub);
937 wl_tree_add(e1, &ubi->scrub);
1024 if (!ubi->scrub.rb_node) {
1308 } else if (in_wl_tree(e, &ubi->scrub)) {
1309 self_check_in_wl_tree(ubi, e, &ubi->scrub);
1310 rb_erase(&e->u.rb, &ubi->scrub);
1361 if (e == ubi->move_from || in_wl_tree(e, &ubi->scrub) ||
1395 wl_tree_add(e, &ubi->scrub);
1470 if (in_wl_tree(e, &ubi->scrub))
1573 wl_tree_add(e, &ubi->scrub);
1579 wl_tree_add(e, &ubi->scrub);
1788 ubi->used = ubi->erroneous = ubi->free = ubi->scrub = RB_ROOT;
1852 if (!aeb->scrub) {
1859 wl_tree_add(e, &ubi->scrub);
1940 tree_destroy(ubi, &ubi->scrub);
1975 tree_destroy(ubi, &ubi->scrub);