Lines Matching refs:cm_state
1057 if (cm->cm_state == MPS_CM_STATE_FREE) in mpssas_complete_all_commands()
1060 cm->cm_state = MPS_CM_STATE_BUSY; in mpssas_complete_all_commands()
1076 cm, cm->cm_state, cm->cm_ccb); in mpssas_complete_all_commands()
1083 cm, cm->cm_state, cm->cm_ccb); in mpssas_complete_all_commands()
1088 if ((completed == 0) && (cm->cm_state != MPS_CM_STATE_FREE)) { in mpssas_complete_all_commands()
1092 "reset\n", cm, cm->cm_state, cm->cm_flags, in mpssas_complete_all_commands()
1155 KASSERT(tm->cm_state == MPS_CM_STATE_INQUEUE, in mpssas_tm_timeout()
1156 ("command not inqueue, state = %u\n", tm->cm_state)); in mpssas_tm_timeout()
1158 tm->cm_state = MPS_CM_STATE_BUSY; in mpssas_tm_timeout()
2007 KASSERT(cm->cm_state == MPS_CM_STATE_BUSY, in mpssas_scsiio_complete()
2008 ("Not busy for CM_FLAGS_TIMEDOUT: %u\n", cm->cm_state)); in mpssas_scsiio_complete()