Lines Matching refs:cm_state
245 u_int cm_state; member
549 KASSERT(cm->cm_state == MPS_CM_STATE_BUSY, in mps_free_command()
550 ("state not busy: %u\n", cm->cm_state)); in mps_free_command()
562 cm->cm_state = MPS_CM_STATE_FREE; in mps_free_command()
585 KASSERT(cm->cm_state == MPS_CM_STATE_FREE, in mps_alloc_command()
586 ("mps: Allocating busy command: %u\n", cm->cm_state)); in mps_alloc_command()
589 cm->cm_state = MPS_CM_STATE_BUSY; in mps_alloc_command()
599 KASSERT(cm->cm_state == MPS_CM_STATE_BUSY, in mps_free_high_priority_command()
600 ("state not busy: %u\n", cm->cm_state)); in mps_free_high_priority_command()
611 cm->cm_state = MPS_CM_STATE_FREE; in mps_free_high_priority_command()
628 KASSERT(cm->cm_state == MPS_CM_STATE_FREE, in mps_alloc_high_priority_command()
629 ("mps: Allocating high priority busy command: %u\n", cm->cm_state)); in mps_alloc_high_priority_command()
632 cm->cm_state = MPS_CM_STATE_BUSY; in mps_alloc_high_priority_command()