Lines Matching defs:state
81 if (acctctl(type | AC_STATE_GET, &acp->state,
82 sizeof (acp->state)) == -1)
83 die(gettext("cannot get %s accounting state\n"),
115 * be forced into maintenance state by returning SMF_EXIT_ERR_CONFIG. For all
127 int state;
178 state = (b ? AC_ON : AC_OFF);
207 if (acctctl(type | AC_STATE_SET, &state, sizeof (state)) == -1) {
209 state == AC_ON ? gettext("enable") : gettext("disable"),
215 if (state == AC_ON && type == AC_NET) {
254 acp->state == AC_ON ?
269 acp->state == AC_ON ?
284 acp->state == AC_ON ?
299 acp->state == AC_ON ?