Lines Matching defs:torture
433 * @torture: if the physical eraseblock has to be tortured
439 int torture)
455 err = ubi_io_sync_erase(ubi, e->pnum, torture);
577 * @torture: if the physical eraseblock has to be tortured
584 int vol_id, int lnum, int torture, bool nested)
590 dbg_wl("schedule erasure of PEB %d, EC %d, torture %d",
591 e->pnum, e->ec, torture);
601 wl_wrk->torture = torture;
617 * @torture: if the physical eraseblock has to be tortured
621 int vol_id, int lnum, int torture)
630 wl_wrk.torture = torture;
650 int err, scrubbing = 0, torture = 0, protect = 0, erroneous = 0;
840 * Target PEB had bit-flips or write error - torture it.
842 torture = 1;
950 err = do_sync_erase(ubi, e2, vol_id, lnum, torture);
1071 * This function erases a physical eraseblock and perform torture testing if
1087 err = sync_erase(ubi, e, wl_wrk->torture);
1231 * @torture: if this physical eraseblock has to be tortured
1234 * free physical eraseblocks. The @torture flag has to be set if an I/O error
1239 int pnum, int torture)
1307 torture = 1;
1321 err = schedule_erase(ubi, e, vol_id, lnum, torture, false);