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;
744 /* Perform scrubbing */
745 scrubbing = 1;
792 * scrubbing.
796 scrubbing = 1;
833 scrubbing = 1;
873 if (scrubbing)
932 } else if (scrubbing)
1019 * If the ubi->scrub tree is not empty, scrubbing is needed, and the
1040 dbg_wl("schedule scrubbing");
1333 * ubi_wl_scrub_peb - schedule a physical eraseblock for scrubbing.
1338 * needs scrubbing. This function schedules a physical eraseblock for
1339 * scrubbing which is done in background. This function returns zero in case of
1346 ubi_msg(ubi, "schedule PEB %d for scrubbing", pnum);
1389 * Technically scrubbing is the same as wear-leveling, so it is done
1479 * In case of bitflips, the eraseblock is scheduled for scrubbing.
1480 * If scrubbing is forced with @force, the eraseblock is not read,
1481 * but scheduled for scrubbing right away.
1487 * %EAGAIN, bit flips happened but scrubbing is currently not possible
1488 * %EUCLEAN, bit flips happened and PEB is scheduled for scrubbing