Lines Matching defs:retval
43 int retval = 0;
80 retval = mtd->write_oob(mtd, addr, &ops);
84 retval =
88 retval =
94 if (retval == 0)
108 int retval = 0;
136 retval = mtd->read(mtd, addr, dev->param.total_bytes_per_chunk,
145 retval = mtd->read_oob(mtd, addr, &ops);
150 retval = mtd->read_ecc(mtd, addr, dev->data_bytes_per_chunk,
155 retval =
159 retval =
182 if (tags && retval == -EBADMSG && tags->ecc_result == YAFFS_ECC_RESULT_NO_ERROR) {
186 if(tags && retval == -EUCLEAN && tags->ecc_result == YAFFS_ECC_RESULT_NO_ERROR) {
190 if (retval == 0)
199 int retval;
203 retval =
208 if (retval == 0)
219 int retval;
223 retval =
228 if (retval) {
252 if (retval == 0)