Lines Matching refs:ccb_ptr
170 union ccb *ccb_ptr, u_int8_t status, u_int8_t extStatus,
1704 device_id = cmd_mpt->ccb_ptr->ccb_h.target_id; in mrsas_complete_cmd()
1714 mrsas_map_mpt_cmd_status(cmd_mpt, cmd_mpt->ccb_ptr, status, in mrsas_complete_cmd()
1736 r1_cmd->ccb_ptr = NULL; in mrsas_complete_cmd()
1744 mrsas_map_mpt_cmd_status(cmd_mpt, cmd_mpt->ccb_ptr, status, in mrsas_complete_cmd()
1841 mrsas_map_mpt_cmd_status(struct mrsas_mpt_cmd *cmd, union ccb *ccb_ptr, u_int8_t status, in mrsas_map_mpt_cmd_status() argument
1849 ccb_ptr->ccb_h.status = CAM_REQ_CMP; in mrsas_map_mpt_cmd_status()
1853 ccb_ptr->ccb_h.status = CAM_SCSI_STATUS_ERROR; in mrsas_map_mpt_cmd_status()
1854 sense_data = (u_int8_t *)&ccb_ptr->csio.sense_data; in mrsas_map_mpt_cmd_status()
1858 ccb_ptr->csio.sense_len = 18; in mrsas_map_mpt_cmd_status()
1859 ccb_ptr->ccb_h.status |= CAM_AUTOSNS_VALID; in mrsas_map_mpt_cmd_status()
1864 if (ccb_ptr->ccb_h.target_lun) in mrsas_map_mpt_cmd_status()
1865 ccb_ptr->ccb_h.status |= CAM_LUN_INVALID; in mrsas_map_mpt_cmd_status()
1867 ccb_ptr->ccb_h.status |= CAM_DEV_NOT_THERE; in mrsas_map_mpt_cmd_status()
1870 ccb_ptr->ccb_h.status |= CAM_REQUEUE_REQ; in mrsas_map_mpt_cmd_status()
1874 ccb_ptr->ccb_h.status = CAM_REQ_CMP_ERR; in mrsas_map_mpt_cmd_status()
1875 ccb_ptr->csio.scsi_status = status; in mrsas_map_mpt_cmd_status()
2878 cmd->ccb_ptr = NULL; in mrsas_alloc_mpt_cmds()
3253 if (mpt_cmd->ccb_ptr) { in mrsas_reset_ctrl()
3255 ccb = (union ccb *)(mpt_cmd->ccb_ptr); in mrsas_reset_ctrl()
3259 mpt_cmd->ccb_ptr = NULL; in mrsas_reset_ctrl()
3589 cmd_mfi->ccb_ptr = NULL; in mrsas_release_mfi_cmd()
4026 if (cmd->ccb_ptr) in mrsas_complete_mptmfi_passthru()
4027 cmd->ccb_ptr = NULL; in mrsas_complete_mptmfi_passthru()