scbp             8535 drivers/scsi/aic7xxx/aic79xx_core.c 	struct		scb *scbp;
scbp             8581 drivers/scsi/aic7xxx/aic79xx_core.c 				scbp = ahd_lookup_scb(ahd, scbid);
scbp             8582 drivers/scsi/aic7xxx/aic79xx_core.c 				if (scbp == NULL
scbp             8583 drivers/scsi/aic7xxx/aic79xx_core.c 				 || ahd_match_scb(ahd, scbp, target, channel,
scbp             8605 drivers/scsi/aic7xxx/aic79xx_core.c 		scbp = scbp_next;
scbp             8606 drivers/scsi/aic7xxx/aic79xx_core.c 		scbp_next = LIST_NEXT(scbp, pending_links);
scbp             8607 drivers/scsi/aic7xxx/aic79xx_core.c 		if (ahd_match_scb(ahd, scbp, target, channel, lun, tag, role)) {
scbp             8610 drivers/scsi/aic7xxx/aic79xx_core.c 			ostat = ahd_get_transaction_status(scbp);
scbp             8612 drivers/scsi/aic7xxx/aic79xx_core.c 				ahd_set_transaction_status(scbp, status);
scbp             8613 drivers/scsi/aic7xxx/aic79xx_core.c 			if (ahd_get_transaction_status(scbp) != CAM_REQ_CMP)
scbp             8614 drivers/scsi/aic7xxx/aic79xx_core.c 				ahd_freeze_scb(scbp);
scbp             8615 drivers/scsi/aic7xxx/aic79xx_core.c 			if ((scbp->flags & SCB_ACTIVE) == 0)
scbp             8617 drivers/scsi/aic7xxx/aic79xx_core.c 			ahd_done(ahd, scbp);
scbp             6140 drivers/scsi/aic7xxx/aic7xxx_core.c 	struct	scb *scbp;
scbp             6175 drivers/scsi/aic7xxx/aic7xxx_core.c 		scbp = ahc_lookup_scb(ahc, scb_index);
scbp             6176 drivers/scsi/aic7xxx/aic7xxx_core.c 		if (ahc_match_scb(ahc, scbp, target, channel, lun,
scbp             6302 drivers/scsi/aic7xxx/aic7xxx_core.c 	struct	scb *scbp;
scbp             6361 drivers/scsi/aic7xxx/aic7xxx_core.c 				scbp = ahc_lookup_scb(ahc, scbid);
scbp             6362 drivers/scsi/aic7xxx/aic7xxx_core.c 				if (scbp == NULL
scbp             6363 drivers/scsi/aic7xxx/aic7xxx_core.c 				 || ahc_match_scb(ahc, scbp, target, channel,
scbp             6393 drivers/scsi/aic7xxx/aic7xxx_core.c 		scbp = ahc_lookup_scb(ahc, scbid);
scbp             6394 drivers/scsi/aic7xxx/aic7xxx_core.c 		if ((scbp == NULL && scbid != SCB_LIST_NULL)
scbp             6395 drivers/scsi/aic7xxx/aic7xxx_core.c 		 || (scbp != NULL
scbp             6396 drivers/scsi/aic7xxx/aic7xxx_core.c 		  && ahc_match_scb(ahc, scbp, target, channel, lun, tag, role)))
scbp             6408 drivers/scsi/aic7xxx/aic7xxx_core.c 		scbp = scbp_next;
scbp             6409 drivers/scsi/aic7xxx/aic7xxx_core.c 		scbp_next = LIST_NEXT(scbp, pending_links);
scbp             6410 drivers/scsi/aic7xxx/aic7xxx_core.c 		if (ahc_match_scb(ahc, scbp, target, channel, lun, tag, role)) {
scbp             6413 drivers/scsi/aic7xxx/aic7xxx_core.c 			ostat = ahc_get_transaction_status(scbp);
scbp             6415 drivers/scsi/aic7xxx/aic7xxx_core.c 				ahc_set_transaction_status(scbp, status);
scbp             6416 drivers/scsi/aic7xxx/aic7xxx_core.c 			if (ahc_get_transaction_status(scbp) != CAM_REQ_CMP)
scbp             6417 drivers/scsi/aic7xxx/aic7xxx_core.c 				ahc_freeze_scb(scbp);
scbp             6418 drivers/scsi/aic7xxx/aic7xxx_core.c 			if ((scbp->flags & SCB_ACTIVE) == 0)
scbp             6420 drivers/scsi/aic7xxx/aic7xxx_core.c 			ahc_done(ahc, scbp);
scbp              705 drivers/scsi/initio.c static void initio_append_pend_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp)
scbp              709 drivers/scsi/initio.c 	printk("Append pend SCB %p; ", scbp);
scbp              711 drivers/scsi/initio.c 	scbp->status = SCB_PEND;
scbp              712 drivers/scsi/initio.c 	scbp->next = NULL;
scbp              714 drivers/scsi/initio.c 		host->last_pending->next = scbp;
scbp              715 drivers/scsi/initio.c 		host->last_pending = scbp;
scbp              717 drivers/scsi/initio.c 		host->first_pending = scbp;
scbp              718 drivers/scsi/initio.c 		host->last_pending = scbp;
scbp              723 drivers/scsi/initio.c static void initio_push_pend_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp)
scbp              727 drivers/scsi/initio.c 	printk("Push pend SCB %p; ", scbp);
scbp              729 drivers/scsi/initio.c 	scbp->status = SCB_PEND;
scbp              730 drivers/scsi/initio.c 	if ((scbp->next = host->first_pending) != NULL) {
scbp              731 drivers/scsi/initio.c 		host->first_pending = scbp;
scbp              733 drivers/scsi/initio.c 		host->first_pending = scbp;
scbp              734 drivers/scsi/initio.c 		host->last_pending = scbp;
scbp              792 drivers/scsi/initio.c static void initio_append_busy_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp)
scbp              796 drivers/scsi/initio.c 	printk("append busy SCB %p; ", scbp);
scbp              798 drivers/scsi/initio.c 	if (scbp->tagmsg)
scbp              799 drivers/scsi/initio.c 		host->act_tags[scbp->target]++;
scbp              801 drivers/scsi/initio.c 		host->targets[scbp->target].flags |= TCF_BUSY;
scbp              802 drivers/scsi/initio.c 	scbp->status = SCB_BUSY;
scbp              803 drivers/scsi/initio.c 	scbp->next = NULL;
scbp              805 drivers/scsi/initio.c 		host->last_busy->next = scbp;
scbp              806 drivers/scsi/initio.c 		host->last_busy = scbp;
scbp              808 drivers/scsi/initio.c 		host->first_busy = scbp;
scbp              809 drivers/scsi/initio.c 		host->last_busy = scbp;
scbp              888 drivers/scsi/initio.c static void initio_append_done_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp)
scbp              891 drivers/scsi/initio.c 	printk("append done SCB %p; ", scbp);
scbp              894 drivers/scsi/initio.c 	scbp->status = SCB_DONE;
scbp              895 drivers/scsi/initio.c 	scbp->next = NULL;
scbp              897 drivers/scsi/initio.c 		host->last_done->next = scbp;
scbp              898 drivers/scsi/initio.c 		host->last_done = scbp;
scbp              900 drivers/scsi/initio.c 		host->first_done = scbp;
scbp              901 drivers/scsi/initio.c 		host->last_done = scbp;