Lines Matching refs:pending_scb
2128 struct scb *pending_scb; in ahd_linux_queue_abort_cmd() local
2141 pending_scb = NULL; in ahd_linux_queue_abort_cmd()
2177 LIST_FOREACH(pending_scb, &ahd->pending_scbs, pending_links) { in ahd_linux_queue_abort_cmd()
2178 if (pending_scb->io_ctx == cmd) in ahd_linux_queue_abort_cmd()
2182 if (pending_scb == NULL) { in ahd_linux_queue_abort_cmd()
2187 if ((pending_scb->flags & SCB_RECOVERY_SCB) != 0) { in ahd_linux_queue_abort_cmd()
2205 if ((pending_scb->flags & SCB_ACTIVE) == 0) { in ahd_linux_queue_abort_cmd()
2218 pending_scb->hscb->tag, in ahd_linux_queue_abort_cmd()
2236 if (bus_scb == pending_scb) in ahd_linux_queue_abort_cmd()
2247 && SCB_GET_TAG(pending_scb) == active_scbptr) { in ahd_linux_queue_abort_cmd()
2253 pending_scb = ahd_lookup_scb(ahd, active_scbptr); in ahd_linux_queue_abort_cmd()
2254 pending_scb->flags |= SCB_RECOVERY_SCB|SCB_ABORT; in ahd_linux_queue_abort_cmd()
2265 pending_scb->flags |= SCB_RECOVERY_SCB|SCB_ABORT; in ahd_linux_queue_abort_cmd()
2266 ahd_set_scbptr(ahd, SCB_GET_TAG(pending_scb)); in ahd_linux_queue_abort_cmd()
2267 pending_scb->hscb->cdb_len = 0; in ahd_linux_queue_abort_cmd()
2268 pending_scb->hscb->task_attribute = 0; in ahd_linux_queue_abort_cmd()
2269 pending_scb->hscb->task_management = SIU_TASKMGMT_ABORT_TASK; in ahd_linux_queue_abort_cmd()
2271 if ((pending_scb->flags & SCB_PACKETIZED) != 0) { in ahd_linux_queue_abort_cmd()
2280 pending_scb->hscb->task_management); in ahd_linux_queue_abort_cmd()
2291 pending_scb->hscb->control |= MK_MESSAGE|DISCONNECTED; in ahd_linux_queue_abort_cmd()
2312 ahd_qinfifo_requeue_tail(ahd, pending_scb); in ahd_linux_queue_abort_cmd()
2314 ahd_print_path(ahd, pending_scb); in ahd_linux_queue_abort_cmd()