Lines Matching defs:ccbh
270 struct ccb_hdr *ccbh = &ccb->ccb_h;
273 ccbh->status = CAM_REQ_INPROG;
275 ccbh->status = CAM_REQ_INVALID;
278 ccbh->ccb_mfip_ptr = sc;
279 TAILQ_INSERT_TAIL(&mfisc->mfi_cam_ccbq, ccbh, sim_links.tqe);
343 struct ccb_hdr *ccbh = &ccb->ccb_h;
350 sc = ccbh->ccb_mfip_ptr;
364 pt->header.target_id = ccbh->target_id;
365 pt->header.lun_id = ccbh->target_lun;
373 if (ccbh->flags & CAM_CDB_POINTER)
383 switch (ccbh->flags & CAM_DIR_MASK) {
398 TAILQ_REMOVE(&sc->mfi_sc->mfi_cam_ccbq, ccbh, sim_links.tqe);
406 struct ccb_hdr *ccbh = &ccb->ccb_h;
411 sc = ccbh->ccb_mfip_ptr;
419 ccbh->status = CAM_REQ_CMP;
421 if (ccbh->flags & CAM_CDB_POINTER)
438 ccbh->status = CAM_SCSI_STATUS_ERROR | CAM_AUTOSNS_VALID;
452 ccbh->status = CAM_SEL_TIMEOUT;
455 ccbh->status = CAM_REQ_CMP_ERR;
459 ccbh->status = CAM_REQ_CMP_ERR;