Searched refs:write_total (Results 1 – 1 of 1) sorted by relevance
798 size_t write_total; /* total size to actually write - excluding in flash_write_buf() local816 write_total = blocklen; in flash_write_buf()835 write_total = ((block_seek + count + blocklen - 1) / in flash_write_buf()844 if (write_total > count) { in flash_write_buf()853 rc = flash_read_buf(dev, fd, data, write_total, erase_offset); in flash_write_buf()854 if (write_total != rc) in flash_write_buf()861 if (block_seek + count != write_total) { in flash_write_buf()866 (unsigned long) write_total - 1); in flash_write_buf()893 while (processed < write_total) { in flash_write_buf()947 if (write_total > count) in flash_write_buf()