taglinefilesource code
use_sg442kernel/blk_drv/scsi/aha1542.cif (SCpnt->use_sg) {
use_sg454kernel/blk_drv/scsi/aha1542.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg455kernel/blk_drv/scsi/aha1542.cif(sgpnt[i].length == 0 || SCpnt->use_sg > 16 || 
use_sg458kernel/blk_drv/scsi/aha1542.cprintk("Bad segment list supplied to aha1542.c (%d, %d)\n",SCpnt->use_sg,i);
use_sg459kernel/blk_drv/scsi/aha1542.cfor(i=0;i<SCpnt->use_sg++;i++){
use_sg471kernel/blk_drv/scsi/aha1542.cany2scsi(ccb[mbo].datalen, SCpnt->use_sg * sizeof(struct chain));
use_sg270kernel/blk_drv/scsi/aha1740.cif (SCpnt->use_sg) {
use_sg282kernel/blk_drv/scsi/aha1740.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg286kernel/blk_drv/scsi/aha1740.cecb[ecbno].datalen = SCpnt->use_sg * sizeof(struct aha1740_chain);
use_sg485kernel/blk_drv/scsi/fdomain.cSCinit.use_sg = 0;
use_sg1003kernel/blk_drv/scsi/fdomain.cSCpnt->use_sg,
use_sg1014kernel/blk_drv/scsi/fdomain.cif (current_SC->use_sg) {
use_sg1019kernel/blk_drv/scsi/fdomain.ccurrent_SC->SCp.buffers_residual = current_SC->use_sg - 1;
use_sg1247kernel/blk_drv/scsi/fdomain.ccurrent_SC->use_sg,
use_sg195kernel/blk_drv/scsi/scsi.cSCmd.use_sg  = 0;
use_sg442kernel/blk_drv/scsi/scsi.cSCpnt->use_sg = 0;  /* Reset the scatter-gather flag */
use_sg510kernel/blk_drv/scsi/scsi.cSCpnt->use_sg = 0;  /* Reset the scatter-gather flag */
use_sg1371kernel/blk_drv/scsi/scsi.cSCpnt->use_sg = 0;
use_sg333kernel/blk_drv/scsi/scsi.hunsigned short use_sg;  /* Number of pieces of scatter-gather */
use_sg68kernel/blk_drv/scsi/scsi_debug.cif (bufflen != 1024 && (!SCpnt->use_sg)) {printk("%x %d\n ",bufflen, SCpnt->use_sg); panic("Bad bufflen");};     \
use_sg74kernel/blk_drv/scsi/scsi_debug.cif (SCpnt->request.current_nr_sectors != 2 && (!SCpnt->use_sg)) panic ("Wrong # blocks");  \
use_sg99kernel/blk_drv/scsi/scsi_debug.cprintk("use_sg: %d",SCpnt->use_sg);
use_sg100kernel/blk_drv/scsi/scsi_debug.cif (SCpnt->use_sg){
use_sg102kernel/blk_drv/scsi/scsi_debug.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg224kernel/blk_drv/scsi/scsi_debug.cif(SCpnt->use_sg){
use_sg252kernel/blk_drv/scsi/scsi_debug.cif (SCpnt->use_sg) printk("Block %x (%d %d)\n",block, SCpnt->request.nr_sectors,
use_sg279kernel/blk_drv/scsi/scsi_debug.cif(SCpnt->use_sg){
use_sg291kernel/blk_drv/scsi/scsi_debug.cif (SCpnt->use_sg && !scsi_debug_errsts)
use_sg305kernel/blk_drv/scsi/scsi_debug.cif (SCpnt->use_sg){
use_sg157kernel/blk_drv/scsi/sd.cprintk("use_sg is %d\n ",SCpnt->use_sg);
use_sg159kernel/blk_drv/scsi/sd.cif (SCpnt->use_sg) {
use_sg163kernel/blk_drv/scsi/sd.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg216kernel/blk_drv/scsi/sd.cif (SCpnt->use_sg) {
use_sg220kernel/blk_drv/scsi/sd.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg450kernel/blk_drv/scsi/sd.cSCpnt->use_sg = 0;
use_sg470kernel/blk_drv/scsi/sd.cSCpnt->use_sg = 0;
use_sg488kernel/blk_drv/scsi/sd.cSCpnt->use_sg = count;  /* Number of chains */
use_sg490kernel/blk_drv/scsi/sd.cwhile( count < (SCpnt->use_sg * sizeof(struct scatterlist))) 
use_sg496kernel/blk_drv/scsi/sd.cSCpnt->use_sg = 0;  /* No memory left - bail out */
use_sg503kernel/blk_drv/scsi/sd.cfor(count = 0, bh = SCpnt->request.bh; count < SCpnt->use_sg; 
use_sg532kernel/blk_drv/scsi/sd.cSCpnt->use_sg = 0;
use_sg547kernel/blk_drv/scsi/sd.cif(SCpnt->use_sg == 0){
use_sg119kernel/blk_drv/scsi/sr.cif (SCpnt->use_sg == 0) {
use_sg148kernel/blk_drv/scsi/sr.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg186kernel/blk_drv/scsi/sr.cif (SCpnt->use_sg) {
use_sg190kernel/blk_drv/scsi/sr.cfor(i=0; i<SCpnt->use_sg; i++) {
use_sg406kernel/blk_drv/scsi/sr.cSCpnt->use_sg = 0;
use_sg440kernel/blk_drv/scsi/sr.cSCpnt->use_sg = count;  /* Number of chains */
use_sg442kernel/blk_drv/scsi/sr.cwhile( count < (SCpnt->use_sg * sizeof(struct scatterlist))) 
use_sg448kernel/blk_drv/scsi/sr.cSCpnt->use_sg = 0;  /* No memory left - bail out */
use_sg461kernel/blk_drv/scsi/sr.cfor(bh = SCpnt->request.bh; count < SCpnt->use_sg; 
use_sg472kernel/blk_drv/scsi/sr.cif (count+1 != SCpnt->use_sg) panic("Bad sr request list");
use_sg497kernel/blk_drv/scsi/sr.cSCpnt->use_sg = 0;
use_sg504kernel/blk_drv/scsi/sr.cprintk("SG: %d %d %d %d %d *** ",SCpnt->use_sg, SCpnt->request.sector,
use_sg508kernel/blk_drv/scsi/sr.cfor(count=0; count<SCpnt->use_sg; count++)
use_sg517kernel/blk_drv/scsi/sr.cif (SCpnt->use_sg == 0){
use_sg373kernel/blk_drv/scsi/wd7000.cif (SCpnt->use_sg)  {
use_sg381kernel/blk_drv/scsi/wd7000.cprintk("Using scatter/gather with %d elements.\n",SCpnt->use_sg);
use_sg388kernel/blk_drv/scsi/wd7000.cif (SCpnt->use_sg > WD7000_SG)
use_sg398kernel/blk_drv/scsi/wd7000.cany2scsi(scb->maxlen, SCpnt->use_sg * sizeof (Sgb) );
use_sg400kernel/blk_drv/scsi/wd7000.cfor (i = 0;  i < SCpnt->use_sg;  i++)  {
use_sg406kernel/blk_drv/scsi/wd7000.cscsi2int(scb->maxlen), SCpnt->use_sg);)