Lines Matching refs:bcnt
391 unsigned int bcnt; in pvr2_ioread_read() local
427 bcnt = cp->sync_key_len - cp->sync_buf_offs; in pvr2_ioread_read()
431 bcnt = cp->c_data_len - cp->c_data_offs; in pvr2_ioread_read()
434 if (!bcnt) break; in pvr2_ioread_read()
437 if (bcnt > cnt) bcnt = cnt; in pvr2_ioread_read()
439 if (copy_to_user(buf,src,bcnt)) { in pvr2_ioread_read()
446 cnt -= bcnt; in pvr2_ioread_read()
447 buf += bcnt; in pvr2_ioread_read()
448 copied_cnt += bcnt; in pvr2_ioread_read()
453 cp->sync_buf_offs += bcnt; in pvr2_ioread_read()
463 cp->c_data_offs += bcnt; in pvr2_ioread_read()