Lines Matching full:erroneous
39 * used eraseblocks are kept in @wl->used, @wl->erroneous, or @wl->scrub
66 * o the WL movement is disallowed (@wl->erroneous) because the PEB is
67 * erroneous - e.g., there was a read error;
673 int err, scrubbing = 0, torture = 0, protect = 0, erroneous = 0; local
850 * put this PEB to the @ubi->erroneous list to prevent
854 ubi_err(ubi, "too many erroneous eraseblocks (%d)",
858 erroneous = 1;
921 else if (erroneous) {
922 wl_tree_add(e1, &ubi->erroneous);
1249 } else if (in_wl_tree(e, &ubi->erroneous)) {
1250 self_check_in_wl_tree(ubi, e, &ubi->erroneous);
1251 rb_erase(&e->u.rb, &ubi->erroneous);
1254 /* Erroneous PEBs should be tortured */
1300 in_wl_tree(e, &ubi->erroneous)) {
1535 ubi->used = ubi->erroneous = ubi->free = ubi->scrub = RB_ROOT;
1689 tree_destroy(ubi, &ubi->erroneous);