Lines Matching defs:error
146 * returns -2 if error happens
285 dbg("read of block %d at zone %d, failed due to error (%d)",
312 dbg("read of block %d at zone %d, failed due to ECC error",
351 dbg("write to block %d at zone %d, failed with error %d",
483 goto error;
491 error:
871 int error;
877 error = sm_init_zone(ftl, zone_num);
879 if (error)
880 return ERR_PTR(error);
1005 int error = 0, in_cache = 0;
1014 error = PTR_ERR(zone);
1034 error = -EIO;
1042 return error;
1051 int error = 0, zone_num, block, boffset;
1062 error = PTR_ERR(zone);
1069 error = sm_cache_flush(ftl);
1070 if (error)
1081 return error;
1198 dbg("error in mtdblktrans layer");
1262 int error = 0;
1268 error = register_mtd_blktrans(&sm_ftl_ops);
1269 if (error)
1271 return error;