Lines Matching refs:retlen
56 size_t retlen; in find_boot_record() local
79 SECTORSIZE, &retlen, buf); in find_boot_record()
82 if (retlen != SECTORSIZE) { in find_boot_record()
98 if (retlen < 6 || memcmp(buf, "BNAND", 6)) { in find_boot_record()
105 SECTORSIZE + 8, 8, &retlen, in find_boot_record()
123 SECTORSIZE, &retlen, buf); in find_boot_record()
124 if (retlen != SECTORSIZE) { in find_boot_record()
350 size_t retlen; in check_free_sectors() local
354 if (mtd->read(mtd, address, SECTORSIZE, &retlen, buf)) in check_free_sectors()
361 &retlen, &buf[SECTORSIZE]) < 0) in check_free_sectors()
383 size_t retlen; in INFTL_formatblock() local
430 if (inftl_write_oob(mtd, instr->addr + 8, 8, &retlen, (char *)&uci) < 0) in INFTL_formatblock()
555 size_t retlen; in INFTL_mount() local
608 8, &retlen, (char *)&h0) < 0 || in INFTL_mount()
610 2 * SECTORSIZE + 8, 8, &retlen, in INFTL_mount()