Lines Matching refs:ccbh
270 struct ccb_hdr *ccbh = &ccb->ccb_h; in mfip_cam_action() local
273 ccbh->status = CAM_REQ_INPROG; in mfip_cam_action()
275 ccbh->status = CAM_REQ_INVALID; in mfip_cam_action()
278 ccbh->ccb_mfip_ptr = sc; in mfip_cam_action()
279 TAILQ_INSERT_TAIL(&mfisc->mfi_cam_ccbq, ccbh, sim_links.tqe); in mfip_cam_action()
343 struct ccb_hdr *ccbh = &ccb->ccb_h; in mfip_start() local
350 sc = ccbh->ccb_mfip_ptr; in mfip_start()
364 pt->header.target_id = ccbh->target_id; in mfip_start()
365 pt->header.lun_id = ccbh->target_lun; in mfip_start()
373 if (ccbh->flags & CAM_CDB_POINTER) in mfip_start()
383 switch (ccbh->flags & CAM_DIR_MASK) { in mfip_start()
398 TAILQ_REMOVE(&sc->mfi_sc->mfi_cam_ccbq, ccbh, sim_links.tqe); in mfip_start()
406 struct ccb_hdr *ccbh = &ccb->ccb_h; in mfip_done() local
417 ccbh->status = CAM_REQ_CMP; in mfip_done()
419 if (ccbh->flags & CAM_CDB_POINTER) in mfip_done()
436 ccbh->status = CAM_SCSI_STATUS_ERROR | CAM_AUTOSNS_VALID; in mfip_done()
450 ccbh->status = CAM_SEL_TIMEOUT; in mfip_done()
453 ccbh->status = CAM_REQ_CMP_ERR; in mfip_done()
457 ccbh->status = CAM_REQ_CMP_ERR; in mfip_done()