Lines Matching defs:ccbh
271 struct ccb_hdr *ccbh = &ccb->ccb_h;
274 ccbh->status = CAM_REQ_INPROG;
276 ccbh->status = CAM_REQ_INVALID;
279 ccbh->ccb_mfip_ptr = sc;
280 TAILQ_INSERT_TAIL(&mfisc->mfi_cam_ccbq, ccbh, sim_links.tqe);
344 struct ccb_hdr *ccbh = &ccb->ccb_h;
351 sc = ccbh->ccb_mfip_ptr;
365 pt->header.target_id = ccbh->target_id;
366 pt->header.lun_id = ccbh->target_lun;
374 if (ccbh->flags & CAM_CDB_POINTER)
384 switch (ccbh->flags & CAM_DIR_MASK) {
399 TAILQ_REMOVE(&sc->mfi_sc->mfi_cam_ccbq, ccbh, sim_links.tqe);
407 struct ccb_hdr *ccbh = &ccb->ccb_h;
412 sc = ccbh->ccb_mfip_ptr;
420 ccbh->status = CAM_REQ_CMP;
422 if (ccbh->flags & CAM_CDB_POINTER)
439 ccbh->status = CAM_SCSI_STATUS_ERROR | CAM_AUTOSNS_VALID;
453 ccbh->status = CAM_SEL_TIMEOUT;
456 ccbh->status = CAM_REQ_CMP_ERR;
460 ccbh->status = CAM_REQ_CMP_ERR;