tag | line | file | source code |
use_sg | 442 | kernel/blk_drv/scsi/aha1542.c | if (SCpnt->use_sg) { |
use_sg | 454 | kernel/blk_drv/scsi/aha1542.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 455 | kernel/blk_drv/scsi/aha1542.c | if(sgpnt[i].length == 0 || SCpnt->use_sg > 16 || |
use_sg | 458 | kernel/blk_drv/scsi/aha1542.c | printk("Bad segment list supplied to aha1542.c (%d, %d)\n",SCpnt->use_sg,i); |
use_sg | 459 | kernel/blk_drv/scsi/aha1542.c | for(i=0;i<SCpnt->use_sg++;i++){ |
use_sg | 471 | kernel/blk_drv/scsi/aha1542.c | any2scsi(ccb[mbo].datalen, SCpnt->use_sg * sizeof(struct chain)); |
use_sg | 270 | kernel/blk_drv/scsi/aha1740.c | if (SCpnt->use_sg) { |
use_sg | 282 | kernel/blk_drv/scsi/aha1740.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 286 | kernel/blk_drv/scsi/aha1740.c | ecb[ecbno].datalen = SCpnt->use_sg * sizeof(struct aha1740_chain); |
use_sg | 485 | kernel/blk_drv/scsi/fdomain.c | SCinit.use_sg = 0; |
use_sg | 1003 | kernel/blk_drv/scsi/fdomain.c | SCpnt->use_sg, |
use_sg | 1014 | kernel/blk_drv/scsi/fdomain.c | if (current_SC->use_sg) { |
use_sg | 1019 | kernel/blk_drv/scsi/fdomain.c | current_SC->SCp.buffers_residual = current_SC->use_sg - 1; |
use_sg | 1247 | kernel/blk_drv/scsi/fdomain.c | current_SC->use_sg, |
use_sg | 195 | kernel/blk_drv/scsi/scsi.c | SCmd.use_sg = 0; |
use_sg | 442 | kernel/blk_drv/scsi/scsi.c | SCpnt->use_sg = 0; /* Reset the scatter-gather flag */ |
use_sg | 510 | kernel/blk_drv/scsi/scsi.c | SCpnt->use_sg = 0; /* Reset the scatter-gather flag */ |
use_sg | 1371 | kernel/blk_drv/scsi/scsi.c | SCpnt->use_sg = 0; |
use_sg | 333 | kernel/blk_drv/scsi/scsi.h | unsigned short use_sg; /* Number of pieces of scatter-gather */ |
use_sg | 68 | kernel/blk_drv/scsi/scsi_debug.c | if (bufflen != 1024 && (!SCpnt->use_sg)) {printk("%x %d\n ",bufflen, SCpnt->use_sg); panic("Bad bufflen");}; \ |
use_sg | 74 | kernel/blk_drv/scsi/scsi_debug.c | if (SCpnt->request.current_nr_sectors != 2 && (!SCpnt->use_sg)) panic ("Wrong # blocks"); \ |
use_sg | 99 | kernel/blk_drv/scsi/scsi_debug.c | printk("use_sg: %d",SCpnt->use_sg); |
use_sg | 100 | kernel/blk_drv/scsi/scsi_debug.c | if (SCpnt->use_sg){ |
use_sg | 102 | kernel/blk_drv/scsi/scsi_debug.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 224 | kernel/blk_drv/scsi/scsi_debug.c | if(SCpnt->use_sg){ |
use_sg | 252 | kernel/blk_drv/scsi/scsi_debug.c | if (SCpnt->use_sg) printk("Block %x (%d %d)\n",block, SCpnt->request.nr_sectors, |
use_sg | 279 | kernel/blk_drv/scsi/scsi_debug.c | if(SCpnt->use_sg){ |
use_sg | 291 | kernel/blk_drv/scsi/scsi_debug.c | if (SCpnt->use_sg && !scsi_debug_errsts) |
use_sg | 305 | kernel/blk_drv/scsi/scsi_debug.c | if (SCpnt->use_sg){ |
use_sg | 157 | kernel/blk_drv/scsi/sd.c | printk("use_sg is %d\n ",SCpnt->use_sg); |
use_sg | 159 | kernel/blk_drv/scsi/sd.c | if (SCpnt->use_sg) { |
use_sg | 163 | kernel/blk_drv/scsi/sd.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 216 | kernel/blk_drv/scsi/sd.c | if (SCpnt->use_sg) { |
use_sg | 220 | kernel/blk_drv/scsi/sd.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 450 | kernel/blk_drv/scsi/sd.c | SCpnt->use_sg = 0; |
use_sg | 470 | kernel/blk_drv/scsi/sd.c | SCpnt->use_sg = 0; |
use_sg | 488 | kernel/blk_drv/scsi/sd.c | SCpnt->use_sg = count; /* Number of chains */ |
use_sg | 490 | kernel/blk_drv/scsi/sd.c | while( count < (SCpnt->use_sg * sizeof(struct scatterlist))) |
use_sg | 496 | kernel/blk_drv/scsi/sd.c | SCpnt->use_sg = 0; /* No memory left - bail out */ |
use_sg | 503 | kernel/blk_drv/scsi/sd.c | for(count = 0, bh = SCpnt->request.bh; count < SCpnt->use_sg; |
use_sg | 532 | kernel/blk_drv/scsi/sd.c | SCpnt->use_sg = 0; |
use_sg | 547 | kernel/blk_drv/scsi/sd.c | if(SCpnt->use_sg == 0){ |
use_sg | 119 | kernel/blk_drv/scsi/sr.c | if (SCpnt->use_sg == 0) { |
use_sg | 148 | kernel/blk_drv/scsi/sr.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 186 | kernel/blk_drv/scsi/sr.c | if (SCpnt->use_sg) { |
use_sg | 190 | kernel/blk_drv/scsi/sr.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 406 | kernel/blk_drv/scsi/sr.c | SCpnt->use_sg = 0; |
use_sg | 440 | kernel/blk_drv/scsi/sr.c | SCpnt->use_sg = count; /* Number of chains */ |
use_sg | 442 | kernel/blk_drv/scsi/sr.c | while( count < (SCpnt->use_sg * sizeof(struct scatterlist))) |
use_sg | 448 | kernel/blk_drv/scsi/sr.c | SCpnt->use_sg = 0; /* No memory left - bail out */ |
use_sg | 461 | kernel/blk_drv/scsi/sr.c | for(bh = SCpnt->request.bh; count < SCpnt->use_sg; |
use_sg | 472 | kernel/blk_drv/scsi/sr.c | if (count+1 != SCpnt->use_sg) panic("Bad sr request list"); |
use_sg | 497 | kernel/blk_drv/scsi/sr.c | SCpnt->use_sg = 0; |
use_sg | 504 | kernel/blk_drv/scsi/sr.c | printk("SG: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector, |
use_sg | 508 | kernel/blk_drv/scsi/sr.c | for(count=0; count<SCpnt->use_sg; count++) |
use_sg | 517 | kernel/blk_drv/scsi/sr.c | if (SCpnt->use_sg == 0){ |
use_sg | 373 | kernel/blk_drv/scsi/wd7000.c | if (SCpnt->use_sg) { |
use_sg | 381 | kernel/blk_drv/scsi/wd7000.c | printk("Using scatter/gather with %d elements.\n",SCpnt->use_sg); |
use_sg | 388 | kernel/blk_drv/scsi/wd7000.c | if (SCpnt->use_sg > WD7000_SG) |
use_sg | 398 | kernel/blk_drv/scsi/wd7000.c | any2scsi(scb->maxlen, SCpnt->use_sg * sizeof (Sgb) ); |
use_sg | 400 | kernel/blk_drv/scsi/wd7000.c | for (i = 0; i < SCpnt->use_sg; i++) { |
use_sg | 406 | kernel/blk_drv/scsi/wd7000.c | scsi2int(scb->maxlen), SCpnt->use_sg);) |