Lines Matching refs:b_count
154 int b_count; /* Missing/Available data on the current buffer */ member
604 if (pc->b_count == bh->b_size) { in idefloppy_input_buffers()
609 pc->b_count = 0; in idefloppy_input_buffers()
618 count = IDEFLOPPY_MIN(bh->b_size - pc->b_count, bcount); in idefloppy_input_buffers()
619 HWIF(drive)->atapi_input_bytes(drive, bh->b_data + pc->b_count, count); in idefloppy_input_buffers()
621 pc->b_count += count; in idefloppy_input_buffers()
632 if (!pc->b_count) { in idefloppy_output_buffers()
638 pc->b_count = bh->b_size; in idefloppy_output_buffers()
648 count = IDEFLOPPY_MIN(pc->b_count, bcount); in idefloppy_output_buffers()
652 pc->b_count -= count; in idefloppy_output_buffers()
1254 pc->b_count = rq->cmd == READ ? 0 : rq->bh->b_size; in idefloppy_create_rw_cmd()