tag | line | file | source code |
use_sg | 3542 | drivers/scsi/53c7,8xx.c | datain = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3; |
use_sg | 3555 | drivers/scsi/53c7,8xx.c | cmd->use_sg); |
use_sg | 3558 | drivers/scsi/53c7,8xx.c | dataout = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3; |
use_sg | 3576 | drivers/scsi/53c7,8xx.c | datain = dataout = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3; |
use_sg | 3774 | drivers/scsi/53c7,8xx.c | for (i = 0; cmd->use_sg ? (i < cmd->use_sg) : !i; cmd_datain += 4, |
use_sg | 3776 | drivers/scsi/53c7,8xx.c | u32 buf = cmd->use_sg ? |
use_sg | 3779 | drivers/scsi/53c7,8xx.c | u32 count = cmd->use_sg ? |
use_sg | 5717 | drivers/scsi/53c7,8xx.c | if ((buffers = cmd->use_sg)) { |
use_sg | 759 | drivers/scsi/AM53C974.c | if (cmd->use_sg) { |
use_sg | 761 | drivers/scsi/AM53C974.c | cmd->SCp.buffers_residual = cmd->use_sg - 1; |
use_sg | 822 | drivers/scsi/AM53C974.c | cmd->cmnd[0], cmd->target, cmd->lun, cmd->request_bufflen, cmd->use_sg)); |
use_sg | 1120 | drivers/scsi/AM53C974.c | if ((hostdata->connected->cmnd[0] == REQUEST_SENSE) && hostdata->connected->use_sg) { |
use_sg | 1123 | drivers/scsi/AM53C974.c | hostdata->connected->use_sg = 0; } |
use_sg | 2401 | drivers/scsi/BusLogic.c | int SegmentCount = Command->use_sg; |
use_sg | 327 | drivers/scsi/NCR5380.c | if (cmd->use_sg) { |
use_sg | 329 | drivers/scsi/NCR5380.c | cmd->SCp.buffers_residual = cmd->use_sg - 1; |
use_sg | 867 | drivers/scsi/NCR53c406a.c | if (!current_SC->use_sg) /* Don't use scatter-gather */ |
use_sg | 871 | drivers/scsi/NCR53c406a.c | sgcount = current_SC->use_sg; |
use_sg | 896 | drivers/scsi/NCR53c406a.c | if (!current_SC->use_sg) /* Don't use scatter-gather */ |
use_sg | 900 | drivers/scsi/NCR53c406a.c | sgcount = current_SC->use_sg; |
use_sg | 91 | drivers/scsi/a2091.c | if (cmd->use_sg) |
use_sg | 161 | drivers/scsi/a2091.c | if (SCpnt && SCpnt->use_sg) { |
use_sg | 76 | drivers/scsi/a3000.c | if (cmd->use_sg) { |
use_sg | 159 | drivers/scsi/a3000.c | if (SCpnt && SCpnt->use_sg) { |
use_sg | 3726 | drivers/scsi/advansys.c | if (scp->use_sg == 0) { |
use_sg | 3744 | drivers/scsi/advansys.c | if (scp->use_sg > ASC_MAX_SG_LIST) { |
use_sg | 3746 | drivers/scsi/advansys.c | scp->use_sg, ASC_MAX_SG_LIST); |
use_sg | 3764 | drivers/scsi/advansys.c | sghead.entry_cnt = scsiq.q1.sg_queue_cnt = scp->use_sg; |
use_sg | 3771 | drivers/scsi/advansys.c | for (sgcnt = 0; sgcnt < scp->use_sg; sgcnt++, slp++) { |
use_sg | 893 | drivers/scsi/aha152x.c | SCpnt->cmd_len, SCpnt->use_sg, SCpnt->request_bufflen); |
use_sg | 907 | drivers/scsi/aha152x.c | if (SCpnt->use_sg) |
use_sg | 913 | drivers/scsi/aha152x.c | SCpnt->SCp.buffers_residual = SCpnt->use_sg - 1; |
use_sg | 604 | drivers/scsi/aha1542.c | if (SCpnt->use_sg) { |
use_sg | 616 | drivers/scsi/aha1542.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 617 | drivers/scsi/aha1542.c | if(sgpnt[i].length == 0 || SCpnt->use_sg > 16 || |
use_sg | 620 | drivers/scsi/aha1542.c | printk("Bad segment list supplied to aha1542.c (%d, %d)\n",SCpnt->use_sg,i); |
use_sg | 621 | drivers/scsi/aha1542.c | for(i=0;i<SCpnt->use_sg;i++){ |
use_sg | 634 | drivers/scsi/aha1542.c | any2scsi(ccb[mbo].datalen, SCpnt->use_sg * sizeof(struct chain)); |
use_sg | 324 | drivers/scsi/aha1740.c | if (SCpnt->use_sg) |
use_sg | 337 | drivers/scsi/aha1740.c | for(i=0; i<SCpnt->use_sg; i++) |
use_sg | 342 | drivers/scsi/aha1740.c | ecb[ecbno].datalen = SCpnt->use_sg * sizeof(struct aha1740_chain); |
use_sg | 1045 | drivers/scsi/aic7xxx.c | segments = cmd->use_sg - sg_last; |
use_sg | 1048 | drivers/scsi/aic7xxx.c | if (cmd->use_sg) |
use_sg | 1050 | drivers/scsi/aic7xxx.c | for (i = length = 0; (i < cmd->use_sg) && (i < segments); i++) |
use_sg | 4193 | drivers/scsi/aic7xxx.c | if (cmd->use_sg) |
use_sg | 4195 | drivers/scsi/aic7xxx.c | scb->SG_segment_count = cmd->use_sg; |
use_sg | 4203 | drivers/scsi/aic7xxx.c | cmd->use_sg, aic7xxx_length(cmd, 0), scb->data_count); |
use_sg | 573 | drivers/scsi/atari_NCR5380.c | if (cmd->use_sg) { |
use_sg | 575 | drivers/scsi/atari_NCR5380.c | cmd->SCp.buffers_residual = cmd->use_sg - 1; |
use_sg | 599 | drivers/scsi/eata.c | for (k = 0; k < SCpnt->use_sg; k++) { |
use_sg | 605 | drivers/scsi/eata.c | cpp->data_len = htonl((SCpnt->use_sg * sizeof(struct sg_list))); |
use_sg | 693 | drivers/scsi/eata.c | if (SCpnt->use_sg) { |
use_sg | 529 | drivers/scsi/eata_dma.c | if (cmd->use_sg) { |
use_sg | 539 | drivers/scsi/eata_dma.c | ccb->cp_datalen = htonl(cmd->use_sg * sizeof(struct eata_sg_list)); |
use_sg | 541 | drivers/scsi/eata_dma.c | for(i = 0; i < cmd->use_sg; i++, sl++){ |
use_sg | 182 | drivers/scsi/eata_dma_proc.c | scmd.use_sg = 0; |
use_sg | 366 | drivers/scsi/eata_pio.c | if (cmd->use_sg == 0) |
use_sg | 374 | drivers/scsi/eata_pio.c | cmd->SCp.buffers_residual = cmd->use_sg; |
use_sg | 641 | drivers/scsi/esp.c | if(!SCpnt->use_sg) { |
use_sg | 656 | drivers/scsi/esp.c | SCpnt->buffer, SCpnt->use_sg); |
use_sg | 659 | drivers/scsi/esp.c | SCpnt->SCp.buffers_residual = SCpnt->use_sg - 1; |
use_sg | 715 | drivers/scsi/esp.c | if(!done_SC->use_sg) { |
use_sg | 725 | drivers/scsi/esp.c | done_SC->use_sg - 1, |
use_sg | 922 | drivers/scsi/esp.c | if(SCptr->use_sg) |
use_sg | 949 | drivers/scsi/esp.c | if(SCptr->use_sg) |
use_sg | 1010 | drivers/scsi/esp.c | if(SCptr->use_sg) { |
use_sg | 1079 | drivers/scsi/fdomain.c | SCinit.use_sg = 0; |
use_sg | 1715 | drivers/scsi/fdomain.c | SCpnt->use_sg, |
use_sg | 1726 | drivers/scsi/fdomain.c | if (current_SC->use_sg) { |
use_sg | 1731 | drivers/scsi/fdomain.c | current_SC->SCp.buffers_residual = current_SC->use_sg - 1; |
use_sg | 1805 | drivers/scsi/fdomain.c | SCpnt->use_sg, |
use_sg | 100 | drivers/scsi/gvp11.c | if (cmd->use_sg) |
use_sg | 148 | drivers/scsi/gvp11.c | if (SCpnt && SCpnt->use_sg) { |
use_sg | 391 | drivers/scsi/in2000.c | if (cmd->use_sg) { |
use_sg | 393 | drivers/scsi/in2000.c | cmd->SCp.buffers_residual = cmd->use_sg - 1; |
use_sg | 386 | drivers/scsi/qlogic.c | if (!cmd->use_sg) |
use_sg | 389 | drivers/scsi/qlogic.c | sgcount = cmd->use_sg; |
use_sg | 988 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; /* Reset the scatter-gather flag */ |
use_sg | 1160 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; /* Reset the scatter-gather flag */ |
use_sg | 1282 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; |
use_sg | 1378 | drivers/scsi/scsi.c | SCpnt->old_use_sg = SCpnt->use_sg; |
use_sg | 1513 | drivers/scsi/scsi.c | SCpnt->use_sg = SCpnt->old_use_sg; |
use_sg | 1782 | drivers/scsi/scsi.c | SCpnt->use_sg = SCpnt->old_use_sg; |
use_sg | 1813 | drivers/scsi/scsi.c | SCpnt->use_sg = SCpnt->old_use_sg; |
use_sg | 2459 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; |
use_sg | 3340 | drivers/scsi/scsi.c | SCpnt->use_sg, |
use_sg | 378 | drivers/scsi/scsi.h | unsigned short use_sg; /* Number of pieces of scatter-gather */ |
use_sg | 96 | drivers/scsi/scsi_debug.c | if (bufflen != 1024 && (!SCpnt->use_sg)) {printk("%x %d\n ",bufflen, SCpnt->use_sg); panic("Bad bufflen");}; \ |
use_sg | 102 | drivers/scsi/scsi_debug.c | if (SCpnt->request.current_nr_sectors != 2 && (!SCpnt->use_sg)) panic ("Wrong # blocks"); \ |
use_sg | 135 | drivers/scsi/scsi_debug.c | printk("use_sg: %d",SCpnt->use_sg); |
use_sg | 136 | drivers/scsi/scsi_debug.c | if (SCpnt->use_sg){ |
use_sg | 138 | drivers/scsi/scsi_debug.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 286 | drivers/scsi/scsi_debug.c | if(SCpnt->use_sg){ |
use_sg | 318 | drivers/scsi/scsi_debug.c | if (SCpnt->use_sg) printk("Block %x (%d %d)\n",block, SCpnt->request.nr_sectors, |
use_sg | 351 | drivers/scsi/scsi_debug.c | if(SCpnt->use_sg){ |
use_sg | 370 | drivers/scsi/scsi_debug.c | if (SCpnt->use_sg && !scsi_debug_errsts) |
use_sg | 384 | drivers/scsi/scsi_debug.c | if (SCpnt->use_sg){ |
use_sg | 237 | drivers/scsi/sd.c | printk("use_sg is %d\n ",SCpnt->use_sg); |
use_sg | 239 | drivers/scsi/sd.c | if (SCpnt->use_sg) { |
use_sg | 243 | drivers/scsi/sd.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 299 | drivers/scsi/sd.c | if (SCpnt->use_sg) { |
use_sg | 303 | drivers/scsi/sd.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 629 | drivers/scsi/sd.c | SCpnt->use_sg = 0; |
use_sg | 648 | drivers/scsi/sd.c | SCpnt->use_sg = 0; |
use_sg | 679 | drivers/scsi/sd.c | SCpnt->use_sg = count; /* Number of chains */ |
use_sg | 681 | drivers/scsi/sd.c | while( count < (SCpnt->use_sg * sizeof(struct scatterlist))) |
use_sg | 690 | drivers/scsi/sd.c | SCpnt->use_sg = 0; /* No memory left - bail out */ |
use_sg | 700 | drivers/scsi/sd.c | count < SCpnt->use_sg && bh; |
use_sg | 739 | drivers/scsi/sd.c | SCpnt->use_sg = 0; |
use_sg | 742 | drivers/scsi/sd.c | SCpnt->use_sg = count; |
use_sg | 767 | drivers/scsi/sd.c | max_sg = SCpnt->use_sg; |
use_sg | 780 | drivers/scsi/sd.c | if (SCpnt->use_sg < max_sg) SCpnt->use_sg++; |
use_sg | 787 | drivers/scsi/sd.c | if(count < SCpnt->use_sg || SCpnt->use_sg |
use_sg | 791 | drivers/scsi/sd.c | SCpnt->use_sg, count, dma_free_sectors); |
use_sg | 798 | drivers/scsi/sd.c | if(SCpnt->use_sg < 16) |
use_sg | 799 | drivers/scsi/sd.c | for(count=0; count<SCpnt->use_sg; count++) |
use_sg | 808 | drivers/scsi/sd.c | for(count=0; count<SCpnt->use_sg; count++) |
use_sg | 817 | drivers/scsi/sd.c | if(SCpnt->use_sg == 0){ |
use_sg | 935 | drivers/scsi/seagate.c | if ((nobuffs = SCint->use_sg)) { |
use_sg | 160 | drivers/scsi/sr.c | if (SCpnt->use_sg == 0) { |
use_sg | 189 | drivers/scsi/sr.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 224 | drivers/scsi/sr.c | if (SCpnt->use_sg) { |
use_sg | 228 | drivers/scsi/sr.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 720 | drivers/scsi/sr.c | SCpnt->use_sg = 0; |
use_sg | 754 | drivers/scsi/sr.c | SCpnt->use_sg = count; /* Number of chains */ |
use_sg | 756 | drivers/scsi/sr.c | while( count < (SCpnt->use_sg * sizeof(struct scatterlist))) |
use_sg | 762 | drivers/scsi/sr.c | SCpnt->use_sg = 0; /* No memory left - bail out */ |
use_sg | 775 | drivers/scsi/sr.c | for(bh = SCpnt->request.bh; count < SCpnt->use_sg; |
use_sg | 786 | drivers/scsi/sr.c | if (count+1 != SCpnt->use_sg) panic("Bad sr request list"); |
use_sg | 811 | drivers/scsi/sr.c | SCpnt->use_sg = 0; |
use_sg | 818 | drivers/scsi/sr.c | printk("SR: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector, |
use_sg | 822 | drivers/scsi/sr.c | for(count=0; count<SCpnt->use_sg; count++) |
use_sg | 831 | drivers/scsi/sr.c | if (SCpnt->use_sg == 0){ |
use_sg | 904 | drivers/scsi/sr.c | printk("Use sg: %d\n", SCpnt->use_sg); |
use_sg | 253 | drivers/scsi/u14-34f.c | unsigned char use_sg; /* (if sg is set) 8 bytes per list */ |
use_sg | 563 | drivers/scsi/u14-34f.c | for (k = 0; k < SCpnt->use_sg; k++) { |
use_sg | 569 | drivers/scsi/u14-34f.c | cpp->use_sg = SCpnt->use_sg; |
use_sg | 648 | drivers/scsi/u14-34f.c | if (SCpnt->use_sg) { |
use_sg | 663 | drivers/scsi/ultrastor.c | max = SCpnt->use_sg; |
use_sg | 719 | drivers/scsi/ultrastor.c | if (SCpnt->use_sg) { |
use_sg | 308 | drivers/scsi/wd33c93.c | if (cmd->use_sg) { |
use_sg | 310 | drivers/scsi/wd33c93.c | cmd->SCp.buffers_residual = cmd->use_sg - 1; |
use_sg | 920 | drivers/scsi/wd7000.c | if (SCpnt->use_sg) { |
use_sg | 928 | drivers/scsi/wd7000.c | printk("Using scatter/gather with %d elements.\n",SCpnt->use_sg); |
use_sg | 934 | drivers/scsi/wd7000.c | any2scsi(scb->maxlen, SCpnt->use_sg * sizeof (Sgb) ); |
use_sg | 936 | drivers/scsi/wd7000.c | for (i = 0; i < SCpnt->use_sg; i++) { |