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;
649 int err, scrubbing = 0, torture = 0, protect = 0, erroneous = 0; local
852 * put this PEB to the @ubi->erroneous list to prevent
856 ubi_err(ubi, "too many erroneous eraseblocks (%d)",
861 erroneous = 1;
925 else if (erroneous) {
926 wl_tree_add(e1, &ubi->erroneous);
1282 } else if (in_wl_tree(e, &ubi->erroneous)) {
1283 self_check_in_wl_tree(ubi, e, &ubi->erroneous);
1284 rb_erase(&e->u.rb, &ubi->erroneous);
1287 /* Erroneous PEBs should be tortured */
1333 in_wl_tree(e, &ubi->erroneous)) {
1443 else if (in_wl_tree(e, &ubi->erroneous))
1759 ubi->used = ubi->erroneous = ubi->free = ubi->scrub = RB_ROOT;
1944 tree_destroy(ubi, &ubi->erroneous);