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_sg2035drivers/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_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_sg889drivers/scsi/aha152x.cSCpnt->cmd_len, SCpnt->use_sg, SCpnt->request_bufflen);
use_sg903drivers/scsi/aha152x.cif (SCpnt->use_sg)
use_sg909drivers/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_sg1039drivers/scsi/aic7xxx.csegments = cmd->use_sg - sg_last;
use_sg1042drivers/scsi/aic7xxx.cif (cmd->use_sg)
use_sg1044drivers/scsi/aic7xxx.cfor (i = length = 0; (i < cmd->use_sg) && (i < segments); i++)
use_sg4094drivers/scsi/aic7xxx.cif (cmd->use_sg)
use_sg4096drivers/scsi/aic7xxx.cscb->SG_segment_count = cmd->use_sg;
use_sg4104drivers/scsi/aic7xxx.ccmd->use_sg, aic7xxx_length(cmd, 0), scb->data_count);
use_sg596drivers/scsi/eata.cfor (k = 0; k < SCpnt->use_sg; k++) {
use_sg602drivers/scsi/eata.ccpp->data_len = htonl((SCpnt->use_sg * sizeof(struct sg_list)));
use_sg689drivers/scsi/eata.cif (SCpnt->use_sg) {
use_sg470drivers/scsi/eata_dma.cif (cmd->use_sg) {
use_sg480drivers/scsi/eata_dma.ccp->cp_datalen = htonl(cmd->use_sg * sizeof(struct eata_sg_list));
use_sg482drivers/scsi/eata_dma.cfor(i = 0; i < cmd->use_sg; i++, sl++){
use_sg182drivers/scsi/eata_dma_proc.cscmd.use_sg = 0;
use_sg363drivers/scsi/eata_pio.cif (cmd->use_sg == 0)
use_sg371drivers/scsi/eata_pio.ccmd->SCp.buffers_residual = cmd->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_sg502drivers/scsi/in2000.cin2000_nsegment = SCpnt->use_sg;
use_sg504drivers/scsi/in2000.cif(SCpnt->use_sg){
use_sg386drivers/scsi/qlogic.cif (!cmd->use_sg)
use_sg389drivers/scsi/qlogic.csgcount = cmd->use_sg;
use_sg960drivers/scsi/scsi.cSCpnt->use_sg = 0;               /* Reset the scatter-gather flag */
use_sg1131drivers/scsi/scsi.cSCpnt->use_sg = 0;            /* Reset the scatter-gather flag */
use_sg1249drivers/scsi/scsi.cSCpnt->use_sg = 0;
use_sg1343drivers/scsi/scsi.cSCpnt->old_use_sg = SCpnt->use_sg;
use_sg1477drivers/scsi/scsi.cSCpnt->use_sg = SCpnt->old_use_sg;
use_sg1742drivers/scsi/scsi.cSCpnt->use_sg = SCpnt->old_use_sg;
use_sg1773drivers/scsi/scsi.cSCpnt->use_sg = SCpnt->old_use_sg;
use_sg2341drivers/scsi/scsi.cSCpnt->use_sg = 0;
use_sg3139drivers/scsi/scsi.cSCpnt->use_sg,
use_sg362drivers/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_sg768drivers/scsi/sd.cmax_sg = SCpnt->use_sg;
use_sg781drivers/scsi/sd.cif (SCpnt->use_sg < max_sg) SCpnt->use_sg++;
use_sg788drivers/scsi/sd.cif(count < SCpnt->use_sg || SCpnt->use_sg 
use_sg792drivers/scsi/sd.cSCpnt->use_sg, count, dma_free_sectors);
use_sg799drivers/scsi/sd.cif(SCpnt->use_sg < 16)
use_sg800drivers/scsi/sd.cfor(count=0; count<SCpnt->use_sg; count++)
use_sg809drivers/scsi/sd.cfor(count=0; count<SCpnt->use_sg; count++)
use_sg818drivers/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_sg245drivers/scsi/u14-34f.cunsigned char use_sg;                /* (if sg is set) 8 bytes per list */
use_sg555drivers/scsi/u14-34f.cfor (k = 0; k < SCpnt->use_sg; k++) {
use_sg561drivers/scsi/u14-34f.ccpp->use_sg = SCpnt->use_sg;
use_sg626drivers/scsi/u14-34f.cif (SCpnt->use_sg) {
use_sg663drivers/scsi/ultrastor.cmax = SCpnt->use_sg;
use_sg719drivers/scsi/ultrastor.cif (SCpnt->use_sg) {
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++)  {