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_sg770drivers/scsi/aha152x.cSCpnt->cmd_len, SCpnt->use_sg, SCpnt->request_bufflen );
use_sg784drivers/scsi/aha152x.cif (SCpnt->use_sg)
use_sg789drivers/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_sg551drivers/scsi/eata.cfor (k = 0; k < SCpnt->use_sg; k++) {
use_sg557drivers/scsi/eata.ccpp->data_len = htonl((SCpnt->use_sg * sizeof(struct sg_list)));
use_sg636drivers/scsi/eata.cif (SCpnt->use_sg) {
use_sg343drivers/scsi/eata_dma.cif (cmd->use_sg) {
use_sg346drivers/scsi/eata_dma.ccp->cp_datalen = htonl(cmd->use_sg*8);
use_sg349drivers/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_sg350drivers/scsi/qlogic.cif (!cmd->use_sg)
use_sg353drivers/scsi/qlogic.csgcount = cmd->use_sg;
use_sg362drivers/scsi/scsi.cSCmd.use_sg  = 0;
use_sg747drivers/scsi/scsi.cSCpnt->use_sg = 0;  /* Reset the scatter-gather flag */
use_sg858drivers/scsi/scsi.cSCpnt->use_sg = 0;  /* Reset the scatter-gather flag */
use_sg966drivers/scsi/scsi.cSCpnt->use_sg = 0;
use_sg1058drivers/scsi/scsi.cSCpnt->old_use_sg = SCpnt->use_sg;
use_sg1210drivers/scsi/scsi.cSCpnt->use_sg = SCpnt->old_use_sg;
use_sg1472drivers/scsi/scsi.cSCpnt->use_sg = SCpnt->old_use_sg;
use_sg1504drivers/scsi/scsi.cSCpnt->use_sg = SCpnt->old_use_sg;
use_sg2009drivers/scsi/scsi.cSCpnt->use_sg = 0;
use_sg2196drivers/scsi/scsi.cSCpnt->use_sg = 0;
use_sg2463drivers/scsi/scsi.cSCpnt->use_sg,
use_sg449drivers/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_sg544drivers/scsi/sd.cSCpnt->use_sg = 0;
use_sg564drivers/scsi/sd.cSCpnt->use_sg = 0;
use_sg595drivers/scsi/sd.cSCpnt->use_sg = count;  /* Number of chains */
use_sg597drivers/scsi/sd.cwhile( count < (SCpnt->use_sg * sizeof(struct scatterlist))) 
use_sg606drivers/scsi/sd.cSCpnt->use_sg = 0;  /* No memory left - bail out */
use_sg613drivers/scsi/sd.ccount < SCpnt->use_sg && bh; 
use_sg648drivers/scsi/sd.cSCpnt->use_sg = 0;
use_sg651drivers/scsi/sd.cSCpnt->use_sg = count;
use_sg675drivers/scsi/sd.cmax_sg = SCpnt->use_sg;
use_sg687drivers/scsi/sd.cif (SCpnt->use_sg < max_sg) SCpnt->use_sg++;
use_sg693drivers/scsi/sd.cif(count < SCpnt->use_sg || SCpnt->use_sg > SCpnt->host->sg_tablesize){
use_sg695drivers/scsi/sd.cprintk("Use sg, count %d %x %d\n", SCpnt->use_sg, count, dma_free_sectors);
use_sg701drivers/scsi/sd.cif(SCpnt->use_sg < 16)
use_sg702drivers/scsi/sd.cfor(count=0; count<SCpnt->use_sg; count++)
use_sg711drivers/scsi/sd.cfor(count=0; count<SCpnt->use_sg; count++)
use_sg720drivers/scsi/sd.cif(SCpnt->use_sg == 0){
use_sg894drivers/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_sg621drivers/scsi/sr.cSCpnt->use_sg = 0;
use_sg655drivers/scsi/sr.cSCpnt->use_sg = count;  /* Number of chains */
use_sg657drivers/scsi/sr.cwhile( count < (SCpnt->use_sg * sizeof(struct scatterlist))) 
use_sg663drivers/scsi/sr.cSCpnt->use_sg = 0;  /* No memory left - bail out */
use_sg676drivers/scsi/sr.cfor(bh = SCpnt->request.bh; count < SCpnt->use_sg; 
use_sg687drivers/scsi/sr.cif (count+1 != SCpnt->use_sg) panic("Bad sr request list");
use_sg712drivers/scsi/sr.cSCpnt->use_sg = 0;
use_sg719drivers/scsi/sr.cprintk("SR: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector,
use_sg723drivers/scsi/sr.cfor(count=0; count<SCpnt->use_sg; count++)
use_sg732drivers/scsi/sr.cif (SCpnt->use_sg == 0){
use_sg805drivers/scsi/sr.cprintk("Use sg: %d\n", SCpnt->use_sg);
use_sg214drivers/scsi/u14-34f.cunsigned char use_sg;                /* (if sg is set) 8 bytes per list */
use_sg507drivers/scsi/u14-34f.cfor (k = 0; k < SCpnt->use_sg; k++) {
use_sg513drivers/scsi/u14-34f.ccpp->use_sg = SCpnt->use_sg;
use_sg578drivers/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++)  {