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