taglinefilesource code
use_sg258drivers/scsi/NCR5380.cif (cmd->use_sg) {
use_sg260drivers/scsi/NCR5380.ccmd->SCp.buffers_residual = cmd->use_sg - 1;
use_sg720drivers/scsi/aha152x.cSCpnt->use_sg,
use_sg734drivers/scsi/aha152x.cif (SCpnt->use_sg)
use_sg739drivers/scsi/aha152x.cSCpnt->SCp.buffers_residual = SCpnt->use_sg - 1;
use_sg479drivers/scsi/aha1542.cif (SCpnt->use_sg) {
use_sg491drivers/scsi/aha1542.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg492drivers/scsi/aha1542.cif(sgpnt[i].length == 0 || SCpnt->use_sg > 16 || 
use_sg495drivers/scsi/aha1542.cprintk("Bad segment list supplied to aha1542.c (%d, %d)\n",SCpnt->use_sg,i);
use_sg496drivers/scsi/aha1542.cfor(i=0;i<SCpnt->use_sg;i++){
use_sg509drivers/scsi/aha1542.cany2scsi(ccb[mbo].datalen, SCpnt->use_sg * sizeof(struct chain));
use_sg309drivers/scsi/aha1740.cif (SCpnt->use_sg)
use_sg322drivers/scsi/aha1740.cfor(i=0; i<SCpnt->use_sg; i++)
use_sg327drivers/scsi/aha1740.cecb[ecbno].datalen = SCpnt->use_sg * sizeof(struct aha1740_chain);
use_sg643drivers/scsi/fdomain.cSCinit.use_sg          = 0;
use_sg1228drivers/scsi/fdomain.cSCpnt->use_sg,
use_sg1239drivers/scsi/fdomain.cif (current_SC->use_sg) {
use_sg1244drivers/scsi/fdomain.ccurrent_SC->SCp.buffers_residual = current_SC->use_sg - 1;
use_sg1313drivers/scsi/fdomain.cSCpnt->use_sg,
use_sg237drivers/scsi/scsi.cSCmd.use_sg  = 0;
use_sg580drivers/scsi/scsi.cSCpnt->use_sg = 0;  /* Reset the scatter-gather flag */
use_sg683drivers/scsi/scsi.cSCpnt->use_sg = 0;  /* Reset the scatter-gather flag */
use_sg769drivers/scsi/scsi.cSCpnt->use_sg = 0;
use_sg771drivers/scsi/scsi.cSCpnt->use_sg = SCpnt->old_use_sg;
use_sg859drivers/scsi/scsi.cSCpnt->old_use_sg = SCpnt->use_sg;
use_sg1242drivers/scsi/scsi.cSCpnt->use_sg = SCpnt->old_use_sg;
use_sg1258drivers/scsi/scsi.cSCpnt->use_sg = SCpnt->old_use_sg;
use_sg1602drivers/scsi/scsi.cSCpnt->use_sg = 0;
use_sg352drivers/scsi/scsi.hunsigned short use_sg;  /* Number of pieces of scatter-gather */
use_sg68drivers/scsi/scsi_debug.cif (bufflen != 1024 && (!SCpnt->use_sg)) {printk("%x %d\n ",bufflen, SCpnt->use_sg); panic("Bad bufflen");};     \
use_sg74drivers/scsi/scsi_debug.cif (SCpnt->request.current_nr_sectors != 2 && (!SCpnt->use_sg)) panic ("Wrong # blocks");  \
use_sg99drivers/scsi/scsi_debug.cprintk("use_sg: %d",SCpnt->use_sg);
use_sg100drivers/scsi/scsi_debug.cif (SCpnt->use_sg){
use_sg102drivers/scsi/scsi_debug.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg224drivers/scsi/scsi_debug.cif(SCpnt->use_sg){
use_sg252drivers/scsi/scsi_debug.cif (SCpnt->use_sg) printk("Block %x (%d %d)\n",block, SCpnt->request.nr_sectors,
use_sg279drivers/scsi/scsi_debug.cif(SCpnt->use_sg){
use_sg291drivers/scsi/scsi_debug.cif (SCpnt->use_sg && !scsi_debug_errsts)
use_sg305drivers/scsi/scsi_debug.cif (SCpnt->use_sg){
use_sg157drivers/scsi/sd.cprintk("use_sg is %d\n ",SCpnt->use_sg);
use_sg159drivers/scsi/sd.cif (SCpnt->use_sg) {
use_sg163drivers/scsi/sd.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg215drivers/scsi/sd.cif (SCpnt->use_sg) {
use_sg219drivers/scsi/sd.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg449drivers/scsi/sd.cSCpnt->use_sg = 0;
use_sg469drivers/scsi/sd.cSCpnt->use_sg = 0;
use_sg487drivers/scsi/sd.cSCpnt->use_sg = count;  /* Number of chains */
use_sg489drivers/scsi/sd.cwhile( count < (SCpnt->use_sg * sizeof(struct scatterlist))) 
use_sg495drivers/scsi/sd.cSCpnt->use_sg = 0;  /* No memory left - bail out */
use_sg502drivers/scsi/sd.cfor(count = 0, bh = SCpnt->request.bh; count < SCpnt->use_sg; 
use_sg531drivers/scsi/sd.cSCpnt->use_sg = 0;
use_sg546drivers/scsi/sd.cif(SCpnt->use_sg == 0){
use_sg895drivers/scsi/seagate.cif ((nobuffs = SCint->use_sg)) {
use_sg123drivers/scsi/sr.cif (SCpnt->use_sg == 0) {
use_sg152drivers/scsi/sr.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg187drivers/scsi/sr.cif (SCpnt->use_sg) {
use_sg191drivers/scsi/sr.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg418drivers/scsi/sr.cSCpnt->use_sg = 0;
use_sg452drivers/scsi/sr.cSCpnt->use_sg = count;  /* Number of chains */
use_sg454drivers/scsi/sr.cwhile( count < (SCpnt->use_sg * sizeof(struct scatterlist))) 
use_sg460drivers/scsi/sr.cSCpnt->use_sg = 0;  /* No memory left - bail out */
use_sg473drivers/scsi/sr.cfor(bh = SCpnt->request.bh; count < SCpnt->use_sg; 
use_sg484drivers/scsi/sr.cif (count+1 != SCpnt->use_sg) panic("Bad sr request list");
use_sg509drivers/scsi/sr.cSCpnt->use_sg = 0;
use_sg516drivers/scsi/sr.cprintk("SG: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector,
use_sg520drivers/scsi/sr.cfor(count=0; count<SCpnt->use_sg; count++)
use_sg529drivers/scsi/sr.cif (SCpnt->use_sg == 0){
use_sg602drivers/scsi/sr.cprintk("Use sg: %d\n", SCpnt->use_sg);
use_sg647drivers/scsi/ultrastor.cmax = SCpnt->use_sg;
use_sg703drivers/scsi/ultrastor.cif (SCpnt->use_sg) {
use_sg375drivers/scsi/wd7000.cif (SCpnt->use_sg)  {
use_sg383drivers/scsi/wd7000.cprintk("Using scatter/gather with %d elements.\n",SCpnt->use_sg);
use_sg390drivers/scsi/wd7000.cif (SCpnt->use_sg > WD7000_SG)
use_sg400drivers/scsi/wd7000.cany2scsi(scb->maxlen, SCpnt->use_sg * sizeof (Sgb) );
use_sg402drivers/scsi/wd7000.cfor (i = 0;  i < SCpnt->use_sg;  i++)  {
use_sg408drivers/scsi/wd7000.cscsi2int(scb->maxlen), SCpnt->use_sg);)