Lines Matching defs:ccb_ptr
174 union ccb *ccb_ptr, u_int8_t status, u_int8_t extStatus,
1726 device_id = cmd_mpt->ccb_ptr->ccb_h.target_id;
1736 mrsas_map_mpt_cmd_status(cmd_mpt, cmd_mpt->ccb_ptr, status,
1757 r1_cmd->ccb_ptr = NULL;
1764 mrsas_map_mpt_cmd_status(cmd_mpt, cmd_mpt->ccb_ptr, status,
1861 mrsas_map_mpt_cmd_status(struct mrsas_mpt_cmd *cmd, union ccb *ccb_ptr, u_int8_t status,
1869 ccb_ptr->ccb_h.status = CAM_REQ_CMP;
1873 ccb_ptr->ccb_h.status = CAM_SCSI_STATUS_ERROR;
1874 sense_data = (u_int8_t *)&ccb_ptr->csio.sense_data;
1878 ccb_ptr->csio.sense_len = 18;
1879 ccb_ptr->ccb_h.status |= CAM_AUTOSNS_VALID;
1884 if (ccb_ptr->ccb_h.target_lun)
1885 ccb_ptr->ccb_h.status |= CAM_LUN_INVALID;
1887 ccb_ptr->ccb_h.status |= CAM_DEV_NOT_THERE;
1890 ccb_ptr->ccb_h.status |= CAM_REQUEUE_REQ;
1894 ccb_ptr->ccb_h.status = CAM_REQ_CMP_ERR;
1895 ccb_ptr->csio.scsi_status = status;
2897 cmd->ccb_ptr = NULL;
3231 * OCR, return all SCSI command back to CAM layer which has ccb_ptr. 5. Post
3272 if (mpt_cmd->ccb_ptr) {
3274 ccb = (union ccb *)(mpt_cmd->ccb_ptr);
3278 mpt_cmd->ccb_ptr = NULL;
3608 cmd_mfi->ccb_ptr = NULL;
4044 if (cmd->ccb_ptr)
4045 cmd->ccb_ptr = NULL;