Lines Matching refs:scbp
8586 struct scb *scbp; in ahd_abort_scbs() local
8632 scbp = ahd_lookup_scb(ahd, scbid); in ahd_abort_scbs()
8633 if (scbp == NULL in ahd_abort_scbs()
8634 || ahd_match_scb(ahd, scbp, target, channel, in ahd_abort_scbs()
8656 scbp = scbp_next; in ahd_abort_scbs()
8657 scbp_next = LIST_NEXT(scbp, pending_links); in ahd_abort_scbs()
8658 if (ahd_match_scb(ahd, scbp, target, channel, lun, tag, role)) { in ahd_abort_scbs()
8661 ostat = ahd_get_transaction_status(scbp); in ahd_abort_scbs()
8663 ahd_set_transaction_status(scbp, status); in ahd_abort_scbs()
8664 if (ahd_get_transaction_status(scbp) != CAM_REQ_CMP) in ahd_abort_scbs()
8665 ahd_freeze_scb(scbp); in ahd_abort_scbs()
8666 if ((scbp->flags & SCB_ACTIVE) == 0) in ahd_abort_scbs()
8668 ahd_done(ahd, scbp); in ahd_abort_scbs()