/linux-2.4.37.9/drivers/ide/ |
D | ide-taskfile.c | 66 (((rq)->nr_sectors - (rq)->current_nr_sectors) * SECTOR_SIZE) 611 rq->current_nr_sectors++; in task_in_intr() 631 rq->current_nr_sectors++; in task_in_intr() 634 if (!rq->current_nr_sectors) in task_in_intr() 638 if (--rq->current_nr_sectors <= 0) in task_in_intr() 645 pBuf, (int) rq->current_nr_sectors, stat); in task_in_intr() 654 if (--rq->current_nr_sectors <= 0) in task_in_intr() 684 rq->current_nr_sectors += drive->mult_count; in task_mulin_intr() 702 nsect = rq->current_nr_sectors; in task_mulin_intr() 708 pBuf, nsect, msect, rq->current_nr_sectors); in task_mulin_intr() [all …]
|
D | ide-cd.c | 687 if (blk_fs_request(rq) && !rq->current_nr_sectors) in cdrom_end_request() 1061 i -= rq->current_nr_sectors; in cdrom_read_intr() 1080 if (rq->current_nr_sectors > 0) { in cdrom_read_intr() 1082 drive->name, rq->current_nr_sectors); in cdrom_read_intr() 1114 nskip = MIN ((int)(rq->current_nr_sectors - (rq->bh->b_size >> SECTOR_BITS)), in cdrom_read_intr() 1122 --rq->current_nr_sectors; in cdrom_read_intr() 1133 if (rq->current_nr_sectors == 0 && rq->nr_sectors) in cdrom_read_intr() 1138 if (rq->current_nr_sectors == 0) { in cdrom_read_intr() 1146 rq->current_nr_sectors); in cdrom_read_intr() 1154 --rq->current_nr_sectors; in cdrom_read_intr() [all …]
|
D | ide-disk.c | 172 if ((nsect = rq->current_nr_sectors) > msect) in read_intr() 190 if (((long)(rq->current_nr_sectors -= nsect)) <= 0) in read_intr() 231 --rq->current_nr_sectors; in write_intr() 232 if (((long)rq->current_nr_sectors) <= 0) in write_intr() 273 int nsect = rq->current_nr_sectors; in ide_multwrite() 283 rq->current_nr_sectors -= nsect; in ide_multwrite() 286 if (!rq->current_nr_sectors) { in ide_multwrite() 294 rq->current_nr_sectors = bh->b_size >> 9; in ide_multwrite() 295 rq->hard_cur_sectors = rq->current_nr_sectors; in ide_multwrite() 343 i -= rq->current_nr_sectors; in multwrite_intr()
|
D | ide-tape.c | 1949 rq->current_nr_sectors = rq->nr_sectors; in idetape_end_request() 2659 rq->current_nr_sectors -= blocks; in idetape_rw_callback() 2801 rq->sector, rq->nr_sectors, rq->current_nr_sectors); in idetape_do_request() 2933 idetape_create_read_cmd(tape, pc, rq->current_nr_sectors, rq->bh); in idetape_do_request() 2950 idetape_create_write_cmd(tape, pc, rq->current_nr_sectors, rq->bh); in idetape_do_request() 2955 idetape_create_read_buffer_cmd(tape, pc, rq->current_nr_sectors, rq->bh); in idetape_do_request() 3562 cnt += rq_ptr->nr_sectors - rq_ptr->current_nr_sectors; in __idetape_discard_read_pipeline() 3656 rq.nr_sectors = rq.current_nr_sectors = blocks; in idetape_queue_rw_tail() 3668 return (tape->tape_block_size * (blocks-rq.current_nr_sectors)); in idetape_queue_rw_tail() 3705 rq->nr_sectors = rq->current_nr_sectors = tape->capabilities.ctl; in idetape_onstream_read_back_buffer() [all …]
|
D | ide-floppy.c | 605 rq->sector += rq->current_nr_sectors; in idefloppy_input_buffers() 606 rq->nr_sectors -= rq->current_nr_sectors; in idefloppy_input_buffers() 633 rq->sector += rq->current_nr_sectors; in idefloppy_output_buffers() 634 rq->nr_sectors -= rq->current_nr_sectors; in idefloppy_output_buffers() 1275 rq->nr_sectors, rq->current_nr_sectors); in idefloppy_do_request()
|
/linux-2.4.37.9/drivers/mtd/ |
D | mtdblock_ro.c | 141 (current_request->sector + current_request->current_nr_sectors) << 9 > mtd->size) in mtdblock_request() 145 current_request->sector, current_request->current_nr_sectors); in mtdblock_request() 166 current_request->current_nr_sectors << 9, in mtdblock_request() 188 current_request->current_nr_sectors << 9, in mtdblock_request()
|
D | mtdblock.c | 438 if ((req->sector + req->current_nr_sectors) > (mtdblk->mtd->size >> 9)) in handle_mtdblock_request() 449 req->current_nr_sectors << 9, in handle_mtdblock_request() 464 req->current_nr_sectors << 9, in handle_mtdblock_request()
|
D | ftl.c | 1285 CURRENT->current_nr_sectors); in do_ftl_request() 1292 CURRENT->current_nr_sectors); in do_ftl_request() 1306 CURRENT->sector += CURRENT->current_nr_sectors; in do_ftl_request()
|
/linux-2.4.37.9/drivers/block/ |
D | swim_iop.c | 526 CURRENT->current_nr_sectors -= cmd->num_blocks; in fd_request_complete() 527 if (CURRENT->current_nr_sectors <= 0) { in fd_request_complete() 564 CURRENT->rq_status, CURRENT->errors, CURRENT->current_nr_sectors); in start_request() 571 if (CURRENT->current_nr_sectors == 0) { in start_request() 597 cmd->num_blocks = CURRENT->current_nr_sectors; in start_request() 604 set_timeout(fs, HZ*CURRENT->current_nr_sectors, in start_request()
|
D | swim3.c | 325 CURRENT->rq_status, CURRENT->errors, CURRENT->current_nr_sectors); in start_request() 332 if (CURRENT->current_nr_sectors == 0) { in start_request() 427 if (CURRENT->current_nr_sectors <= 0) { in setup_transfer() 435 if (n > CURRENT->current_nr_sectors) in setup_transfer() 436 n = CURRENT->current_nr_sectors; in setup_transfer() 615 CURRENT->current_nr_sectors -= s; in xfer_timeout() 723 CURRENT->current_nr_sectors -= n; in swim3_interrupt() 749 CURRENT->current_nr_sectors -= fs->scount; in swim3_interrupt() 751 if (CURRENT->current_nr_sectors <= 0) { in swim3_interrupt()
|
D | ps2esdi.c | 475 CURRENT->current_nr_sectors, CURRENT->buffer); in do_ps2esdi_request() 482 if (virt_to_bus(CURRENT->buffer + CURRENT->current_nr_sectors * 512) > 16 * MB) { in do_ps2esdi_request() 487 (CURRENT->sector + CURRENT->current_nr_sectors <= in do_ps2esdi_request() 494 CURRENT->current_nr_sectors); in do_ps2esdi_request() 503 count = CURRENT->current_nr_sectors; in do_ps2esdi_request() 581 CURRENT->current_nr_sectors, drive); in ps2esdi_readwrite() 863 ps2esdi_prep_dma(CURRENT->buffer, CURRENT->current_nr_sectors, in ps2esdi_normal_interrupt_handler()
|
D | z2ram.c | 81 len = CURRENT->current_nr_sectors << 9; in do_z2_request() 87 CURRENT->current_nr_sectors); in do_z2_request()
|
D | ll_rw_blk.c | 1091 req->current_nr_sectors = req->hard_cur_sectors = count; in __make_request() 1154 req->current_nr_sectors = req->hard_cur_sectors = count; in __make_request() 1479 req->current_nr_sectors = bh->b_size >> 9; in end_that_request_first() 1480 req->hard_cur_sectors = req->current_nr_sectors; in end_that_request_first() 1481 if (req->nr_sectors < req->current_nr_sectors) { in end_that_request_first() 1482 req->nr_sectors = req->current_nr_sectors; in end_that_request_first()
|
D | ataflop.c | 748 if (++ReqCnt < CURRENT->current_nr_sectors) { in do_fd_action() 755 CURRENT->nr_sectors -= CURRENT->current_nr_sectors; in do_fd_action() 756 CURRENT->sector += CURRENT->current_nr_sectors; in do_fd_action() 1155 if (++ReqCnt < CURRENT->current_nr_sectors) { in fd_rwsec_done1() 1162 CURRENT->nr_sectors -= CURRENT->current_nr_sectors; in fd_rwsec_done1() 1163 CURRENT->sector += CURRENT->current_nr_sectors; in fd_rwsec_done1()
|
D | floppy.c | 2329 current_count_sectors >= CURRENT->current_nr_sectors){ in request_done() 2330 current_count_sectors -= CURRENT->current_nr_sectors; in request_done() 2331 CURRENT->nr_sectors -= CURRENT->current_nr_sectors; in request_done() 2332 CURRENT->sector += CURRENT->current_nr_sectors; in request_done() 2340 CURRENT->current_nr_sectors -= current_count_sectors; in request_done() 2468 size = CURRENT->current_nr_sectors << 9; in buffer_chain_size() 2523 CURRENT->current_nr_sectors); in copy_buffer() 2534 size = CURRENT->current_nr_sectors << 9; in copy_buffer() 2669 if (CURRENT->current_nr_sectors & 1) { in make_raw_rw_request()
|
D | acsi.c | 916 CURRENT->current_nr_sectors -= CurrentNSect; in do_end_requests() 925 CURRENT->current_nr_sectors -= n; in do_end_requests() 1025 nsect = CURRENT->current_nr_sectors; in redo_acsi_request()
|
/linux-2.4.37.9/drivers/ide/legacy/ |
D | pdc4030.c | 425 nsect = rq->current_nr_sectors; in promise_read_intr() 457 if ((rq->current_nr_sectors -= nsect) <= 0) { in promise_read_intr() 534 i -= rq->current_nr_sectors; in promise_complete_pollfunc() 558 int nsect = rq->current_nr_sectors; in promise_multwrite() 576 rq->current_nr_sectors -= nsect; in promise_multwrite() 579 if (!rq->current_nr_sectors) { in promise_multwrite() 587 rq->current_nr_sectors = bh->b_size >> 9; in promise_multwrite() 588 rq->hard_cur_sectors = rq->current_nr_sectors; in promise_multwrite()
|
D | hd.c | 89 #define SUBSECTOR(block) (CURRENT->current_nr_sectors > 0) 431 --CURRENT->current_nr_sectors; in read_intr() 437 if (CURRENT->current_nr_sectors <= 0) in read_intr() 473 --CURRENT->current_nr_sectors; in write_intr()
|
/linux-2.4.37.9/drivers/scsi/ |
D | scsi_lib.c | 392 req->current_nr_sectors = bh->b_size >> 9; in __scsi_end_request() 393 req->hard_cur_sectors = req->current_nr_sectors; in __scsi_end_request() 394 if (req->nr_sectors < req->current_nr_sectors) { in __scsi_end_request() 395 req->nr_sectors = req->current_nr_sectors; in __scsi_end_request() 770 SCpnt = scsi_end_request(SCpnt, 0, SCpnt->request.current_nr_sectors); in scsi_io_completion()
|
D | scsi_merge.c | 825 this_count = req->current_nr_sectors; in __init_io() 871 this_count = req->current_nr_sectors; in __init_io() 1070 this_count = req->current_nr_sectors; in __init_io() 1107 this_count = req->current_nr_sectors; in __init_io()
|
/linux-2.4.37.9/drivers/acorn/block/ |
D | fd1772.c | 632 if (++ReqCnt < CURRENT->current_nr_sectors) { in do_fd_action() 638 CURRENT->nr_sectors -= CURRENT->current_nr_sectors; in do_fd_action() 639 CURRENT->sector += CURRENT->current_nr_sectors; in do_fd_action() 1015 if (++ReqCnt < CURRENT->current_nr_sectors) { in fd_rwsec_done() 1021 CURRENT->nr_sectors -= CURRENT->current_nr_sectors; in fd_rwsec_done() 1022 CURRENT->sector += CURRENT->current_nr_sectors; in fd_rwsec_done()
|
D | mfmhd.c | 509 CURRENT, CURRENT->sector, CURRENT->current_nr_sectors, CURRENT->nr_sectors); in mfm_rw_intr() 511 CURRENT->nr_sectors -= CURRENT->current_nr_sectors; in mfm_rw_intr() 512 CURRENT->sector += CURRENT->current_nr_sectors; in mfm_rw_intr() 513 SectorsLeftInRequest -= CURRENT->current_nr_sectors; in mfm_rw_intr() 519 Sectors256LeftInCurrent = CURRENT->current_nr_sectors * 2; in mfm_rw_intr() 959 Sectors256LeftInCurrent = CURRENT->current_nr_sectors * 2; in mfm_request()
|
/linux-2.4.37.9/include/linux/ |
D | blkdev.h | 42 unsigned long current_nr_sectors, hard_cur_sectors; member
|
/linux-2.4.37.9/arch/m68k/atari/ |
D | stram.c | 1011 len = CURRENT->current_nr_sectors << 9; in do_stram_request() 1016 CURRENT->current_nr_sectors ); in do_stram_request()
|
/linux-2.4.37.9/drivers/block/paride/ |
D | pd.c | 874 pd_count = CURRENT->current_nr_sectors; in do_pd_request() 919 pd_count = CURRENT->current_nr_sectors; in pd_next_buf()
|