Searched refs:this_count (Results 1 – 7 of 7) sorted by relevance
/linux-2.4.37.9/drivers/scsi/ |
D | scsi_merge.c | 807 int this_count; in __init_io() local 825 this_count = req->current_nr_sectors; in __init_io() 838 this_count = req->nr_sectors; in __init_io() 871 this_count = req->current_nr_sectors; in __init_io() 1057 for (this_count = 0, bh = req->bh; bh; bh = bh->b_reqnext) { in __init_io() 1058 if( scsi_dma_free_sectors - this_count < 30 in __init_io() 1059 || this_count == sectors ) in __init_io() 1063 this_count += bh->b_size >> 9; in __init_io() 1070 this_count = req->current_nr_sectors; in __init_io() 1103 if (bh_phys(bh) + (this_count << 9) - 1 > ISA_DMA_THRESHOLD) { in __init_io() [all …]
|
D | sd.c | 297 int dev, block, this_count; in sd_init_command() local 308 this_count = SCpnt->request_bufflen >> 9; in sd_init_command() 352 this_count = this_count >> 1; in sd_init_command() 361 this_count = this_count >> 2; in sd_init_command() 370 this_count = this_count >> 3; in sd_init_command() 392 this_count, SCpnt->request.nr_sectors)); in sd_init_command() 397 if (((this_count > 0xff) || (block > 0x1fffff)) || SCpnt->device->ten) { in sd_init_command() 398 if (this_count > 0xffff) in sd_init_command() 399 this_count = 0xffff; in sd_init_command() 407 SCpnt->cmnd[7] = (unsigned char) (this_count >> 8) & 0xff; in sd_init_command() [all …]
|
D | sr.c | 197 int this_count = SCpnt->bufflen >> 9; in rw_intr() local 198 int good_sectors = (result == 0 ? this_count : 0); in rw_intr() 233 if (good_sectors < 0 || good_sectors >= this_count) in rw_intr() 256 good_sectors = this_count; in rw_intr() 388 int dev, devm, block=0, this_count, s_size; in sr_init_command() local 439 this_count = (SCpnt->request_bufflen >> 9) / (s_size >> 9); in sr_init_command() 458 this_count, SCpnt->request.nr_sectors)); in sr_init_command() 463 if (this_count > 0xffff) in sr_init_command() 464 this_count = 0xffff; in sr_init_command() 471 SCpnt->cmnd[7] = (unsigned char) (this_count >> 8) & 0xff; in sr_init_command() [all …]
|
D | scsi_lib.c | 553 int this_count = SCpnt->bufflen >> 9; in scsi_io_completion() local 686 SCpnt = scsi_end_request(SCpnt, 0, this_count); in scsi_io_completion() 720 SCpnt = scsi_end_request(SCpnt, 0, this_count); in scsi_io_completion() 727 SCpnt = scsi_end_request(SCpnt, 0, this_count); in scsi_io_completion()
|
D | NCR53C9x.c | 1884 int this_count = MAX_FIFO - fifocnt; in esp_do_data() local 1885 if (this_count > hmuch) in esp_do_data() 1886 this_count = hmuch; in esp_do_data() 1889 for(j=0;j<this_count;j++) in esp_do_data() 1893 hmuch -= this_count; in esp_do_data() 1910 ESPDATA(("\rsent %d st %x ph %x", this_count - fifocnt, esp->sreg, newphase)); in esp_do_data()
|
D | advansys.c | 9541 s->internal_timeout, s->flags,s->this_count); in asc_prt_scsi_cmnd()
|
/linux-2.4.37.9/include/linux/ |
D | blkcdb.h | 94 SCpnt->cmnd[7] = (unsigned char) (this_count >> 8) & 0xff; 95 SCpnt->cmnd[8] = (unsigned char) this_count & 0xff;
|