taglinefilesource code
use_sg3542drivers/scsi/53c7,8xx.cdatain = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3;
use_sg3555drivers/scsi/53c7,8xx.ccmd->use_sg);
use_sg3558drivers/scsi/53c7,8xx.cdataout = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3;
use_sg3576drivers/scsi/53c7,8xx.cdatain = dataout = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3;
use_sg3774drivers/scsi/53c7,8xx.cfor (i = 0; cmd->use_sg ? (i < cmd->use_sg) : !i; cmd_datain += 4, 
use_sg3776drivers/scsi/53c7,8xx.cu32 buf = cmd->use_sg ? 
use_sg3779drivers/scsi/53c7,8xx.cu32 count = cmd->use_sg ?
use_sg5717drivers/scsi/53c7,8xx.cif ((buffers = cmd->use_sg)) {
use_sg759drivers/scsi/AM53C974.cif (cmd->use_sg) {
use_sg761drivers/scsi/AM53C974.ccmd->SCp.buffers_residual = cmd->use_sg - 1;
use_sg822drivers/scsi/AM53C974.ccmd->cmnd[0], cmd->target, cmd->lun, cmd->request_bufflen, cmd->use_sg));
use_sg1120drivers/scsi/AM53C974.cif ((hostdata->connected->cmnd[0] == REQUEST_SENSE) && hostdata->connected->use_sg) {
use_sg1123drivers/scsi/AM53C974.chostdata->connected->use_sg = 0; }
use_sg2401drivers/scsi/BusLogic.cint SegmentCount = Command->use_sg;
use_sg327drivers/scsi/NCR5380.cif (cmd->use_sg) {
use_sg329drivers/scsi/NCR5380.ccmd->SCp.buffers_residual = cmd->use_sg - 1;
use_sg867drivers/scsi/NCR53c406a.cif (!current_SC->use_sg) /* Don't use scatter-gather */
use_sg871drivers/scsi/NCR53c406a.csgcount = current_SC->use_sg;
use_sg896drivers/scsi/NCR53c406a.cif (!current_SC->use_sg) /* Don't use scatter-gather */
use_sg900drivers/scsi/NCR53c406a.csgcount = current_SC->use_sg;
use_sg91drivers/scsi/a2091.cif (cmd->use_sg)
use_sg161drivers/scsi/a2091.cif (SCpnt && SCpnt->use_sg) {
use_sg76drivers/scsi/a3000.cif (cmd->use_sg) {
use_sg159drivers/scsi/a3000.cif (SCpnt && SCpnt->use_sg) {
use_sg3726drivers/scsi/advansys.cif (scp->use_sg == 0) {
use_sg3744drivers/scsi/advansys.cif (scp->use_sg > ASC_MAX_SG_LIST) {
use_sg3746drivers/scsi/advansys.cscp->use_sg, ASC_MAX_SG_LIST);
use_sg3764drivers/scsi/advansys.csghead.entry_cnt = scsiq.q1.sg_queue_cnt = scp->use_sg;
use_sg3771drivers/scsi/advansys.cfor (sgcnt = 0; sgcnt < scp->use_sg; sgcnt++, slp++) {
use_sg893drivers/scsi/aha152x.cSCpnt->cmd_len, SCpnt->use_sg, SCpnt->request_bufflen);
use_sg907drivers/scsi/aha152x.cif (SCpnt->use_sg)
use_sg913drivers/scsi/aha152x.cSCpnt->SCp.buffers_residual = SCpnt->use_sg - 1;
use_sg604drivers/scsi/aha1542.cif (SCpnt->use_sg) {
use_sg616drivers/scsi/aha1542.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg617drivers/scsi/aha1542.cif(sgpnt[i].length == 0 || SCpnt->use_sg > 16 || 
use_sg620drivers/scsi/aha1542.cprintk("Bad segment list supplied to aha1542.c (%d, %d)\n",SCpnt->use_sg,i);
use_sg621drivers/scsi/aha1542.cfor(i=0;i<SCpnt->use_sg;i++){
use_sg634drivers/scsi/aha1542.cany2scsi(ccb[mbo].datalen, SCpnt->use_sg * sizeof(struct chain));
use_sg324drivers/scsi/aha1740.cif (SCpnt->use_sg)
use_sg337drivers/scsi/aha1740.cfor(i=0; i<SCpnt->use_sg; i++)
use_sg342drivers/scsi/aha1740.cecb[ecbno].datalen = SCpnt->use_sg * sizeof(struct aha1740_chain);
use_sg1045drivers/scsi/aic7xxx.csegments = cmd->use_sg - sg_last;
use_sg1048drivers/scsi/aic7xxx.cif (cmd->use_sg)
use_sg1050drivers/scsi/aic7xxx.cfor (i = length = 0; (i < cmd->use_sg) && (i < segments); i++)
use_sg4193drivers/scsi/aic7xxx.cif (cmd->use_sg)
use_sg4195drivers/scsi/aic7xxx.cscb->SG_segment_count = cmd->use_sg;
use_sg4203drivers/scsi/aic7xxx.ccmd->use_sg, aic7xxx_length(cmd, 0), scb->data_count);
use_sg573drivers/scsi/atari_NCR5380.cif (cmd->use_sg) {
use_sg575drivers/scsi/atari_NCR5380.ccmd->SCp.buffers_residual = cmd->use_sg - 1;
use_sg599drivers/scsi/eata.cfor (k = 0; k < SCpnt->use_sg; k++) {
use_sg605drivers/scsi/eata.ccpp->data_len = htonl((SCpnt->use_sg * sizeof(struct sg_list)));
use_sg693drivers/scsi/eata.cif (SCpnt->use_sg) {
use_sg529drivers/scsi/eata_dma.cif (cmd->use_sg) {
use_sg539drivers/scsi/eata_dma.cccb->cp_datalen = htonl(cmd->use_sg * sizeof(struct eata_sg_list));
use_sg541drivers/scsi/eata_dma.cfor(i = 0; i < cmd->use_sg; i++, sl++){
use_sg182drivers/scsi/eata_dma_proc.cscmd.use_sg = 0;
use_sg366drivers/scsi/eata_pio.cif (cmd->use_sg == 0)
use_sg374drivers/scsi/eata_pio.ccmd->SCp.buffers_residual = cmd->use_sg;
use_sg641drivers/scsi/esp.cif(!SCpnt->use_sg) {
use_sg656drivers/scsi/esp.cSCpnt->buffer, SCpnt->use_sg);
use_sg659drivers/scsi/esp.cSCpnt->SCp.buffers_residual = SCpnt->use_sg - 1;
use_sg715drivers/scsi/esp.cif(!done_SC->use_sg) {
use_sg725drivers/scsi/esp.cdone_SC->use_sg - 1,
use_sg922drivers/scsi/esp.cif(SCptr->use_sg)
use_sg949drivers/scsi/esp.cif(SCptr->use_sg)
use_sg1010drivers/scsi/esp.cif(SCptr->use_sg) {
use_sg1079drivers/scsi/fdomain.cSCinit.use_sg          = 0;
use_sg1715drivers/scsi/fdomain.cSCpnt->use_sg,
use_sg1726drivers/scsi/fdomain.cif (current_SC->use_sg) {
use_sg1731drivers/scsi/fdomain.ccurrent_SC->SCp.buffers_residual = current_SC->use_sg - 1;
use_sg1805drivers/scsi/fdomain.cSCpnt->use_sg,
use_sg100drivers/scsi/gvp11.cif (cmd->use_sg)
use_sg148drivers/scsi/gvp11.cif (SCpnt && SCpnt->use_sg) {
use_sg391drivers/scsi/in2000.cif (cmd->use_sg) {
use_sg393drivers/scsi/in2000.ccmd->SCp.buffers_residual = cmd->use_sg - 1;
use_sg386drivers/scsi/qlogic.cif (!cmd->use_sg)
use_sg389drivers/scsi/qlogic.csgcount = cmd->use_sg;
use_sg988drivers/scsi/scsi.cSCpnt->use_sg = 0;               /* Reset the scatter-gather flag */
use_sg1160drivers/scsi/scsi.cSCpnt->use_sg = 0;            /* Reset the scatter-gather flag */
use_sg1282drivers/scsi/scsi.cSCpnt->use_sg = 0;
use_sg1378drivers/scsi/scsi.cSCpnt->old_use_sg = SCpnt->use_sg;
use_sg1513drivers/scsi/scsi.cSCpnt->use_sg = SCpnt->old_use_sg;
use_sg1782drivers/scsi/scsi.cSCpnt->use_sg = SCpnt->old_use_sg;
use_sg1813drivers/scsi/scsi.cSCpnt->use_sg = SCpnt->old_use_sg;
use_sg2459drivers/scsi/scsi.cSCpnt->use_sg = 0;
use_sg3340drivers/scsi/scsi.cSCpnt->use_sg,
use_sg378drivers/scsi/scsi.hunsigned short use_sg;  /* Number of pieces of scatter-gather */
use_sg96drivers/scsi/scsi_debug.cif (bufflen != 1024 && (!SCpnt->use_sg)) {printk("%x %d\n ",bufflen, SCpnt->use_sg); panic("Bad bufflen");};    \
use_sg102drivers/scsi/scsi_debug.cif (SCpnt->request.current_nr_sectors != 2 && (!SCpnt->use_sg)) panic ("Wrong # blocks");   \
use_sg135drivers/scsi/scsi_debug.cprintk("use_sg: %d",SCpnt->use_sg);
use_sg136drivers/scsi/scsi_debug.cif (SCpnt->use_sg){
use_sg138drivers/scsi/scsi_debug.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg286drivers/scsi/scsi_debug.cif(SCpnt->use_sg){
use_sg318drivers/scsi/scsi_debug.cif (SCpnt->use_sg) printk("Block %x (%d %d)\n",block, SCpnt->request.nr_sectors,
use_sg351drivers/scsi/scsi_debug.cif(SCpnt->use_sg){
use_sg370drivers/scsi/scsi_debug.cif (SCpnt->use_sg && !scsi_debug_errsts)
use_sg384drivers/scsi/scsi_debug.cif (SCpnt->use_sg){
use_sg237drivers/scsi/sd.cprintk("use_sg is %d\n ",SCpnt->use_sg);
use_sg239drivers/scsi/sd.cif (SCpnt->use_sg) {
use_sg243drivers/scsi/sd.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg299drivers/scsi/sd.cif (SCpnt->use_sg) {
use_sg303drivers/scsi/sd.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg629drivers/scsi/sd.cSCpnt->use_sg = 0;
use_sg648drivers/scsi/sd.cSCpnt->use_sg = 0;
use_sg679drivers/scsi/sd.cSCpnt->use_sg = count;  /* Number of chains */
use_sg681drivers/scsi/sd.cwhile( count < (SCpnt->use_sg * sizeof(struct scatterlist))) 
use_sg690drivers/scsi/sd.cSCpnt->use_sg = 0;    /* No memory left - bail out */
use_sg700drivers/scsi/sd.ccount < SCpnt->use_sg && bh; 
use_sg739drivers/scsi/sd.cSCpnt->use_sg = 0;
use_sg742drivers/scsi/sd.cSCpnt->use_sg = count;
use_sg767drivers/scsi/sd.cmax_sg = SCpnt->use_sg;
use_sg780drivers/scsi/sd.cif (SCpnt->use_sg < max_sg) SCpnt->use_sg++;
use_sg787drivers/scsi/sd.cif(count < SCpnt->use_sg || SCpnt->use_sg 
use_sg791drivers/scsi/sd.cSCpnt->use_sg, count, dma_free_sectors);
use_sg798drivers/scsi/sd.cif(SCpnt->use_sg < 16)
use_sg799drivers/scsi/sd.cfor(count=0; count<SCpnt->use_sg; count++)
use_sg808drivers/scsi/sd.cfor(count=0; count<SCpnt->use_sg; count++)
use_sg817drivers/scsi/sd.cif(SCpnt->use_sg == 0){
use_sg935drivers/scsi/seagate.cif ((nobuffs = SCint->use_sg)) {
use_sg160drivers/scsi/sr.cif (SCpnt->use_sg == 0) {
use_sg189drivers/scsi/sr.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg224drivers/scsi/sr.cif (SCpnt->use_sg) {
use_sg228drivers/scsi/sr.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg720drivers/scsi/sr.cSCpnt->use_sg = 0;
use_sg754drivers/scsi/sr.cSCpnt->use_sg = count;  /* Number of chains */
use_sg756drivers/scsi/sr.cwhile( count < (SCpnt->use_sg * sizeof(struct scatterlist))) 
use_sg762drivers/scsi/sr.cSCpnt->use_sg = 0;  /* No memory left - bail out */
use_sg775drivers/scsi/sr.cfor(bh = SCpnt->request.bh; count < SCpnt->use_sg; 
use_sg786drivers/scsi/sr.cif (count+1 != SCpnt->use_sg) panic("Bad sr request list");
use_sg811drivers/scsi/sr.cSCpnt->use_sg = 0;
use_sg818drivers/scsi/sr.cprintk("SR: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector,
use_sg822drivers/scsi/sr.cfor(count=0; count<SCpnt->use_sg; count++)
use_sg831drivers/scsi/sr.cif (SCpnt->use_sg == 0){
use_sg904drivers/scsi/sr.cprintk("Use sg: %d\n", SCpnt->use_sg);
use_sg253drivers/scsi/u14-34f.cunsigned char use_sg;                /* (if sg is set) 8 bytes per list */
use_sg563drivers/scsi/u14-34f.cfor (k = 0; k < SCpnt->use_sg; k++) {
use_sg569drivers/scsi/u14-34f.ccpp->use_sg = SCpnt->use_sg;
use_sg648drivers/scsi/u14-34f.cif (SCpnt->use_sg) {
use_sg663drivers/scsi/ultrastor.cmax = SCpnt->use_sg;
use_sg719drivers/scsi/ultrastor.cif (SCpnt->use_sg) {
use_sg308drivers/scsi/wd33c93.cif (cmd->use_sg) {
use_sg310drivers/scsi/wd33c93.ccmd->SCp.buffers_residual = cmd->use_sg - 1;
use_sg920drivers/scsi/wd7000.cif (SCpnt->use_sg)  {
use_sg928drivers/scsi/wd7000.cprintk("Using scatter/gather with %d elements.\n",SCpnt->use_sg);
use_sg934drivers/scsi/wd7000.cany2scsi(scb->maxlen, SCpnt->use_sg * sizeof (Sgb) );
use_sg936drivers/scsi/wd7000.cfor (i = 0;  i < SCpnt->use_sg;  i++)  {