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 | 566 | drivers/scsi/eata.c | for (k = 0; k < SCpnt->use_sg; k++) { |
use_sg | 572 | drivers/scsi/eata.c | cpp->data_len = htonl((SCpnt->use_sg * sizeof(struct sg_list))); |
use_sg | 659 | drivers/scsi/eata.c | if (SCpnt->use_sg) { |
use_sg | 355 | drivers/scsi/eata_dma.c | if (cmd->use_sg) { |
use_sg | 358 | drivers/scsi/eata_dma.c | cp->cp_datalen = htonl(cmd->use_sg*8); |
use_sg | 361 | 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 | 373 | drivers/scsi/qlogic.c | if (!cmd->use_sg) |
use_sg | 376 | drivers/scsi/qlogic.c | sgcount = cmd->use_sg; |
use_sg | 741 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; /* Reset the scatter-gather flag */ |
use_sg | 852 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; /* Reset the scatter-gather flag */ |
use_sg | 960 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; |
use_sg | 1052 | drivers/scsi/scsi.c | SCpnt->old_use_sg = SCpnt->use_sg; |
use_sg | 1204 | drivers/scsi/scsi.c | SCpnt->use_sg = SCpnt->old_use_sg; |
use_sg | 1466 | drivers/scsi/scsi.c | SCpnt->use_sg = SCpnt->old_use_sg; |
use_sg | 1498 | drivers/scsi/scsi.c | SCpnt->use_sg = SCpnt->old_use_sg; |
use_sg | 2022 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; |
use_sg | 2223 | drivers/scsi/scsi.c | SCpnt->use_sg = 0; |
use_sg | 2507 | 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 | 552 | drivers/scsi/sd.c | SCpnt->use_sg = 0; |
use_sg | 572 | drivers/scsi/sd.c | SCpnt->use_sg = 0; |
use_sg | 603 | drivers/scsi/sd.c | SCpnt->use_sg = count; /* Number of chains */ |
use_sg | 605 | drivers/scsi/sd.c | while( count < (SCpnt->use_sg * sizeof(struct scatterlist))) |
use_sg | 614 | drivers/scsi/sd.c | SCpnt->use_sg = 0; /* No memory left - bail out */ |
use_sg | 621 | drivers/scsi/sd.c | count < SCpnt->use_sg && bh; |
use_sg | 656 | drivers/scsi/sd.c | SCpnt->use_sg = 0; |
use_sg | 659 | drivers/scsi/sd.c | SCpnt->use_sg = count; |
use_sg | 683 | drivers/scsi/sd.c | max_sg = SCpnt->use_sg; |
use_sg | 695 | drivers/scsi/sd.c | if (SCpnt->use_sg < max_sg) SCpnt->use_sg++; |
use_sg | 701 | drivers/scsi/sd.c | if(count < SCpnt->use_sg || SCpnt->use_sg > SCpnt->host->sg_tablesize){ |
use_sg | 703 | drivers/scsi/sd.c | printk("Use sg, count %d %x %d\n", SCpnt->use_sg, count, dma_free_sectors); |
use_sg | 709 | drivers/scsi/sd.c | if(SCpnt->use_sg < 16) |
use_sg | 710 | drivers/scsi/sd.c | for(count=0; count<SCpnt->use_sg; count++) |
use_sg | 719 | drivers/scsi/sd.c | for(count=0; count<SCpnt->use_sg; count++) |
use_sg | 728 | drivers/scsi/sd.c | if(SCpnt->use_sg == 0){ |
use_sg | 896 | 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 | 645 | drivers/scsi/sr.c | SCpnt->use_sg = 0; |
use_sg | 679 | drivers/scsi/sr.c | SCpnt->use_sg = count; /* Number of chains */ |
use_sg | 681 | drivers/scsi/sr.c | while( count < (SCpnt->use_sg * sizeof(struct scatterlist))) |
use_sg | 687 | drivers/scsi/sr.c | SCpnt->use_sg = 0; /* No memory left - bail out */ |
use_sg | 700 | drivers/scsi/sr.c | for(bh = SCpnt->request.bh; count < SCpnt->use_sg; |
use_sg | 711 | drivers/scsi/sr.c | if (count+1 != SCpnt->use_sg) panic("Bad sr request list"); |
use_sg | 736 | drivers/scsi/sr.c | SCpnt->use_sg = 0; |
use_sg | 743 | drivers/scsi/sr.c | printk("SR: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector, |
use_sg | 747 | drivers/scsi/sr.c | for(count=0; count<SCpnt->use_sg; count++) |
use_sg | 756 | drivers/scsi/sr.c | if (SCpnt->use_sg == 0){ |
use_sg | 829 | drivers/scsi/sr.c | printk("Use sg: %d\n", SCpnt->use_sg); |
use_sg | 223 | drivers/scsi/u14-34f.c | unsigned char use_sg; /* (if sg is set) 8 bytes per list */ |
use_sg | 515 | drivers/scsi/u14-34f.c | for (k = 0; k < SCpnt->use_sg; k++) { |
use_sg | 521 | drivers/scsi/u14-34f.c | cpp->use_sg = SCpnt->use_sg; |
use_sg | 586 | 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++) { |