Lines Matching refs:retlen
70 size_t retlen; in erase_write() local
104 ret = mtd_write(mtd, pos, len, &retlen, buf); in erase_write()
107 if (retlen != len) in erase_write()
147 size_t retlen; in do_cached_write() local
154 return mtd_write(mtd, pos, len, &retlen, buf); in do_cached_write()
187 &retlen, mtdblk->cache_data); in do_cached_write()
190 if (retlen != sect_size) in do_cached_write()
217 size_t retlen; in do_cached_read() local
224 return mtd_read(mtd, pos, len, &retlen, buf); in do_cached_read()
243 ret = mtd_read(mtd, pos, size, &retlen, buf); in do_cached_read()
246 if (retlen != size) in do_cached_read()