Lines Matching defs:error
146 * returns -2 if error happens
286 dbg("read of block %d at zone %d, failed due to error (%d)",
313 dbg("read of block %d at zone %d, failed due to ECC error",
352 dbg("write to block %d at zone %d, failed with error %d",
487 goto error;
495 error:
883 int error;
889 error = sm_init_zone(ftl, zone_num);
891 if (error)
892 return ERR_PTR(error);
1018 int error = 0, in_cache = 0;
1027 error = PTR_ERR(zone);
1047 error = -EIO;
1055 return error;
1064 int error = 0, zone_num, block, boffset;
1075 error = PTR_ERR(zone);
1082 error = sm_cache_flush(ftl);
1083 if (error)
1094 return error;
1211 dbg("error in mtdblktrans layer");
1275 int error = 0;
1281 error = register_mtd_blktrans(&sm_ftl_ops);
1282 if (error)
1284 return error;