Lines Matching refs:corrupted
67 * This function adds physical eraseblock @pnum to free, erase, corrupted or
83 dbg_bld("add to corrupted: PEB %d, EC %d", pnum, ec);
243 * o bit 2 is cleared: the older LEB is not corrupted;
244 * o bit 2 is set: the older LEB is corrupted.
250 int len, err, second_is_newer, bitflips = 0, corrupted = 0;
337 corrupted = 1;
353 return second_is_newer | (bitflips << 1) | (corrupted << 2);
751 * corrupted. Set %bitflips flag in order to make this PEB be
816 /* VID header is corrupted */
869 ubi_warn("valid VID header but corrupted EC header at PEB %d",
895 * whether there are too many corrupted PEBs and we should not attach this
908 * Few corrupted PEBs are not a problem and may be just a result of
913 ubi_warn("%d PEBs are corrupted", si->corr_peb_count);
914 printk(KERN_WARNING "corrupted PEBs are:");
920 * If too many PEBs are corrupted, we refuse attaching,
924 ubi_err("too many corrupted PEBs, refusing this device");
934 /* No or just few corrupted PEBs, and all of them had a
963 ubi_msg("corrupted PEBs will be formatted");