Lines Matching refs:read_err
709 int err, read_err; in ubi_io_read_ec_hdr() local
715 read_err = ubi_io_read(ubi, ec_hdr, pnum, 0, UBI_EC_HDR_SIZE); in ubi_io_read_ec_hdr()
716 if (read_err) { in ubi_io_read_ec_hdr()
717 if (read_err != UBI_IO_BITFLIPS && !mtd_is_eccerr(read_err)) in ubi_io_read_ec_hdr()
718 return read_err; in ubi_io_read_ec_hdr()
733 if (mtd_is_eccerr(read_err)) in ubi_io_read_ec_hdr()
748 if (!read_err) in ubi_io_read_ec_hdr()
780 if (!read_err) in ubi_io_read_ec_hdr()
797 if (read_err) in ubi_io_read_ec_hdr()
1013 int err, read_err; in ubi_io_read_vid_hdr() local
1021 read_err = ubi_io_read(ubi, p, pnum, ubi->vid_hdr_aloffset, in ubi_io_read_vid_hdr()
1023 if (read_err && read_err != UBI_IO_BITFLIPS && !mtd_is_eccerr(read_err)) in ubi_io_read_vid_hdr()
1024 return read_err; in ubi_io_read_vid_hdr()
1028 if (mtd_is_eccerr(read_err)) in ubi_io_read_vid_hdr()
1037 if (!read_err) in ubi_io_read_vid_hdr()
1064 if (!read_err) in ubi_io_read_vid_hdr()
1076 if (read_err) in ubi_io_read_vid_hdr()