Searched refs:total_written (Results 1 – 2 of 2) sorted by relevance
214 int err = 0, lnum, offs, total_written; in gluebi_write() local223 total_written = len; in gluebi_write()224 while (total_written) { in gluebi_write()227 if (to_write > total_written) in gluebi_write()228 to_write = total_written; in gluebi_write()236 total_written -= to_write; in gluebi_write()240 *retlen = len - total_written; in gluebi_write()
498 ssize_t total_written = 0; in usb_device_dump() local583 total_written += length; in usb_device_dump()602 return total_written; in usb_device_dump()603 total_written += ret; in usb_device_dump()606 return total_written; in usb_device_dump()613 ssize_t ret, total_written = 0; in usb_device_read() local637 total_written += ret; in usb_device_read()640 return total_written; in usb_device_read()