Home
last modified time | relevance | path

Searched refs:mtd_is_eccerr (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/mtd/ubi/
A Dio.c156 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()
A Dmisc.c73 if (mtd_is_eccerr(err)) in ubi_check_volume()
A Dkapi.c439 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()
A Dattach.c514 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()
A Dvtbl.c408 if (err == UBI_IO_BITFLIPS || mtd_is_eccerr(err)) in process_lvol()
A Deba.c697 else if (mtd_is_eccerr(err)) { in ubi_eba_read_leb()
/linux/drivers/mtd/
A Dmtdswap.c396 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()
A Dmtdpstore.c303 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()
A Dmtdconcat.c82 if (mtd_is_eccerr(err)) { in concat_read()
286 if (mtd_is_eccerr(err)) { in concat_read_oob()
A Dsm_ftl.c310 if (mtd_is_eccerr(ret) || in sm_read_sector()
/linux/drivers/mtd/nand/raw/
A Dnand_bbt.c195 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()
A Ddiskonchip.c801 if (no_ecc_failures && mtd_is_eccerr(ret)) { in doc200x_correct_data()
/linux/include/linux/mtd/
A Dmtd.h704 static inline int mtd_is_eccerr(int err) { in mtd_is_eccerr() function
709 return mtd_is_bitflip(err) || mtd_is_eccerr(err); in mtd_is_bitflip_or_eccerr()
/linux/drivers/mtd/nand/onenand/
A Donenand_base.c1085 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()
/linux/drivers/mtd/nand/raw/brcmnand/
A Dbrcmnand.c2218 if (mtd_is_eccerr(err)) { in brcmnand_read()

Completed in 46 milliseconds