Lines Matching refs:tocopy
4422 int tocopy = c->rbytes > c->rlbytes ? c->rlbytes : c->rbytes; in read_into_chunked_item() local
4423 tocopy = tocopy > unused ? unused : tocopy; in read_into_chunked_item()
4425 memmove(ch->data + ch->used, c->rcurr, tocopy); in read_into_chunked_item()
4427 total += tocopy; in read_into_chunked_item()
4428 c->rlbytes -= tocopy; in read_into_chunked_item()
4429 c->rcurr += tocopy; in read_into_chunked_item()
4430 c->rbytes -= tocopy; in read_into_chunked_item()
4431 ch->used += tocopy; in read_into_chunked_item()
4627 int tocopy = c->rbytes > c->rlbytes ? c->rlbytes : c->rbytes; in drive_machine() local
4629 memmove(c->ritem, c->rcurr, tocopy); in drive_machine()
4631 c->ritem += tocopy; in drive_machine()
4632 c->rlbytes -= tocopy; in drive_machine()
4633 c->rcurr += tocopy; in drive_machine()
4634 c->rbytes -= tocopy; in drive_machine()
4695 int tocopy = c->rbytes > c->sbytes ? c->sbytes : c->rbytes; in drive_machine() local
4696 c->sbytes -= tocopy; in drive_machine()
4697 c->rcurr += tocopy; in drive_machine()
4698 c->rbytes -= tocopy; in drive_machine()