tag | line | file | source code |
use_sg | 2289 | drivers/scsi/53c7,8xx.c | datain = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3; |
use_sg | 2302 | drivers/scsi/53c7,8xx.c | cmd->use_sg); |
use_sg | 2305 | drivers/scsi/53c7,8xx.c | dataout = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3; |
use_sg | 2323 | drivers/scsi/53c7,8xx.c | datain = dataout = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3; |
use_sg | 2503 | drivers/scsi/53c7,8xx.c | for (i = 0; cmd->use_sg ? (i < cmd->use_sg) : !i; cmd_datain += 4, |
use_sg | 2505 | drivers/scsi/53c7,8xx.c | unsigned long buf = (unsigned long) (cmd->use_sg ? |
use_sg | 2508 | drivers/scsi/53c7,8xx.c | unsigned long count = (unsigned long) (cmd->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 | 770 | drivers/scsi/aha152x.c | SCpnt->cmd_len, SCpnt->use_sg, SCpnt->request_bufflen ); |
use_sg | 784 | drivers/scsi/aha152x.c | if (SCpnt->use_sg) |
use_sg | 789 | drivers/scsi/aha152x.c | SCpnt->SCp.buffers_residual = SCpnt->use_sg - 1; |
use_sg | 600 | drivers/scsi/aha1542.c | if (SCpnt->use_sg) { |
use_sg | 612 | drivers/scsi/aha1542.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 613 | drivers/scsi/aha1542.c | if(sgpnt[i].length == 0 || SCpnt->use_sg > 16 || |
use_sg | 616 | drivers/scsi/aha1542.c | printk("Bad segment list supplied to aha1542.c (%d, %d)\n",SCpnt->use_sg,i); |
use_sg | 617 | drivers/scsi/aha1542.c | for(i=0;i<SCpnt->use_sg;i++){ |
use_sg | 630 | drivers/scsi/aha1542.c | any2scsi(ccb[mbo].datalen, SCpnt->use_sg * sizeof(struct chain)); |
use_sg | 317 | drivers/scsi/aha1740.c | if (SCpnt->use_sg) |
use_sg | 330 | drivers/scsi/aha1740.c | for(i=0; i<SCpnt->use_sg; i++) |
use_sg | 335 | drivers/scsi/aha1740.c | ecb[ecbno].datalen = SCpnt->use_sg * sizeof(struct aha1740_chain); |
use_sg | 366 | drivers/scsi/aha274x.c | segments = cmd->use_sg - sg_last; |
use_sg | 369 | drivers/scsi/aha274x.c | if (cmd->use_sg) { |
use_sg | 371 | drivers/scsi/aha274x.c | i < cmd->use_sg && i < segments; |
use_sg | 388 | drivers/scsi/aha274x.c | if (cmd->use_sg) { |
use_sg | 389 | drivers/scsi/aha274x.c | for (i = 0; i < cmd->use_sg; i++) |
use_sg | 1106 | drivers/scsi/aha274x.c | if (cmd->use_sg) { |
use_sg | 1109 | drivers/scsi/aha274x.c | cmd->use_sg, |
use_sg | 1112 | drivers/scsi/aha274x.c | scb->SG_segment_count = cmd->use_sg; |
use_sg | 712 | drivers/scsi/buslogic.c | if (scpnt->use_sg) { |
use_sg | 727 | drivers/scsi/buslogic.c | if (scpnt->use_sg > shpnt->sg_tablesize) { |
use_sg | 729 | drivers/scsi/buslogic.c | scpnt->use_sg, shpnt->sg_tablesize); |
use_sg | 732 | drivers/scsi/buslogic.c | for (i = 0; i < scpnt->use_sg; i++) { |
use_sg | 738 | drivers/scsi/buslogic.c | ccb[mbo].datalen = scpnt->use_sg * sizeof (struct chain); |
use_sg | 551 | drivers/scsi/eata.c | for (k = 0; k < SCpnt->use_sg; k++) { |
use_sg | 557 | drivers/scsi/eata.c | cpp->data_len = htonl((SCpnt->use_sg * sizeof(struct sg_list))); |
use_sg | 636 | drivers/scsi/eata.c | if (SCpnt->use_sg) { |
use_sg | 343 | drivers/scsi/eata_dma.c | if (cmd->use_sg) { |
use_sg | 346 | drivers/scsi/eata_dma.c | cp->cp_datalen = htonl(cmd->use_sg*8); |
use_sg | 349 | drivers/scsi/eata_dma.c | for(i = 0; i < cmd->use_sg; i++, sl++){ |
use_sg | 745 | drivers/scsi/fdomain.c | SCinit.use_sg = 0; |
use_sg | 1342 | drivers/scsi/fdomain.c | SCpnt->use_sg, |
use_sg | 1353 | drivers/scsi/fdomain.c | if (current_SC->use_sg) { |
use_sg | 1358 | drivers/scsi/fdomain.c | current_SC->SCp.buffers_residual = current_SC->use_sg - 1; |
use_sg | 1432 | drivers/scsi/fdomain.c | SCpnt->use_sg, |
use_sg | 492 | drivers/scsi/in2000.c | in2000_nsegment = SCpnt->use_sg; |
use_sg | 494 | drivers/scsi/in2000.c | if(SCpnt->use_sg){ |
use_sg | 350 | drivers/scsi/qlogic.c | if (!cmd->use_sg) |
use_sg | 353 | drivers/scsi/qlogic.c | sgcount = cmd->use_sg; |
use_sg | 362 | drivers/scsi/scsi.c | SCmd.use_sg = 0; |
use_sg | 747 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; /* Reset the scatter-gather flag */ |
use_sg | 858 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; /* Reset the scatter-gather flag */ |
use_sg | 966 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; |
use_sg | 1058 | drivers/scsi/scsi.c | SCpnt->old_use_sg = SCpnt->use_sg; |
use_sg | 1210 | drivers/scsi/scsi.c | SCpnt->use_sg = SCpnt->old_use_sg; |
use_sg | 1472 | drivers/scsi/scsi.c | SCpnt->use_sg = SCpnt->old_use_sg; |
use_sg | 1504 | drivers/scsi/scsi.c | SCpnt->use_sg = SCpnt->old_use_sg; |
use_sg | 2009 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; |
use_sg | 2196 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; |
use_sg | 2463 | drivers/scsi/scsi.c | SCpnt->use_sg, |
use_sg | 449 | drivers/scsi/scsi.h | unsigned short use_sg; /* Number of pieces of scatter-gather */ |
use_sg | 86 | drivers/scsi/scsi_debug.c | if (bufflen != 1024 && (!SCpnt->use_sg)) {printk("%x %d\n ",bufflen, SCpnt->use_sg); panic("Bad bufflen");}; \ |
use_sg | 92 | drivers/scsi/scsi_debug.c | if (SCpnt->request.current_nr_sectors != 2 && (!SCpnt->use_sg)) panic ("Wrong # blocks"); \ |
use_sg | 117 | drivers/scsi/scsi_debug.c | printk("use_sg: %d",SCpnt->use_sg); |
use_sg | 118 | drivers/scsi/scsi_debug.c | if (SCpnt->use_sg){ |
use_sg | 120 | drivers/scsi/scsi_debug.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 258 | drivers/scsi/scsi_debug.c | if(SCpnt->use_sg){ |
use_sg | 289 | drivers/scsi/scsi_debug.c | if (SCpnt->use_sg) printk("Block %x (%d %d)\n",block, SCpnt->request.nr_sectors, |
use_sg | 321 | drivers/scsi/scsi_debug.c | if(SCpnt->use_sg){ |
use_sg | 340 | drivers/scsi/scsi_debug.c | if (SCpnt->use_sg && !scsi_debug_errsts) |
use_sg | 354 | drivers/scsi/scsi_debug.c | if (SCpnt->use_sg){ |
use_sg | 200 | drivers/scsi/sd.c | printk("use_sg is %d\n ",SCpnt->use_sg); |
use_sg | 202 | drivers/scsi/sd.c | if (SCpnt->use_sg) { |
use_sg | 206 | drivers/scsi/sd.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 258 | drivers/scsi/sd.c | if (SCpnt->use_sg) { |
use_sg | 262 | drivers/scsi/sd.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 544 | drivers/scsi/sd.c | SCpnt->use_sg = 0; |
use_sg | 564 | drivers/scsi/sd.c | SCpnt->use_sg = 0; |
use_sg | 595 | drivers/scsi/sd.c | SCpnt->use_sg = count; /* Number of chains */ |
use_sg | 597 | drivers/scsi/sd.c | while( count < (SCpnt->use_sg * sizeof(struct scatterlist))) |
use_sg | 606 | drivers/scsi/sd.c | SCpnt->use_sg = 0; /* No memory left - bail out */ |
use_sg | 613 | drivers/scsi/sd.c | count < SCpnt->use_sg && bh; |
use_sg | 648 | drivers/scsi/sd.c | SCpnt->use_sg = 0; |
use_sg | 651 | drivers/scsi/sd.c | SCpnt->use_sg = count; |
use_sg | 675 | drivers/scsi/sd.c | max_sg = SCpnt->use_sg; |
use_sg | 687 | drivers/scsi/sd.c | if (SCpnt->use_sg < max_sg) SCpnt->use_sg++; |
use_sg | 693 | drivers/scsi/sd.c | if(count < SCpnt->use_sg || SCpnt->use_sg > SCpnt->host->sg_tablesize){ |
use_sg | 695 | drivers/scsi/sd.c | printk("Use sg, count %d %x %d\n", SCpnt->use_sg, count, dma_free_sectors); |
use_sg | 701 | drivers/scsi/sd.c | if(SCpnt->use_sg < 16) |
use_sg | 702 | drivers/scsi/sd.c | for(count=0; count<SCpnt->use_sg; count++) |
use_sg | 711 | drivers/scsi/sd.c | for(count=0; count<SCpnt->use_sg; count++) |
use_sg | 720 | drivers/scsi/sd.c | if(SCpnt->use_sg == 0){ |
use_sg | 894 | drivers/scsi/seagate.c | if ((nobuffs = SCint->use_sg)) { |
use_sg | 150 | drivers/scsi/sr.c | if (SCpnt->use_sg == 0) { |
use_sg | 179 | drivers/scsi/sr.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 214 | drivers/scsi/sr.c | if (SCpnt->use_sg) { |
use_sg | 218 | drivers/scsi/sr.c | for(i=0; i<SCpnt->use_sg; i++) { |
use_sg | 621 | drivers/scsi/sr.c | SCpnt->use_sg = 0; |
use_sg | 655 | drivers/scsi/sr.c | SCpnt->use_sg = count; /* Number of chains */ |
use_sg | 657 | drivers/scsi/sr.c | while( count < (SCpnt->use_sg * sizeof(struct scatterlist))) |
use_sg | 663 | drivers/scsi/sr.c | SCpnt->use_sg = 0; /* No memory left - bail out */ |
use_sg | 676 | drivers/scsi/sr.c | for(bh = SCpnt->request.bh; count < SCpnt->use_sg; |
use_sg | 687 | drivers/scsi/sr.c | if (count+1 != SCpnt->use_sg) panic("Bad sr request list"); |
use_sg | 712 | drivers/scsi/sr.c | SCpnt->use_sg = 0; |
use_sg | 719 | drivers/scsi/sr.c | printk("SR: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector, |
use_sg | 723 | drivers/scsi/sr.c | for(count=0; count<SCpnt->use_sg; count++) |
use_sg | 732 | drivers/scsi/sr.c | if (SCpnt->use_sg == 0){ |
use_sg | 805 | drivers/scsi/sr.c | printk("Use sg: %d\n", SCpnt->use_sg); |
use_sg | 214 | drivers/scsi/u14-34f.c | unsigned char use_sg; /* (if sg is set) 8 bytes per list */ |
use_sg | 507 | drivers/scsi/u14-34f.c | for (k = 0; k < SCpnt->use_sg; k++) { |
use_sg | 513 | drivers/scsi/u14-34f.c | cpp->use_sg = SCpnt->use_sg; |
use_sg | 578 | drivers/scsi/u14-34f.c | if (SCpnt->use_sg) { |
use_sg | 652 | drivers/scsi/ultrastor.c | max = SCpnt->use_sg; |
use_sg | 708 | drivers/scsi/ultrastor.c | if (SCpnt->use_sg) { |
use_sg | 909 | drivers/scsi/wd7000.c | if (SCpnt->use_sg) { |
use_sg | 917 | drivers/scsi/wd7000.c | printk("Using scatter/gather with %d elements.\n",SCpnt->use_sg); |
use_sg | 923 | drivers/scsi/wd7000.c | any2scsi(scb->maxlen, SCpnt->use_sg * sizeof (Sgb) ); |
use_sg | 925 | drivers/scsi/wd7000.c | for (i = 0; i < SCpnt->use_sg; i++) { |