Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/mtd/ubi/
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()
Dmisc.c73 if (mtd_is_eccerr(err)) in ubi_check_volume()
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()
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()
Dvtbl.c408 if (err == UBI_IO_BITFLIPS || mtd_is_eccerr(err)) in process_lvol()
Deba.c697 else if (mtd_is_eccerr(err)) { in ubi_eba_read_leb()
/linux-6.1.9/drivers/mtd/
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()
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()
Dmtdconcat.c82 if (mtd_is_eccerr(err)) { in concat_read()
286 if (mtd_is_eccerr(err)) { in concat_read_oob()
Dsm_ftl.c310 if (mtd_is_eccerr(ret) || in sm_read_sector()
/linux-6.1.9/drivers/mtd/nand/raw/
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()
Ddiskonchip.c801 if (no_ecc_failures && mtd_is_eccerr(ret)) { in doc200x_correct_data()
/linux-6.1.9/include/linux/mtd/
Dmtd.h707 static inline int mtd_is_eccerr(int err) { in mtd_is_eccerr() function
712 return mtd_is_bitflip(err) || mtd_is_eccerr(err); in mtd_is_bitflip_or_eccerr()
/linux-6.1.9/drivers/mtd/nand/onenand/
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-6.1.9/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c2247 if (mtd_is_eccerr(err)) { in brcmnand_read()