Lines Matching refs:retlen
98 size_t retlen; in mtdoops_inc_counter() local
110 &retlen, (u_char *) &count); in mtdoops_inc_counter()
111 if ((retlen != 4) || ((ret < 0) && (ret != -EUCLEAN))) { in mtdoops_inc_counter()
114 retlen, ret); in mtdoops_inc_counter()
192 size_t retlen; in mtdoops_write() local
201 OOPS_PAGE_SIZE, &retlen, cxt->oops_buf); in mtdoops_write()
204 OOPS_PAGE_SIZE, &retlen, cxt->oops_buf); in mtdoops_write()
208 if ((retlen != OOPS_PAGE_SIZE) || (ret < 0)) in mtdoops_write()
210 cxt->nextpage * OOPS_PAGE_SIZE, retlen, OOPS_PAGE_SIZE, ret); in mtdoops_write()
229 size_t retlen; in find_next_position() local
232 ret = mtd->read(mtd, page * OOPS_PAGE_SIZE, 8, &retlen, (u_char *) &count[0]); in find_next_position()
233 if ((retlen != 8) || ((ret < 0) && (ret != -EUCLEAN))) { in find_next_position()
235 ", err %d.\n", page * OOPS_PAGE_SIZE, retlen, ret); in find_next_position()