tag | line | file | source code |
use_sg | 2445 | drivers/scsi/53c7,8xx.c | datain = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3; |
use_sg | 2458 | drivers/scsi/53c7,8xx.c | cmd->use_sg); |
use_sg | 2461 | drivers/scsi/53c7,8xx.c | dataout = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3; |
use_sg | 2479 | drivers/scsi/53c7,8xx.c | datain = dataout = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3; |
use_sg | 2600 | drivers/scsi/53c7,8xx.c | for (i = 0; cmd->use_sg ? (i < cmd->use_sg) : !i; cmd_datain += 4, |
use_sg | 2602 | drivers/scsi/53c7,8xx.c | u32 buf = cmd->use_sg ? |
use_sg | 2605 | drivers/scsi/53c7,8xx.c | u32 count = cmd->use_sg ? |
use_sg | 1936 | drivers/scsi/BusLogic.c | int SegmentCount = Command->use_sg; |
use_sg | 305 | drivers/scsi/NCR5380.c | if (cmd->use_sg) { |
use_sg | 307 | drivers/scsi/NCR5380.c | cmd->SCp.buffers_residual = cmd->use_sg - 1; |
use_sg | 857 | drivers/scsi/NCR53c406a.c | if (!current_SC->use_sg) /* Don't use scatter-gather */ |
use_sg | 861 | drivers/scsi/NCR53c406a.c | sgcount = current_SC->use_sg; |
use_sg | 886 | drivers/scsi/NCR53c406a.c | if (!current_SC->use_sg) /* Don't use scatter-gather */ |
use_sg | 890 | drivers/scsi/NCR53c406a.c | sgcount = current_SC->use_sg; |
use_sg | 862 | drivers/scsi/aha152x.c | SCpnt->cmd_len, SCpnt->use_sg, SCpnt->request_bufflen); |
use_sg | 876 | drivers/scsi/aha152x.c | if (SCpnt->use_sg) |
use_sg | 882 | drivers/scsi/aha152x.c | SCpnt->SCp.buffers_residual = SCpnt->use_sg - 1; |
use_sg | 607 | drivers/scsi/aha1542.c | if (SCpnt->use_sg) { |
use_sg | 619 | drivers/scsi/aha1542.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 620 | drivers/scsi/aha1542.c | if(sgpnt[i].length == 0 || SCpnt->use_sg > 16 || |
use_sg | 623 | drivers/scsi/aha1542.c | printk("Bad segment list supplied to aha1542.c (%d, %d)\n",SCpnt->use_sg,i); |
use_sg | 624 | drivers/scsi/aha1542.c | for(i=0;i<SCpnt->use_sg;i++){ |
use_sg | 637 | 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 | 1594 | drivers/scsi/aic7xxx.c | segments = cmd->use_sg - sg_last; |
use_sg | 1597 | drivers/scsi/aic7xxx.c | if (cmd->use_sg) |
use_sg | 1599 | drivers/scsi/aic7xxx.c | for (i = length = 0; (i < cmd->use_sg) && (i < segments); i++) |
use_sg | 4522 | drivers/scsi/aic7xxx.c | if (cmd->use_sg) |
use_sg | 4526 | drivers/scsi/aic7xxx.c | cmd->use_sg, length); |
use_sg | 4528 | drivers/scsi/aic7xxx.c | scb->SG_segment_count = cmd->use_sg; |
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 | 1017 | drivers/scsi/fdomain.c | SCinit.use_sg = 0; |
use_sg | 1653 | drivers/scsi/fdomain.c | SCpnt->use_sg, |
use_sg | 1664 | drivers/scsi/fdomain.c | if (current_SC->use_sg) { |
use_sg | 1669 | drivers/scsi/fdomain.c | current_SC->SCp.buffers_residual = current_SC->use_sg - 1; |
use_sg | 1743 | 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 | 916 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; /* Reset the scatter-gather flag */ |
use_sg | 1072 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; /* Reset the scatter-gather flag */ |
use_sg | 1190 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; |
use_sg | 1284 | drivers/scsi/scsi.c | SCpnt->old_use_sg = SCpnt->use_sg; |
use_sg | 1418 | drivers/scsi/scsi.c | SCpnt->use_sg = SCpnt->old_use_sg; |
use_sg | 1676 | 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 | 2275 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; |
use_sg | 3062 | 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 | 99 | drivers/scsi/scsi_debug.c | if (bufflen != 1024 && (!SCpnt->use_sg)) {printk("%x %d\n ",bufflen, SCpnt->use_sg); panic("Bad bufflen");}; \ |
use_sg | 105 | drivers/scsi/scsi_debug.c | if (SCpnt->request.current_nr_sectors != 2 && (!SCpnt->use_sg)) panic ("Wrong # blocks"); \ |
use_sg | 138 | drivers/scsi/scsi_debug.c | printk("use_sg: %d",SCpnt->use_sg); |
use_sg | 139 | drivers/scsi/scsi_debug.c | if (SCpnt->use_sg){ |
use_sg | 141 | drivers/scsi/scsi_debug.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 289 | drivers/scsi/scsi_debug.c | if(SCpnt->use_sg){ |
use_sg | 321 | drivers/scsi/scsi_debug.c | if (SCpnt->use_sg) printk("Block %x (%d %d)\n",block, SCpnt->request.nr_sectors, |
use_sg | 354 | drivers/scsi/scsi_debug.c | if(SCpnt->use_sg){ |
use_sg | 373 | drivers/scsi/scsi_debug.c | if (SCpnt->use_sg && !scsi_debug_errsts) |
use_sg | 387 | 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 | 933 | 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++) { |