tag | line | file | source code |
use_sg | 3522 | drivers/scsi/53c7,8xx.c | datain = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3; |
use_sg | 3535 | drivers/scsi/53c7,8xx.c | cmd->use_sg); |
use_sg | 3538 | drivers/scsi/53c7,8xx.c | dataout = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3; |
use_sg | 3556 | drivers/scsi/53c7,8xx.c | datain = dataout = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3; |
use_sg | 3754 | drivers/scsi/53c7,8xx.c | for (i = 0; cmd->use_sg ? (i < cmd->use_sg) : !i; cmd_datain += 4, |
use_sg | 3756 | drivers/scsi/53c7,8xx.c | u32 buf = cmd->use_sg ? |
use_sg | 3759 | drivers/scsi/53c7,8xx.c | u32 count = cmd->use_sg ? |
use_sg | 5697 | 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 | 2035 | drivers/scsi/BusLogic.c | int SegmentCount = Command->use_sg; |
use_sg | 317 | drivers/scsi/NCR5380.c | if (cmd->use_sg) { |
use_sg | 319 | 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 | 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 | 889 | drivers/scsi/aha152x.c | SCpnt->cmd_len, SCpnt->use_sg, SCpnt->request_bufflen); |
use_sg | 903 | drivers/scsi/aha152x.c | if (SCpnt->use_sg) |
use_sg | 909 | 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 | 1039 | drivers/scsi/aic7xxx.c | segments = cmd->use_sg - sg_last; |
use_sg | 1042 | drivers/scsi/aic7xxx.c | if (cmd->use_sg) |
use_sg | 1044 | drivers/scsi/aic7xxx.c | for (i = length = 0; (i < cmd->use_sg) && (i < segments); i++) |
use_sg | 4094 | drivers/scsi/aic7xxx.c | if (cmd->use_sg) |
use_sg | 4096 | drivers/scsi/aic7xxx.c | scb->SG_segment_count = cmd->use_sg; |
use_sg | 4104 | drivers/scsi/aic7xxx.c | cmd->use_sg, aic7xxx_length(cmd, 0), scb->data_count); |
use_sg | 596 | drivers/scsi/eata.c | for (k = 0; k < SCpnt->use_sg; k++) { |
use_sg | 602 | drivers/scsi/eata.c | cpp->data_len = htonl((SCpnt->use_sg * sizeof(struct sg_list))); |
use_sg | 689 | drivers/scsi/eata.c | if (SCpnt->use_sg) { |
use_sg | 470 | drivers/scsi/eata_dma.c | if (cmd->use_sg) { |
use_sg | 480 | drivers/scsi/eata_dma.c | cp->cp_datalen = htonl(cmd->use_sg * sizeof(struct eata_sg_list)); |
use_sg | 482 | 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 | 363 | drivers/scsi/eata_pio.c | if (cmd->use_sg == 0) |
use_sg | 371 | drivers/scsi/eata_pio.c | cmd->SCp.buffers_residual = cmd->use_sg; |
use_sg | 1027 | drivers/scsi/fdomain.c | SCinit.use_sg = 0; |
use_sg | 1663 | drivers/scsi/fdomain.c | SCpnt->use_sg, |
use_sg | 1674 | drivers/scsi/fdomain.c | if (current_SC->use_sg) { |
use_sg | 1679 | drivers/scsi/fdomain.c | current_SC->SCp.buffers_residual = current_SC->use_sg - 1; |
use_sg | 1753 | drivers/scsi/fdomain.c | SCpnt->use_sg, |
use_sg | 502 | drivers/scsi/in2000.c | in2000_nsegment = SCpnt->use_sg; |
use_sg | 504 | drivers/scsi/in2000.c | if(SCpnt->use_sg){ |
use_sg | 386 | drivers/scsi/qlogic.c | if (!cmd->use_sg) |
use_sg | 389 | drivers/scsi/qlogic.c | sgcount = cmd->use_sg; |
use_sg | 940 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; /* Reset the scatter-gather flag */ |
use_sg | 1096 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; /* Reset the scatter-gather flag */ |
use_sg | 1214 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; |
use_sg | 1308 | drivers/scsi/scsi.c | SCpnt->old_use_sg = SCpnt->use_sg; |
use_sg | 1442 | drivers/scsi/scsi.c | SCpnt->use_sg = SCpnt->old_use_sg; |
use_sg | 1707 | drivers/scsi/scsi.c | SCpnt->use_sg = SCpnt->old_use_sg; |
use_sg | 1738 | drivers/scsi/scsi.c | SCpnt->use_sg = SCpnt->old_use_sg; |
use_sg | 2305 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; |
use_sg | 3099 | drivers/scsi/scsi.c | SCpnt->use_sg, |
use_sg | 362 | 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 | 768 | drivers/scsi/sd.c | max_sg = SCpnt->use_sg; |
use_sg | 781 | drivers/scsi/sd.c | if (SCpnt->use_sg < max_sg) SCpnt->use_sg++; |
use_sg | 788 | drivers/scsi/sd.c | if(count < SCpnt->use_sg || SCpnt->use_sg |
use_sg | 792 | drivers/scsi/sd.c | SCpnt->use_sg, count, dma_free_sectors); |
use_sg | 799 | drivers/scsi/sd.c | if(SCpnt->use_sg < 16) |
use_sg | 800 | drivers/scsi/sd.c | for(count=0; count<SCpnt->use_sg; count++) |
use_sg | 809 | drivers/scsi/sd.c | for(count=0; count<SCpnt->use_sg; count++) |
use_sg | 818 | drivers/scsi/sd.c | if(SCpnt->use_sg == 0){ |
use_sg | 935 | drivers/scsi/seagate.c | if ((nobuffs = SCint->use_sg)) { |
use_sg | 159 | drivers/scsi/sr.c | if (SCpnt->use_sg == 0) { |
use_sg | 188 | drivers/scsi/sr.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 223 | drivers/scsi/sr.c | if (SCpnt->use_sg) { |
use_sg | 227 | drivers/scsi/sr.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 716 | drivers/scsi/sr.c | SCpnt->use_sg = 0; |
use_sg | 750 | drivers/scsi/sr.c | SCpnt->use_sg = count; /* Number of chains */ |
use_sg | 752 | drivers/scsi/sr.c | while( count < (SCpnt->use_sg * sizeof(struct scatterlist))) |
use_sg | 758 | drivers/scsi/sr.c | SCpnt->use_sg = 0; /* No memory left - bail out */ |
use_sg | 771 | drivers/scsi/sr.c | for(bh = SCpnt->request.bh; count < SCpnt->use_sg; |
use_sg | 782 | drivers/scsi/sr.c | if (count+1 != SCpnt->use_sg) panic("Bad sr request list"); |
use_sg | 807 | drivers/scsi/sr.c | SCpnt->use_sg = 0; |
use_sg | 814 | drivers/scsi/sr.c | printk("SR: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector, |
use_sg | 818 | drivers/scsi/sr.c | for(count=0; count<SCpnt->use_sg; count++) |
use_sg | 827 | drivers/scsi/sr.c | if (SCpnt->use_sg == 0){ |
use_sg | 900 | drivers/scsi/sr.c | printk("Use sg: %d\n", SCpnt->use_sg); |
use_sg | 245 | drivers/scsi/u14-34f.c | unsigned char use_sg; /* (if sg is set) 8 bytes per list */ |
use_sg | 555 | drivers/scsi/u14-34f.c | for (k = 0; k < SCpnt->use_sg; k++) { |
use_sg | 561 | drivers/scsi/u14-34f.c | cpp->use_sg = SCpnt->use_sg; |
use_sg | 626 | 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 | 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++) { |