Lines Matching refs:state
42 * init service state table
66 char *state = NULL;
69 state = smf_get_state(NSCD_SMF_SVC_FMRI(srci));
70 if (state == NULL)
74 (me, "%s -- %s\n", state, NSCD_SMF_SVC_FMRI(srci));
82 if (strcmp(state, SCF_STATE_STRING_UNINIT) == 0)
84 else if (strcmp(state, SCF_STATE_STRING_MAINT) == 0)
86 else if (strcmp(state, SCF_STATE_STRING_OFFLINE) == 0)
88 else if (strcmp(state, SCF_STATE_STRING_DISABLED) == 0)
90 else if (strcmp(state, SCF_STATE_STRING_ONLINE) == 0)
92 else if (strcmp(state, SCF_STATE_STRING_DEGRADED) == 0)
98 free(state);
111 * the forker nscd needs not monitor the state
143 * start a thread to check the state of the client services
203 * if the state has been queried at least once but is