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;
662 int err, scrubbing = 0, torture = 0, protect = 0, erroneous = 0; local
869 * put this PEB to the @ubi->erroneous list to prevent
873 ubi_err(ubi, "too many erroneous eraseblocks (%d)",
878 erroneous = 1;
945 else if (erroneous) {
946 wl_tree_add(e1, &ubi->erroneous);
1323 } else if (in_wl_tree(e, &ubi->erroneous)) {
1324 self_check_in_wl_tree(ubi, e, &ubi->erroneous);
1325 rb_erase(&e->u.rb, &ubi->erroneous);
1328 /* Erroneous PEBs should be tortured */
1374 in_wl_tree(e, &ubi->erroneous)) {
1484 else if (in_wl_tree(e, &ubi->erroneous))
1800 ubi->used = ubi->erroneous = ubi->free = ubi->scrub = RB_ROOT;
1985 tree_destroy(ubi, &ubi->erroneous);