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