taglinefilesource code
use_sg3513drivers/scsi/53c7,8xx.cdatain = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3;
use_sg3526drivers/scsi/53c7,8xx.ccmd->use_sg);
use_sg3529drivers/scsi/53c7,8xx.cdataout = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3;
use_sg3547drivers/scsi/53c7,8xx.cdatain = dataout = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3;
use_sg3745drivers/scsi/53c7,8xx.cfor (i = 0; cmd->use_sg ? (i < cmd->use_sg) : !i; cmd_datain += 4, 
use_sg3747drivers/scsi/53c7,8xx.cu32 buf = cmd->use_sg ? 
use_sg3750drivers/scsi/53c7,8xx.cu32 count = cmd->use_sg ?
use_sg5709drivers/scsi/53c7,8xx.cif ((buffers = cmd->use_sg)) {
use_sg1936drivers/scsi/BusLogic.cint SegmentCount = Command->use_sg;
use_sg305drivers/scsi/NCR5380.cif (cmd->use_sg) {
use_sg307drivers/scsi/NCR5380.ccmd->SCp.buffers_residual = cmd->use_sg - 1;
use_sg857drivers/scsi/NCR53c406a.cif (!current_SC->use_sg)  /* Don't use scatter-gather */
use_sg861drivers/scsi/NCR53c406a.csgcount = current_SC->use_sg;
use_sg886drivers/scsi/NCR53c406a.cif (!current_SC->use_sg)  /* Don't use scatter-gather */
use_sg890drivers/scsi/NCR53c406a.csgcount = current_SC->use_sg;
use_sg874drivers/scsi/aha152x.cSCpnt->cmd_len, SCpnt->use_sg, SCpnt->request_bufflen);
use_sg888drivers/scsi/aha152x.cif (SCpnt->use_sg)
use_sg894drivers/scsi/aha152x.cSCpnt->SCp.buffers_residual = SCpnt->use_sg - 1;
use_sg607drivers/scsi/aha1542.cif (SCpnt->use_sg) {
use_sg619drivers/scsi/aha1542.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg620drivers/scsi/aha1542.cif(sgpnt[i].length == 0 || SCpnt->use_sg > 16 || 
use_sg623drivers/scsi/aha1542.cprintk("Bad segment list supplied to aha1542.c (%d, %d)\n",SCpnt->use_sg,i);
use_sg624drivers/scsi/aha1542.cfor(i=0;i<SCpnt->use_sg;i++){
use_sg637drivers/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_sg1527drivers/scsi/aic7xxx.csegments = cmd->use_sg - sg_last;
use_sg1530drivers/scsi/aic7xxx.cif (cmd->use_sg)
use_sg1532drivers/scsi/aic7xxx.cfor (i = length = 0; (i < cmd->use_sg) && (i < segments); i++)
use_sg4494drivers/scsi/aic7xxx.cif (cmd->use_sg)
use_sg4498drivers/scsi/aic7xxx.ccmd->use_sg, length);
use_sg4500drivers/scsi/aic7xxx.cscb->SG_segment_count = cmd->use_sg;
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_sg1017drivers/scsi/fdomain.cSCinit.use_sg          = 0;
use_sg1653drivers/scsi/fdomain.cSCpnt->use_sg,
use_sg1664drivers/scsi/fdomain.cif (current_SC->use_sg) {
use_sg1669drivers/scsi/fdomain.ccurrent_SC->SCp.buffers_residual = current_SC->use_sg - 1;
use_sg1743drivers/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_sg916drivers/scsi/scsi.cSCpnt->use_sg = 0;               /* Reset the scatter-gather flag */
use_sg1072drivers/scsi/scsi.cSCpnt->use_sg = 0;            /* Reset the scatter-gather flag */
use_sg1190drivers/scsi/scsi.cSCpnt->use_sg = 0;
use_sg1284drivers/scsi/scsi.cSCpnt->old_use_sg = SCpnt->use_sg;
use_sg1418drivers/scsi/scsi.cSCpnt->use_sg = SCpnt->old_use_sg;
use_sg1683drivers/scsi/scsi.cSCpnt->use_sg = SCpnt->old_use_sg;
use_sg1714drivers/scsi/scsi.cSCpnt->use_sg = SCpnt->old_use_sg;
use_sg2284drivers/scsi/scsi.cSCpnt->use_sg = 0;
use_sg3075drivers/scsi/scsi.cSCpnt->use_sg,
use_sg362drivers/scsi/scsi.hunsigned short use_sg;  /* Number of pieces of scatter-gather */
use_sg99drivers/scsi/scsi_debug.cif (bufflen != 1024 && (!SCpnt->use_sg)) {printk("%x %d\n ",bufflen, SCpnt->use_sg); panic("Bad bufflen");};    \
use_sg105drivers/scsi/scsi_debug.cif (SCpnt->request.current_nr_sectors != 2 && (!SCpnt->use_sg)) panic ("Wrong # blocks");   \
use_sg138drivers/scsi/scsi_debug.cprintk("use_sg: %d",SCpnt->use_sg);
use_sg139drivers/scsi/scsi_debug.cif (SCpnt->use_sg){
use_sg141drivers/scsi/scsi_debug.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg289drivers/scsi/scsi_debug.cif(SCpnt->use_sg){
use_sg321drivers/scsi/scsi_debug.cif (SCpnt->use_sg) printk("Block %x (%d %d)\n",block, SCpnt->request.nr_sectors,
use_sg354drivers/scsi/scsi_debug.cif(SCpnt->use_sg){
use_sg373drivers/scsi/scsi_debug.cif (SCpnt->use_sg && !scsi_debug_errsts)
use_sg387drivers/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_sg159drivers/scsi/sr.cif (SCpnt->use_sg == 0) {
use_sg188drivers/scsi/sr.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg223drivers/scsi/sr.cif (SCpnt->use_sg) {
use_sg227drivers/scsi/sr.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg716drivers/scsi/sr.cSCpnt->use_sg = 0;
use_sg750drivers/scsi/sr.cSCpnt->use_sg = count;  /* Number of chains */
use_sg752drivers/scsi/sr.cwhile( count < (SCpnt->use_sg * sizeof(struct scatterlist))) 
use_sg758drivers/scsi/sr.cSCpnt->use_sg = 0;  /* No memory left - bail out */
use_sg771drivers/scsi/sr.cfor(bh = SCpnt->request.bh; count < SCpnt->use_sg; 
use_sg782drivers/scsi/sr.cif (count+1 != SCpnt->use_sg) panic("Bad sr request list");
use_sg807drivers/scsi/sr.cSCpnt->use_sg = 0;
use_sg814drivers/scsi/sr.cprintk("SR: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector,
use_sg818drivers/scsi/sr.cfor(count=0; count<SCpnt->use_sg; count++)
use_sg827drivers/scsi/sr.cif (SCpnt->use_sg == 0){
use_sg900drivers/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++)  {