Lines Matching refs:pending_scb
4717 struct scb *pending_scb; local
4730 pending_scb = NULL;
4817 LIST_FOREACH(pending_scb, &ahc->pending_scbs, pending_links) {
4818 if (pending_scb->io_ctx == cmd)
4822 if (pending_scb == NULL && flag == SCB_DEVICE_RESET) {
4825 LIST_FOREACH(pending_scb, &ahc->pending_scbs, pending_links) {
4826 if (ahc_match_scb(ahc, pending_scb, cmd->device->id,
4834 if (pending_scb == NULL) {
4841 if ((pending_scb->flags & SCB_RECOVERY_SCB) != 0) {
4858 if ((pending_scb->flags & SCB_ACTIVE) == 0) {
4874 pending_scb->hscb->tag,
4885 cmd->device->lun, pending_scb->hscb->tag,
4895 if (bus_scb == pending_scb)
4898 && ahc_inb(ahc, SAVED_SCSIID) == pending_scb->hscb->scsiid
4899 && ahc_inb(ahc, SAVED_LUN) == SCB_GET_LUN(pending_scb))
4916 && (pending_scb->hscb->tag == active_scb_index
4924 pending_scb = ahc_lookup_scb(ahc, active_scb_index);
4925 pending_scb->flags |= SCB_RECOVERY_SCB|flag;
4950 pending_scb->hscb->control |= MK_MESSAGE|DISCONNECTED;
4951 pending_scb->flags |= SCB_RECOVERY_SCB|flag;
4962 cmd->device->lun, pending_scb->hscb->tag,
4975 ahc_outb(ahc, SCBPTR, pending_scb->hscb->tag);
4990 ahc_qinfifo_requeue_tail(ahc, pending_scb);
4992 ahc_print_path(ahc, pending_scb);