Lines Matching refs:retlen
153 size_t *retlen, uint8_t *buf) in inftl_read_oob() argument
165 *retlen = ops.oobretlen; in inftl_read_oob()
173 size_t *retlen, uint8_t *buf) in inftl_write_oob() argument
185 *retlen = ops.oobretlen; in inftl_write_oob()
193 size_t *retlen, uint8_t *buf, uint8_t *oob) in inftl_write() argument
206 *retlen = ops.retlen; in inftl_write()
261 size_t retlen; in INFTL_foldchain() local
288 + (block * SECTORSIZE), 16, &retlen, in INFTL_foldchain()
350 (block * SECTORSIZE), SECTORSIZE, &retlen, in INFTL_foldchain()
356 &retlen, movebuf); in INFTL_foldchain()
365 (block * SECTORSIZE), SECTORSIZE, &retlen, in INFTL_foldchain()
484 size_t retlen; in INFTL_findwriteunit() local
501 blockofs, 8, &retlen, (char *)&bci); in INFTL_findwriteunit()
589 + 8, 8, &retlen, (char *)&oob.u); in INFTL_findwriteunit()
611 &retlen, (char *)&oob.u); in INFTL_findwriteunit()
622 SECTORSIZE * 4 + 8, 8, &retlen, (char *)&oob.u); in INFTL_findwriteunit()
648 size_t retlen; in INFTL_trydeletechain() local
674 + (block * SECTORSIZE), 8 , &retlen, in INFTL_trydeletechain()
767 size_t retlen; in INFTL_deleteblock() local
775 blockofs, 8, &retlen, (char *)&bci) < 0) in INFTL_deleteblock()
809 if (inftl_read_oob(mtd, ptr, 8, &retlen, (char *)&bci) < 0) in INFTL_deleteblock()
812 if (inftl_write_oob(mtd, ptr, 8, &retlen, (char *)&bci) < 0) in INFTL_deleteblock()
825 size_t retlen; in inftl_writeblock() local
854 blockofs, SECTORSIZE, &retlen, (char *)buffer, in inftl_writeblock()
877 size_t retlen; in inftl_readblock() local
884 blockofs, 8, &retlen, (char *)&bci) < 0) in inftl_readblock()
920 size_t retlen; in inftl_readblock() local
922 int ret = mtd->read(mtd, ptr, SECTORSIZE, &retlen, buffer); in inftl_readblock()