Lines Matching defs:pending_scb
2128 struct scb *pending_scb;
2141 pending_scb = NULL;
2159 * there, check the pending_scb list. If not found
2177 LIST_FOREACH(pending_scb, &ahd->pending_scbs, pending_links) {
2178 if (pending_scb->io_ctx == cmd)
2182 if (pending_scb == NULL) {
2187 if ((pending_scb->flags & SCB_RECOVERY_SCB) != 0) {
2205 if ((pending_scb->flags & SCB_ACTIVE) == 0) {
2218 pending_scb->hscb->tag,
2236 if (bus_scb == pending_scb)
2241 * At this point, pending_scb is the scb associated with the
2247 && SCB_GET_TAG(pending_scb) == active_scbptr) {
2253 pending_scb = ahd_lookup_scb(ahd, active_scbptr);
2254 pending_scb->flags |= SCB_RECOVERY_SCB|SCB_ABORT;
2265 pending_scb->flags |= SCB_RECOVERY_SCB|SCB_ABORT;
2266 ahd_set_scbptr(ahd, SCB_GET_TAG(pending_scb));
2267 pending_scb->hscb->cdb_len = 0;
2268 pending_scb->hscb->task_attribute = 0;
2269 pending_scb->hscb->task_management = SIU_TASKMGMT_ABORT_TASK;
2271 if ((pending_scb->flags & SCB_PACKETIZED) != 0) {
2280 pending_scb->hscb->task_management);
2291 pending_scb->hscb->control |= MK_MESSAGE|DISCONNECTED;
2312 ahd_qinfifo_requeue_tail(ahd, pending_scb);
2314 ahd_print_path(ahd, pending_scb);