Searched refs:to_read (Results 1 - 2 of 2) sorted by relevance

/barrelfish-2018-10-04/tools/usbboot/
H A Daboot.c72 u32 to_read= len; local
75 while(to_read > 0) {
77 u32 this_chunk= min(to_read, CHUNK_SIZE);
82 to_read -= this_chunk;
H A Dusbboot.c276 size_t to_read= elfsize; local
278 size_t bytes_read= read(fd, elfdata, to_read);
280 assert(bytes_read <= to_read);
281 to_read -= bytes_read;
282 } while(to_read > 0);

Completed in 32 milliseconds