tag | line | file | source code |
scb | 134 | kernel/blk_drv/scsi/wd7000.c | Scb *scb; |
scb | 145 | kernel/blk_drv/scsi/wd7000.c | scb = scbfree; scbfree = scb->next; |
scb | 146 | kernel/blk_drv/scsi/wd7000.c | memset(scb, 0, sizeof(Scb)); scb->next = NULL; |
scb | 150 | kernel/blk_drv/scsi/wd7000.c | return scb; |
scb | 154 | kernel/blk_drv/scsi/wd7000.c | static inline void free_scb( Scb *scb ) |
scb | 161 | kernel/blk_drv/scsi/wd7000.c | memset(scb, 0, sizeof(Scb)); |
scb | 162 | kernel/blk_drv/scsi/wd7000.c | scb->next = scbfree; scbfree = scb; |
scb | 294 | kernel/blk_drv/scsi/wd7000.c | Scb *scb; /* for SCSI commands */ |
scb | 316 | kernel/blk_drv/scsi/wd7000.c | scb = (struct scb *) scsi2int(mb.icmb[icmb].scbptr); |
scb | 322 | kernel/blk_drv/scsi/wd7000.c | icmb, scb, icmb_status, scb->vue ); |
scb | 325 | kernel/blk_drv/scsi/wd7000.c | if (!(scb->op & 0x80)) { /* an SCB is done */ |
scb | 326 | kernel/blk_drv/scsi/wd7000.c | SCpnt = scb->SCpnt; |
scb | 328 | kernel/blk_drv/scsi/wd7000.c | host_error = scb->vue | (icmb_status << 8); |
scb | 329 | kernel/blk_drv/scsi/wd7000.c | scsi_error = scb->status; |
scb | 335 | kernel/blk_drv/scsi/wd7000.c | free_scb(scb); |
scb | 340 | kernel/blk_drv/scsi/wd7000.c | icb = (unchar *) scb; |
scb | 353 | kernel/blk_drv/scsi/wd7000.c | Scb *scb; |
scb | 364 | kernel/blk_drv/scsi/wd7000.c | scb = alloc_scb(); |
scb | 365 | kernel/blk_drv/scsi/wd7000.c | scb->idlun = idlun; |
scb | 366 | kernel/blk_drv/scsi/wd7000.c | memcpy(scb->cdb, cdb, cdblen); |
scb | 367 | kernel/blk_drv/scsi/wd7000.c | scb->direc = 0x40; /* Disable direction check */ |
scb | 368 | kernel/blk_drv/scsi/wd7000.c | scb->SCpnt = SCpnt; /* so we can find stuff later */ |
scb | 396 | kernel/blk_drv/scsi/wd7000.c | scb->op = 1; |
scb | 397 | kernel/blk_drv/scsi/wd7000.c | any2scsi(scb->dataptr, sgb); |
scb | 398 | kernel/blk_drv/scsi/wd7000.c | any2scsi(scb->maxlen, SCpnt->use_sg * sizeof (Sgb) ); |
scb | 406 | kernel/blk_drv/scsi/wd7000.c | scsi2int(scb->maxlen), SCpnt->use_sg);) |
scb | 408 | kernel/blk_drv/scsi/wd7000.c | scb->op = 0; |
scb | 409 | kernel/blk_drv/scsi/wd7000.c | any2scsi(scb->dataptr, SCpnt->request_buffer); |
scb | 410 | kernel/blk_drv/scsi/wd7000.c | any2scsi(scb->maxlen, SCpnt->request_bufflen); |
scb | 413 | kernel/blk_drv/scsi/wd7000.c | return mail_out(scb); |
scb | 497 | kernel/blk_drv/scsi/wd7000.c | mail_out( (struct scb *) icb ); |
scb | 142 | kernel/blk_drv/scsi/wd7000.h | struct scb *next; /* for lists of scbs */ |