Lines Matching defs:done_ccb

1133 cddone(struct cam_periph *periph, union ccb *done_ccb)
1142 csio = &done_ccb->csio;
1150 bp = (struct bio *)done_ccb->ccb_h.ccb_bp;
1153 if ((done_ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) {
1156 if ((done_ccb->ccb_h.ccb_state & CD_CCB_RETRY_UA) != 0)
1161 error = cderror(done_ccb, CAM_RETRY_SELTO, sf);
1178 if ((done_ccb->ccb_h.status & CAM_DEV_QFRZN) != 0)
1179 cam_release_devq(done_ccb->ccb_h.path,
1198 LIST_REMOVE(&done_ccb->ccb_h, periph_links.le);
1225 (error = cderror(done_ccb, CAM_RETRY_SELTO,
1247 if ((done_ccb->ccb_h.status & CAM_DEV_QFRZN) != 0)
1248 cam_release_devq(done_ccb->ccb_h.path,
1254 status = done_ccb->ccb_h.status;
1258 done_ccb->ccb_h.path,
1263 if (scsi_extract_sense_ccb(done_ccb,
1323 &done_ccb->csio);
1327 done_ccb->ccb_h.status);
1373 xpt_release_ccb(done_ccb);
1388 if ((done_ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) {
1389 if (cderror(done_ccb, CAM_RETRY_SELTO,
1393 if ((done_ccb->ccb_h.status & CAM_DEV_QFRZN) != 0)
1394 cam_release_devq(done_ccb->ccb_h.path,
1400 xpt_release_ccb(done_ccb);
1412 if ((done_ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) {
1413 error = cderror(done_ccb, CAM_RETRY_SELTO,
1418 if ((done_ccb->ccb_h.status & CAM_DEV_QFRZN) != 0)
1419 cam_release_devq(done_ccb->ccb_h.path,
1432 if ((done_ccb->ccb_h.ccb_state & CD_CCB_TYPE_MASK) ==
1438 xpt_release_ccb(done_ccb);
1463 error = cderror(done_ccb, CAM_RETRY_SELTO,
1468 if ((done_ccb->ccb_h.status & CAM_DEV_QFRZN) != 0)
1469 cam_release_devq(done_ccb->ccb_h.path,
1513 xpt_release_ccb(done_ccb);
1528 if ((done_ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) {
1529 error = cderror(done_ccb, CAM_RETRY_SELTO,
1535 if ((done_ccb->ccb_h.status & CAM_DEV_QFRZN) != 0)
1536 cam_release_devq(done_ccb->ccb_h.path,
1572 xpt_release_ccb(done_ccb);
1601 if ((done_ccb->ccb_h.ccb_state & CD_CCB_TYPE_MASK) ==
1611 xpt_release_ccb(done_ccb);
1629 xpt_release_ccb(done_ccb);
1634 } else if ((done_ccb->ccb_h.ccb_state & CD_CCB_TYPE_MASK) ==
1641 } else if (((done_ccb->ccb_h.ccb_state & CD_CCB_TYPE_MASK) ==
1650 xpt_release_ccb(done_ccb);
1684 xpt_release_ccb(done_ccb);
1695 xpt_release_ccb(done_ccb);