Lines Matching refs:retlen
154 size_t retlen; in scan_header() local
204 &retlen, (u_char*)part->header_cache); in scan_header()
206 if (!rc && retlen != part->header_size) in scan_header()
244 size_t retlen; in rfd_ftl_readsect() local
253 &retlen, (u_char*)buf); in rfd_ftl_readsect()
254 if (!rc && retlen != SECTOR_SIZE) in rfd_ftl_readsect()
273 size_t retlen; in erase_callback() local
307 part->blocks[i].offset, sizeof(magic), &retlen, in erase_callback()
310 if (!rc && retlen != sizeof(magic)) in erase_callback()
361 size_t retlen; in move_block_contents() local
376 &retlen, (u_char*)map); in move_block_contents()
378 if (!rc && retlen != part->header_size) in move_block_contents()
416 SECTOR_SIZE, &retlen, sector_data); in move_block_contents()
418 if (!rc && retlen != SECTOR_SIZE) in move_block_contents()
546 size_t retlen; in find_writable_block() local
566 part->header_size, &retlen, (u_char*)part->header_cache); in find_writable_block()
568 if (!rc && retlen != part->header_size) in find_writable_block()
588 size_t retlen; in mark_sector_deleted() local
598 sizeof(del), &retlen, (u_char*)&del); in mark_sector_deleted()
600 if (!rc && retlen != sizeof(del)) in mark_sector_deleted()
648 size_t retlen; in do_writesect() local
671 addr, SECTOR_SIZE, &retlen, (u_char*)buf); in do_writesect()
673 if (!rc && retlen != SECTOR_SIZE) in do_writesect()
691 sizeof(entry), &retlen, (u_char*)&entry); in do_writesect()
693 if (!rc && retlen != sizeof(entry)) in do_writesect()