Lines Matching refs:retlen
137 size_t *retlen, uint8_t *buf) in inftl_read_oob() argument
149 *retlen = ops.oobretlen; in inftl_read_oob()
157 size_t *retlen, uint8_t *buf) in inftl_write_oob() argument
169 *retlen = ops.oobretlen; in inftl_write_oob()
177 size_t *retlen, uint8_t *buf, uint8_t *oob) in inftl_write() argument
190 *retlen = ops.retlen; in inftl_write()
245 size_t retlen; in INFTL_foldchain() local
273 + (block * SECTORSIZE), 16, &retlen, in INFTL_foldchain()
336 &retlen, in INFTL_foldchain()
342 &retlen, in INFTL_foldchain()
351 (block * SECTORSIZE), SECTORSIZE, &retlen, in INFTL_foldchain()
469 size_t retlen; in INFTL_findwriteunit() local
486 blockofs, 8, &retlen, (char *)&bci); in INFTL_findwriteunit()
574 + 8, 8, &retlen, (char *)&oob.u); in INFTL_findwriteunit()
596 &retlen, (char *)&oob.u); in INFTL_findwriteunit()
607 SECTORSIZE * 4 + 8, 8, &retlen, (char *)&oob.u); in INFTL_findwriteunit()
633 size_t retlen; in INFTL_trydeletechain() local
659 + (block * SECTORSIZE), 8 , &retlen, in INFTL_trydeletechain()
752 size_t retlen; in INFTL_deleteblock() local
760 blockofs, 8, &retlen, (char *)&bci) < 0) in INFTL_deleteblock()
794 if (inftl_read_oob(mtd, ptr, 8, &retlen, (char *)&bci) < 0) in INFTL_deleteblock()
797 if (inftl_write_oob(mtd, ptr, 8, &retlen, (char *)&bci) < 0) in INFTL_deleteblock()
810 size_t retlen; in inftl_writeblock() local
839 blockofs, SECTORSIZE, &retlen, (char *)buffer, in inftl_writeblock()
862 size_t retlen; in inftl_readblock() local
869 blockofs, 8, &retlen, (char *)&bci) < 0) in inftl_readblock()
905 size_t retlen; in inftl_readblock() local
907 int ret = mtd_read(mtd, ptr, SECTORSIZE, &retlen, buffer); in inftl_readblock()