Lines Matching refs:bytesused
196 if (mdl->readpos != mdl->bytesused) in cx18_get_mdl()
251 buf->bytesused = cx->vbi.sliced_mpeg_size[idx]; in cx18_setup_sliced_vbi_mdl()
255 mdl->bytesused = cx->vbi.sliced_mpeg_size[idx]; in cx18_setup_sliced_vbi_mdl()
263 size_t len = buf->bytesused - buf->readpos; in cx18_copy_buf_to_user()
306 if ((char *)q + 15 >= buf->buf + buf->bytesused || in cx18_copy_buf_to_user()
380 mdl->readpos = mdl->bytesused; in cx18_copy_mdl_to_user()
386 if (mdl->curr_buf->readpos >= mdl->curr_buf->bytesused) in cx18_copy_mdl_to_user()
398 mdl->curr_buf->readpos < mdl->curr_buf->bytesused || in cx18_copy_mdl_to_user()
399 mdl->readpos >= mdl->bytesused) /* MDL buffers drained */ in cx18_copy_mdl_to_user()
449 if (mdl->readpos == mdl->bytesused) in cx18_read()
453 } else if (mdl->readpos == mdl->bytesused) { in cx18_read()
458 cx->vbi_data_inserted += mdl->bytesused; in cx18_read()