Lines Matching refs:cm_state
278 u_int cm_state; member
619 KASSERT(cm->cm_state == MPR_CM_STATE_BUSY, in mpr_free_command()
620 ("state not busy, state = %u\n", cm->cm_state)); in mpr_free_command()
632 cm->cm_state = MPR_CM_STATE_FREE; in mpr_free_command()
660 KASSERT(cm->cm_state == MPR_CM_STATE_FREE, in mpr_alloc_command()
661 ("mpr: Allocating busy command, state = %u\n", cm->cm_state)); in mpr_alloc_command()
664 cm->cm_state = MPR_CM_STATE_BUSY; in mpr_alloc_command()
676 KASSERT(cm->cm_state == MPR_CM_STATE_BUSY, in mpr_free_high_priority_command()
677 ("state not busy, state = %u\n", cm->cm_state)); in mpr_free_high_priority_command()
688 cm->cm_state = MPR_CM_STATE_FREE; in mpr_free_high_priority_command()
708 KASSERT(cm->cm_state == MPR_CM_STATE_FREE, in mpr_alloc_high_priority_command()
709 ("mpr: Allocating busy command, state = %u\n", cm->cm_state)); in mpr_alloc_high_priority_command()
712 cm->cm_state = MPR_CM_STATE_BUSY; in mpr_alloc_high_priority_command()