Lines Matching refs:len_to_copy
292 int len_to_copy;
361 len_to_copy = MIN(cam_sglist[i].ds_len - cam_watermark,
381 __func__, len_to_copy));
384 bcopy(ctl_ptr, cam_ptr, len_to_copy);
387 __func__, len_to_copy));
390 bcopy(cam_ptr, ctl_ptr, len_to_copy);
393 io->scsiio.ext_data_filled += len_to_copy;
394 io->scsiio.kern_data_resid -= len_to_copy;
396 cam_watermark += len_to_copy;
402 ctl_watermark += len_to_copy;