Lines Matching defs:state
252 * sane state. By setting sp->sc_ok to 0, this will look like a poll failure
760 * the same (everyone agrees on the state) or if SAC thinks PM
762 * otherwise, send out a message indicating the state the SAC
943 * This routine's main purpose is to maintain the state associated with
946 * a port monitor's state exist: sc_sstate, sc_pstate, and sc_lstate.
947 * sc_sstate is the state in which the sac has been instructed to place
950 * sc_lstate is used if a port monitor dies to restart it in the state in
951 * which it was last running. sc_pstate is the last state that the port
953 * a state change, there is a window where sc_sstate and sc_pstate will
959 * monitor in the correct state is sent (SC_ENABLE or SC_DISABLE). sc_pstate
960 * is the state that is reported back to an AC_STATUS request. Finally,
962 * take the port monitor's reported state as the true state. This is the
1008 * state, pretend it said UNKNOWN
1013 "port monitor <%s> reporting invalid state",
1018 /* everyone agrees on the current state */
1031 * changed state without orders, try
1032 * to restore to correct state
1037 /* PM changed to state requested */
1039 "port monitor <%s> changed state from %s to %s",
1047 * in the state it was, nor is it in the
1048 * state we just tried to put it in, try
1049 * to restore to correct state if we should
1071 * validstate - determine if arg s a valid return state from a port monitor
1074 * args: state - state to be verified
1077 validstate(unchar state)
1079 switch (state) {