taglinefilesource code
use_sg2289drivers/scsi/53c7,8xx.cdatain = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3;
use_sg2302drivers/scsi/53c7,8xx.ccmd->use_sg);
use_sg2305drivers/scsi/53c7,8xx.cdataout = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3;
use_sg2323drivers/scsi/53c7,8xx.cdatain = dataout = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3;
use_sg2503drivers/scsi/53c7,8xx.cfor (i = 0; cmd->use_sg ? (i < cmd->use_sg) : !i; cmd_datain += 4, 
use_sg2505drivers/scsi/53c7,8xx.cunsigned long buf = (unsigned long) (cmd->use_sg ? 
use_sg2508drivers/scsi/53c7,8xx.cunsigned long count = (unsigned long) (cmd->use_sg ?
use_sg305drivers/scsi/NCR5380.cif (cmd->use_sg) {
use_sg307drivers/scsi/NCR5380.ccmd->SCp.buffers_residual = cmd->use_sg - 1;
use_sg796drivers/scsi/aha152x.cSCpnt->cmd_len, SCpnt->use_sg, SCpnt->request_bufflen );
use_sg810drivers/scsi/aha152x.cif (SCpnt->use_sg)
use_sg815drivers/scsi/aha152x.cSCpnt->SCp.buffers_residual = SCpnt->use_sg - 1;
use_sg600drivers/scsi/aha1542.cif (SCpnt->use_sg) {
use_sg612drivers/scsi/aha1542.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg613drivers/scsi/aha1542.cif(sgpnt[i].length == 0 || SCpnt->use_sg > 16 || 
use_sg616drivers/scsi/aha1542.cprintk("Bad segment list supplied to aha1542.c (%d, %d)\n",SCpnt->use_sg,i);
use_sg617drivers/scsi/aha1542.cfor(i=0;i<SCpnt->use_sg;i++){
use_sg630drivers/scsi/aha1542.cany2scsi(ccb[mbo].datalen, SCpnt->use_sg * sizeof(struct chain));
use_sg317drivers/scsi/aha1740.cif (SCpnt->use_sg)
use_sg330drivers/scsi/aha1740.cfor(i=0; i<SCpnt->use_sg; i++)
use_sg335drivers/scsi/aha1740.cecb[ecbno].datalen = SCpnt->use_sg * sizeof(struct aha1740_chain);
use_sg366drivers/scsi/aha274x.csegments = cmd->use_sg - sg_last;
use_sg369drivers/scsi/aha274x.cif (cmd->use_sg) {
use_sg371drivers/scsi/aha274x.ci < cmd->use_sg && i < segments;
use_sg388drivers/scsi/aha274x.cif (cmd->use_sg) {
use_sg389drivers/scsi/aha274x.cfor (i = 0; i < cmd->use_sg; i++)
use_sg1106drivers/scsi/aha274x.cif (cmd->use_sg) {
use_sg1109drivers/scsi/aha274x.ccmd->use_sg,
use_sg1112drivers/scsi/aha274x.cscb->SG_segment_count = cmd->use_sg;
use_sg712drivers/scsi/buslogic.cif (scpnt->use_sg) {
use_sg727drivers/scsi/buslogic.cif (scpnt->use_sg > shpnt->sg_tablesize) {
use_sg729drivers/scsi/buslogic.cscpnt->use_sg, shpnt->sg_tablesize);
use_sg732drivers/scsi/buslogic.cfor (i = 0; i < scpnt->use_sg; i++) {
use_sg738drivers/scsi/buslogic.cccb[mbo].datalen = scpnt->use_sg * sizeof (struct chain);
use_sg584drivers/scsi/eata.cfor (k = 0; k < SCpnt->use_sg; k++) {
use_sg590drivers/scsi/eata.ccpp->data_len = htonl((SCpnt->use_sg * sizeof(struct sg_list)));
use_sg677drivers/scsi/eata.cif (SCpnt->use_sg) {
use_sg355drivers/scsi/eata_dma.cif (cmd->use_sg) {
use_sg358drivers/scsi/eata_dma.ccp->cp_datalen = htonl(cmd->use_sg*8);
use_sg361drivers/scsi/eata_dma.cfor(i = 0; i < cmd->use_sg; i++, sl++){
use_sg745drivers/scsi/fdomain.cSCinit.use_sg          = 0;
use_sg1342drivers/scsi/fdomain.cSCpnt->use_sg,
use_sg1353drivers/scsi/fdomain.cif (current_SC->use_sg) {
use_sg1358drivers/scsi/fdomain.ccurrent_SC->SCp.buffers_residual = current_SC->use_sg - 1;
use_sg1432drivers/scsi/fdomain.cSCpnt->use_sg,
use_sg492drivers/scsi/in2000.cin2000_nsegment = SCpnt->use_sg;
use_sg494drivers/scsi/in2000.cif(SCpnt->use_sg){
use_sg373drivers/scsi/qlogic.cif (!cmd->use_sg)
use_sg376drivers/scsi/qlogic.csgcount = cmd->use_sg;
use_sg746drivers/scsi/scsi.cSCpnt->use_sg = 0;  /* Reset the scatter-gather flag */
use_sg857drivers/scsi/scsi.cSCpnt->use_sg = 0;  /* Reset the scatter-gather flag */
use_sg965drivers/scsi/scsi.cSCpnt->use_sg = 0;
use_sg1057drivers/scsi/scsi.cSCpnt->old_use_sg = SCpnt->use_sg;
use_sg1209drivers/scsi/scsi.cSCpnt->use_sg = SCpnt->old_use_sg;
use_sg1471drivers/scsi/scsi.cSCpnt->use_sg = SCpnt->old_use_sg;
use_sg1503drivers/scsi/scsi.cSCpnt->use_sg = SCpnt->old_use_sg;
use_sg2027drivers/scsi/scsi.cSCpnt->use_sg = 0;
use_sg2228drivers/scsi/scsi.cSCpnt->use_sg = 0;
use_sg2512drivers/scsi/scsi.cSCpnt->use_sg,
use_sg450drivers/scsi/scsi.hunsigned short use_sg;  /* Number of pieces of scatter-gather */
use_sg86drivers/scsi/scsi_debug.cif (bufflen != 1024 && (!SCpnt->use_sg)) {printk("%x %d\n ",bufflen, SCpnt->use_sg); panic("Bad bufflen");};     \
use_sg92drivers/scsi/scsi_debug.cif (SCpnt->request.current_nr_sectors != 2 && (!SCpnt->use_sg)) panic ("Wrong # blocks");  \
use_sg117drivers/scsi/scsi_debug.cprintk("use_sg: %d",SCpnt->use_sg);
use_sg118drivers/scsi/scsi_debug.cif (SCpnt->use_sg){
use_sg120drivers/scsi/scsi_debug.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg258drivers/scsi/scsi_debug.cif(SCpnt->use_sg){
use_sg289drivers/scsi/scsi_debug.cif (SCpnt->use_sg) printk("Block %x (%d %d)\n",block, SCpnt->request.nr_sectors,
use_sg321drivers/scsi/scsi_debug.cif(SCpnt->use_sg){
use_sg340drivers/scsi/scsi_debug.cif (SCpnt->use_sg && !scsi_debug_errsts)
use_sg354drivers/scsi/scsi_debug.cif (SCpnt->use_sg){
use_sg200drivers/scsi/sd.cprintk("use_sg is %d\n ",SCpnt->use_sg);
use_sg202drivers/scsi/sd.cif (SCpnt->use_sg) {
use_sg206drivers/scsi/sd.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg258drivers/scsi/sd.cif (SCpnt->use_sg) {
use_sg262drivers/scsi/sd.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg552drivers/scsi/sd.cSCpnt->use_sg = 0;
use_sg572drivers/scsi/sd.cSCpnt->use_sg = 0;
use_sg603drivers/scsi/sd.cSCpnt->use_sg = count;  /* Number of chains */
use_sg605drivers/scsi/sd.cwhile( count < (SCpnt->use_sg * sizeof(struct scatterlist))) 
use_sg614drivers/scsi/sd.cSCpnt->use_sg = 0;  /* No memory left - bail out */
use_sg621drivers/scsi/sd.ccount < SCpnt->use_sg && bh; 
use_sg656drivers/scsi/sd.cSCpnt->use_sg = 0;
use_sg659drivers/scsi/sd.cSCpnt->use_sg = count;
use_sg683drivers/scsi/sd.cmax_sg = SCpnt->use_sg;
use_sg695drivers/scsi/sd.cif (SCpnt->use_sg < max_sg) SCpnt->use_sg++;
use_sg701drivers/scsi/sd.cif(count < SCpnt->use_sg || SCpnt->use_sg > SCpnt->host->sg_tablesize){
use_sg703drivers/scsi/sd.cprintk("Use sg, count %d %x %d\n", SCpnt->use_sg, count, dma_free_sectors);
use_sg709drivers/scsi/sd.cif(SCpnt->use_sg < 16)
use_sg710drivers/scsi/sd.cfor(count=0; count<SCpnt->use_sg; count++)
use_sg719drivers/scsi/sd.cfor(count=0; count<SCpnt->use_sg; count++)
use_sg728drivers/scsi/sd.cif(SCpnt->use_sg == 0){
use_sg897drivers/scsi/seagate.cif ((nobuffs = SCint->use_sg)) {
use_sg150drivers/scsi/sr.cif (SCpnt->use_sg == 0) {
use_sg179drivers/scsi/sr.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg214drivers/scsi/sr.cif (SCpnt->use_sg) {
use_sg218drivers/scsi/sr.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg645drivers/scsi/sr.cSCpnt->use_sg = 0;
use_sg679drivers/scsi/sr.cSCpnt->use_sg = count;  /* Number of chains */
use_sg681drivers/scsi/sr.cwhile( count < (SCpnt->use_sg * sizeof(struct scatterlist))) 
use_sg687drivers/scsi/sr.cSCpnt->use_sg = 0;  /* No memory left - bail out */
use_sg700drivers/scsi/sr.cfor(bh = SCpnt->request.bh; count < SCpnt->use_sg; 
use_sg711drivers/scsi/sr.cif (count+1 != SCpnt->use_sg) panic("Bad sr request list");
use_sg736drivers/scsi/sr.cSCpnt->use_sg = 0;
use_sg743drivers/scsi/sr.cprintk("SR: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector,
use_sg747drivers/scsi/sr.cfor(count=0; count<SCpnt->use_sg; count++)
use_sg756drivers/scsi/sr.cif (SCpnt->use_sg == 0){
use_sg829drivers/scsi/sr.cprintk("Use sg: %d\n", SCpnt->use_sg);
use_sg230drivers/scsi/u14-34f.cunsigned char use_sg;                /* (if sg is set) 8 bytes per list */
use_sg533drivers/scsi/u14-34f.cfor (k = 0; k < SCpnt->use_sg; k++) {
use_sg539drivers/scsi/u14-34f.ccpp->use_sg = SCpnt->use_sg;
use_sg604drivers/scsi/u14-34f.cif (SCpnt->use_sg) {
use_sg652drivers/scsi/ultrastor.cmax = SCpnt->use_sg;
use_sg708drivers/scsi/ultrastor.cif (SCpnt->use_sg) {
use_sg909drivers/scsi/wd7000.cif (SCpnt->use_sg)  {
use_sg917drivers/scsi/wd7000.cprintk("Using scatter/gather with %d elements.\n",SCpnt->use_sg);
use_sg923drivers/scsi/wd7000.cany2scsi(scb->maxlen, SCpnt->use_sg * sizeof (Sgb) );
use_sg925drivers/scsi/wd7000.cfor (i = 0;  i < SCpnt->use_sg;  i++)  {