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;
650 int err, scrubbing = 0, torture = 0, protect = 0, erroneous = 0; local
864 * put this PEB to the @ubi->erroneous list to prevent
868 ubi_err(ubi, "too many erroneous eraseblocks (%d)",
873 erroneous = 1;
940 else if (erroneous) {
941 wl_tree_add(e1, &ubi->erroneous);
1318 } else if (in_wl_tree(e, &ubi->erroneous)) {
1319 self_check_in_wl_tree(ubi, e, &ubi->erroneous);
1320 rb_erase(&e->u.rb, &ubi->erroneous);
1323 /* Erroneous PEBs should be tortured */
1369 in_wl_tree(e, &ubi->erroneous)) {
1479 else if (in_wl_tree(e, &ubi->erroneous))
1795 ubi->used = ubi->erroneous = ubi->free = ubi->scrub = RB_ROOT;
1980 tree_destroy(ubi, &ubi->erroneous);