Searched refs:len_to_copy (Results 1 – 1 of 1) sorted by relevance
2821 int len_to_copy; in usbvc_read_buf() local2844 len_to_copy = min(bp->b_bcount, buf_residue); in usbvc_read_buf()2846 bcopy(buf->data + buf->len_read, bp->b_un.b_addr, len_to_copy); in usbvc_read_buf()2848 buf->len_read += len_to_copy; in usbvc_read_buf()2849 bp->b_resid = bp->b_bcount - len_to_copy; in usbvc_read_buf()2851 if (len_to_copy == buf_residue) { in usbvc_read_buf()