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
876 * put this PEB to the @ubi->erroneous list to prevent
880 ubi_err(ubi, "too many erroneous eraseblocks (%d)",
885 erroneous = 1;
952 else if (erroneous) {
953 wl_tree_add(e1, &ubi->erroneous);
1330 } else if (in_wl_tree(e, &ubi->erroneous)) {
1331 self_check_in_wl_tree(ubi, e, &ubi->erroneous);
1332 rb_erase(&e->u.rb, &ubi->erroneous);
1335 /* Erroneous PEBs should be tortured */
1381 in_wl_tree(e, &ubi->erroneous)) {
1491 else if (in_wl_tree(e, &ubi->erroneous))
1807 ubi->used = ubi->erroneous = ubi->free = ubi->scrub = RB_ROOT;
1992 tree_destroy(ubi, &ubi->erroneous);