Lines Matching refs:mstate
686 cs->mstate = MS_UNINITIALIZED; in init_failed()
704 cs->mstate = state; in schedule_init()
870 if (cs->mstate != MS_LOCKED) in do_start()
882 if (cs->mstate != MS_LOCKED) { in finish_shutdown()
883 cs->mstate = MS_UNINITIALIZED; in finish_shutdown()
904 if (cs->mstate == MS_READY) { in do_shutdown()
905 cs->mstate = MS_SHUTDOWN; in do_shutdown()
1011 switch (cs->mstate) { in do_lock()
1033 cs->mstate = MS_LOCKED; in do_lock()
1041 if (cs->mstate != MS_LOCKED) in do_unlock()
1044 cs->mstate = MS_UNINITIALIZED; in do_unlock()
1083 cs->mstate = MS_READY; in do_action()
1114 if (cs->mstate == MS_INIT || cs->mstate == MS_RECOVER) { in do_action()
1116 cs->mstate = MS_READY; in do_action()
1127 if (cs->mstate == MS_INIT || cs->mstate == MS_RECOVER) { in do_action()
1656 if (cs->mstate == MS_RECOVER) { in process_command_flags()