Lines Matching defs:done_ccb
978 cddone(struct cam_periph *periph, union ccb *done_ccb)
986 csio = &done_ccb->csio;
994 bp = (struct bio *)done_ccb->ccb_h.ccb_bp;
997 if ((done_ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) {
1000 if ((done_ccb->ccb_h.ccb_state & CD_CCB_RETRY_UA) != 0)
1005 error = cderror(done_ccb, CAM_RETRY_SELTO, sf);
1022 if ((done_ccb->ccb_h.status & CAM_DEV_QFRZN) != 0)
1023 cam_release_devq(done_ccb->ccb_h.path,
1042 LIST_REMOVE(&done_ccb->ccb_h, periph_links.le);
1084 (error = cderror(done_ccb, CAM_RETRY_SELTO,
1106 if ((done_ccb->ccb_h.status & CAM_DEV_QFRZN) != 0)
1107 cam_release_devq(done_ccb->ccb_h.path,
1113 status = done_ccb->ccb_h.status;
1116 done_ccb->ccb_h.path,
1121 if (scsi_extract_sense_ccb(done_ccb,
1178 &done_ccb->csio);
1182 done_ccb->ccb_h.status);
1222 xpt_release_ccb(done_ccb);
1228 if ((done_ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) {
1230 if (cderror(done_ccb, CAM_RETRY_SELTO,
1234 if ((done_ccb->ccb_h.status & CAM_DEV_QFRZN) != 0)
1235 cam_release_devq(done_ccb->ccb_h.path,
1241 xpt_release_ccb(done_ccb);
1248 xpt_release_ccb(done_ccb);