taglinefilesource code
scb134kernel/blk_drv/scsi/wd7000.cScb *scb;
scb145kernel/blk_drv/scsi/wd7000.cscb = scbfree;  scbfree = scb->next;
scb146kernel/blk_drv/scsi/wd7000.cmemset(scb, 0, sizeof(Scb));  scb->next = NULL;
scb150kernel/blk_drv/scsi/wd7000.creturn scb;
scb154kernel/blk_drv/scsi/wd7000.cstatic inline void free_scb( Scb *scb )
scb161kernel/blk_drv/scsi/wd7000.cmemset(scb, 0, sizeof(Scb));
scb162kernel/blk_drv/scsi/wd7000.cscb->next = scbfree;  scbfree = scb;
scb294kernel/blk_drv/scsi/wd7000.cScb *scb;             /* for SCSI commands */
scb316kernel/blk_drv/scsi/wd7000.cscb = (struct scb *) scsi2int(mb.icmb[icmb].scbptr);
scb322kernel/blk_drv/scsi/wd7000.cicmb, scb, icmb_status, scb->vue );
scb325kernel/blk_drv/scsi/wd7000.cif (!(scb->op & 0x80))  {   /* an SCB is done */
scb326kernel/blk_drv/scsi/wd7000.cSCpnt = scb->SCpnt;
scb328kernel/blk_drv/scsi/wd7000.chost_error = scb->vue | (icmb_status << 8);
scb329kernel/blk_drv/scsi/wd7000.cscsi_error = scb->status;
scb335kernel/blk_drv/scsi/wd7000.cfree_scb(scb);
scb340kernel/blk_drv/scsi/wd7000.cicb = (unchar *) scb;
scb353kernel/blk_drv/scsi/wd7000.cScb *scb;
scb364kernel/blk_drv/scsi/wd7000.cscb = alloc_scb();
scb365kernel/blk_drv/scsi/wd7000.cscb->idlun = idlun;
scb366kernel/blk_drv/scsi/wd7000.cmemcpy(scb->cdb, cdb, cdblen);
scb367kernel/blk_drv/scsi/wd7000.cscb->direc = 0x40;    /* Disable direction check */
scb368kernel/blk_drv/scsi/wd7000.cscb->SCpnt = SCpnt;         /* so we can find stuff later */
scb396kernel/blk_drv/scsi/wd7000.cscb->op = 1;
scb397kernel/blk_drv/scsi/wd7000.cany2scsi(scb->dataptr, sgb);
scb398kernel/blk_drv/scsi/wd7000.cany2scsi(scb->maxlen, SCpnt->use_sg * sizeof (Sgb) );
scb406kernel/blk_drv/scsi/wd7000.cscsi2int(scb->maxlen), SCpnt->use_sg);)
scb408kernel/blk_drv/scsi/wd7000.cscb->op = 0;
scb409kernel/blk_drv/scsi/wd7000.cany2scsi(scb->dataptr, SCpnt->request_buffer);
scb410kernel/blk_drv/scsi/wd7000.cany2scsi(scb->maxlen, SCpnt->request_bufflen);
scb413kernel/blk_drv/scsi/wd7000.creturn mail_out(scb);
scb497kernel/blk_drv/scsi/wd7000.cmail_out( (struct scb *) icb );
scb142kernel/blk_drv/scsi/wd7000.hstruct scb *next;             /* for lists of scbs */