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

/barrelfish-2018-10-04/tools/usbboot/
H A Daboot.c77 u32 this_chunk= min(to_read, CHUNK_SIZE); local
78 if(usb_read(&usb, read_ptr, this_chunk)) {
82 to_read -= this_chunk;
83 read_ptr += this_chunk;
H A Dusbboot.c229 size_t this_chunk= min(to_send, CHUNK_SIZE); local
232 usb_write(usb, send_ptr, this_chunk);
233 to_send-= this_chunk;
234 send_ptr+= this_chunk;

Completed in 100 milliseconds