Lines Matching refs:lencopy
315 int linesdone, currlinedone, offset, lencopy, remain; in au0828_copy_video() local
337 lencopy = bytesperline - currlinedone; in au0828_copy_video()
338 lencopy = lencopy > remain ? remain : lencopy; in au0828_copy_video()
340 if ((char *)startwrite + lencopy > (char *)outp + buf->length) { in au0828_copy_video()
342 ((char *)startwrite + lencopy) - in au0828_copy_video()
345 lencopy = remain; in au0828_copy_video()
347 if (lencopy <= 0) in au0828_copy_video()
349 memcpy(startwrite, startread, lencopy); in au0828_copy_video()
351 remain -= lencopy; in au0828_copy_video()
354 startwrite += lencopy + bytesperline; in au0828_copy_video()
355 startread += lencopy; in au0828_copy_video()
357 lencopy = remain; in au0828_copy_video()
359 lencopy = bytesperline; in au0828_copy_video()
361 if ((char *)startwrite + lencopy > (char *)outp + in au0828_copy_video()
364 ((char *)startwrite + lencopy) - in au0828_copy_video()
366 lencopy = remain = (char *)outp + buf->length - in au0828_copy_video()
369 if (lencopy <= 0) in au0828_copy_video()
372 memcpy(startwrite, startread, lencopy); in au0828_copy_video()
374 remain -= lencopy; in au0828_copy_video()
501 unsigned int remain, lencopy; in au0828_isoc_copy() local
606 lencopy = len; in au0828_isoc_copy()
608 lencopy = remain; in au0828_isoc_copy()
614 len -= lencopy; in au0828_isoc_copy()
615 p += lencopy; in au0828_isoc_copy()
616 dev->vbi_read += lencopy; in au0828_isoc_copy()