Home
last modified time | relevance | path

Searched refs:svcstate (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/svc/svcadm/
H A Dsvcadm.c122 static char svcstate[80]; variable
1833 if (strcmp(state, svcstate) != 0) in set_fmri_enabled()
2012 if (svcsearch && strcmp(state, svcstate) != 0) in clear_instance()
2039 if (strcmp(state, svcstate) != 0) in set_fmri_action()
2059 if (svcsearch && strcmp(state, svcstate) != 0) in force_degraded()
2085 if (strcmp(state, svcstate) != 0) in force_maintenance()
2273 (void) strlcpy(svcstate, optarg, sizeof (svcstate)); in main()
2666 if (strcmp(svcstate, SCF_STATE_STRING_MAINT) != 0 && in main()
2667 strcmp(svcstate, SCF_STATE_STRING_DEGRADED) != 0) in main()
/illumos-gate/usr/src/cmd/smserverd/
H A Dsmediad.c223 static int svcstate = _IDLE; /* Set when a request is serviced */ variable
428 svcstate = _SERVED; in smserverproc_get_serverinfo_1()
2000 svcstate = _SERVED; in client_servproc()
2437 svcstate = _SERVED; in main_servproc()
2873 if (svcstate == _IDLE && svccount == 0) { in closedown()
2887 svcstate = _IDLE; in closedown()