Lines Matching defs:scrubbing
33 * This sub-system is also responsible for scrubbing. If a bit-flip is detected
69 * o scrubbing is needed (@wl->scrub tree).
650 int err, scrubbing = 0, torture = 0, protect = 0, erroneous = 0;
748 /* Perform scrubbing */
749 scrubbing = 1;
796 * scrubbing.
800 scrubbing = 1;
837 scrubbing = 1;
877 if (scrubbing)
936 } else if (scrubbing)
1021 * If the ubi->scrub tree is not empty, scrubbing is needed, and the
1050 dbg_wl("schedule scrubbing");
1343 * ubi_wl_scrub_peb - schedule a physical eraseblock for scrubbing.
1348 * needs scrubbing. This function schedules a physical eraseblock for
1349 * scrubbing which is done in background. This function returns zero in case of
1356 ubi_msg(ubi, "schedule PEB %d for scrubbing", pnum);
1399 * Technically scrubbing is the same as wear-leveling, so it is done
1489 * In case of bitflips, the eraseblock is scheduled for scrubbing.
1490 * If scrubbing is forced with @force, the eraseblock is not read,
1491 * but scheduled for scrubbing right away.
1497 * %EAGAIN, bit flips happened but scrubbing is currently not possible
1498 * %EUCLEAN, bit flips happened and PEB is scheduled for scrubbing