Lines Matching refs:nr_sectors
1060 for (i = rq->nr_sectors; i > 0;) { in cdrom_read_intr()
1133 if (rq->current_nr_sectors == 0 && rq->nr_sectors) in cdrom_read_intr()
1153 --rq->nr_sectors; in cdrom_read_intr()
1181 while (rq->nr_sectors > 0 && in cdrom_read_from_buffer()
1193 --rq->nr_sectors; in cdrom_read_from_buffer()
1199 if (rq->nr_sectors == 0) { in cdrom_read_from_buffer()
1236 nsect = rq->nr_sectors; in cdrom_start_read_continuation()
1354 rq->nr_sectors += nxt->nr_sectors; in cdrom_merge_requests()
1355 rq->hard_nr_sectors += nxt->nr_sectors; in cdrom_merge_requests()
1383 if (rq->sector + rq->nr_sectors != nxt->sector) in cdrom_attempt_remerge()
1385 else if (rq->nr_sectors + nxt->nr_sectors > SECTORS_MAX) in cdrom_attempt_remerge()
1402 rq->nr_sectors += n; in restore_request()
1406 rq->hard_nr_sectors = rq->nr_sectors; in restore_request()
1442 (rq->nr_sectors % SECTORS_PER_FRAME == 0)) in cdrom_start_read()
1716 for (i = rq->nr_sectors; i > 0;) { in cdrom_write_intr()
1771 --rq->nr_sectors; in cdrom_write_intr()
1781 if (rq->current_nr_sectors == 0 && rq->nr_sectors) in cdrom_write_intr()
1796 nframes = rq->nr_sectors >> 2; in cdrom_start_write_cont()
1823 if ((rq->nr_sectors & 3) || (rq->sector & 3)) { in cdrom_start_write()