Searched refs:mtd_is_eccerr (Results 1 – 15 of 15) sorted by relevance
156 const char *errstr = mtd_is_eccerr(err) ? " (ECC error)" : ""; in ubi_io_read()189 if (read != len && mtd_is_eccerr(err)) { in ubi_io_read()416 if (err == UBI_IO_BITFLIPS || mtd_is_eccerr(err)) { in torture_peb()705 if (read_err != UBI_IO_BITFLIPS && !mtd_is_eccerr(read_err)) in ubi_io_read_ec_hdr()721 if (mtd_is_eccerr(read_err)) in ubi_io_read_ec_hdr()979 if (read_err && read_err != UBI_IO_BITFLIPS && !mtd_is_eccerr(read_err)) in ubi_io_read_vid_hdr()984 if (mtd_is_eccerr(read_err)) in ubi_io_read_vid_hdr()1167 if (err && err != UBI_IO_BITFLIPS && !mtd_is_eccerr(err)) in self_check_peb_ec_hdr()1257 if (err && err != UBI_IO_BITFLIPS && !mtd_is_eccerr(err)) in self_check_peb_vid_hdr()
73 if (mtd_is_eccerr(err)) in ubi_check_volume()
439 if (err && mtd_is_eccerr(err) && vol->vol_type == UBI_STATIC_VOLUME) { in ubi_leb_read()479 if (err && mtd_is_eccerr(err) && vol->vol_type == UBI_STATIC_VOLUME) { in ubi_leb_read_sg()
514 if (err && err != UBI_IO_BITFLIPS && !mtd_is_eccerr(err)) in ubi_compare_lebs()882 if (err == UBI_IO_BITFLIPS || mtd_is_eccerr(err)) { in check_corruption()1575 if (err > 0 || mtd_is_eccerr(err)) { in ubi_attach()
408 if (err == UBI_IO_BITFLIPS || mtd_is_eccerr(err)) in process_lvol()
697 else if (mtd_is_eccerr(err)) { in ubi_eba_read_leb()
396 if (ret == -EIO || mtd_is_eccerr(ret)) in mtdswap_write_marker()582 } while (ret == -EIO || mtd_is_eccerr(ret)); in mtdswap_map_free_block()632 if (ret == -EIO || mtd_is_eccerr(ret)) { in mtdswap_write_block()644 if (ret == -EIO || mtd_is_eccerr(ret)) { in mtdswap_write_block()969 else if (ret != -EIO && !mtd_is_eccerr(ret)) in mtdswap_gc()
303 return ret < 0 && !mtd_is_bitflip(ret) && !mtd_is_eccerr(ret); in mtdpstore_is_io_error()339 if (mtd_is_eccerr(ret)) { in mtdpstore_read()
82 if (mtd_is_eccerr(err)) { in concat_read()286 if (mtd_is_eccerr(err)) { in concat_read_oob()
310 if (mtd_is_eccerr(ret) || in sm_read_sector()
195 if (mtd_is_eccerr(res)) { in read_bbt()332 else if (mtd_is_eccerr(res) || !ret) in scan_read_oob()1020 if (mtd_is_eccerr(res)) { in check_create()1031 if (mtd_is_eccerr(res2)) { in check_create()
801 if (no_ecc_failures && mtd_is_eccerr(ret)) { in doc200x_correct_data()
707 static inline int mtd_is_eccerr(int err) { in mtd_is_eccerr() function712 return mtd_is_bitflip(err) || mtd_is_eccerr(err); in mtd_is_bitflip_or_eccerr()
1085 if (!mtd_is_eccerr(status) && status != ONENAND_BBT_READ_ECC_ERROR) in onenand_recover_lsb()1161 if (mtd_is_eccerr(ret)) in onenand_mlc_read_ops_nolock()1254 if (mtd_is_eccerr(ret)) in onenand_read_ops_nolock()1314 if (mtd_is_eccerr(ret)) in onenand_read_ops_nolock()1394 if (ret && !mtd_is_eccerr(ret)) { in onenand_read_oob_nolock()
2247 if (mtd_is_eccerr(err)) { in brcmnand_read()