Lines Matching defs:pending_scb
2139 struct scb *pending_scb;
2153 pending_scb = NULL;
2171 * there, check the pending_scb list. If not found
2189 LIST_FOREACH(pending_scb, &ahd->pending_scbs, pending_links) {
2190 if (pending_scb->io_ctx == cmd)
2194 if (pending_scb == NULL) {
2199 if ((pending_scb->flags & SCB_RECOVERY_SCB) != 0) {
2217 if ((pending_scb->flags & SCB_ACTIVE) == 0) {
2230 pending_scb->hscb->tag,
2248 if (bus_scb == pending_scb)
2253 * At this point, pending_scb is the scb associated with the
2259 && SCB_GET_TAG(pending_scb) == active_scbptr) {
2265 pending_scb = ahd_lookup_scb(ahd, active_scbptr);
2266 pending_scb->flags |= SCB_RECOVERY_SCB|SCB_ABORT;
2277 pending_scb->flags |= SCB_RECOVERY_SCB|SCB_ABORT;
2278 ahd_set_scbptr(ahd, SCB_GET_TAG(pending_scb));
2279 pending_scb->hscb->cdb_len = 0;
2280 pending_scb->hscb->task_attribute = 0;
2281 pending_scb->hscb->task_management = SIU_TASKMGMT_ABORT_TASK;
2283 if ((pending_scb->flags & SCB_PACKETIZED) != 0) {
2292 pending_scb->hscb->task_management);
2303 pending_scb->hscb->control |= MK_MESSAGE|DISCONNECTED;
2324 ahd_qinfifo_requeue_tail(ahd, pending_scb);
2326 ahd_print_path(ahd, pending_scb);