Searched defs:svcstate (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/svc/svcadm/ |
H A D | svcadm.c | 105 static char svcstate[80]; variable 1698 if (strcmp(state, svcstate) != 0) 1878 if (svcsearch && strcmp(state, svcstate) != 0) 1906 if (strcmp(state, svcstate) != 0) 1932 if (svcsearch && strcmp(state, svcstate) != 0) 1958 if (strcmp(state, svcstate) != 0) 2180 (void) strlcpy(svcstate, optarg, sizeof (svcstate)); 2557 if (strcmp(svcstate, SCF_STATE_STRING_MAINT) != 0 && 2558 strcmp(svcstate, SCF_STATE_STRING_DEGRADE [all...] |
/illumos-gate/usr/src/cmd/smserverd/ |
H A D | smediad.c | 80 * Two variables svcstate and svccount are used to determine if the server 82 * The svcstate is set to 1(_SERVED) when ever the server does any operation 90 * This thread runs periodically and monitors both svcstate and svccount. 91 * If svcstate is IDLE and svccount is 0 then server exits. 92 * The svcstate is set to IDLE by the closedown thread. It is set to _SERVED 95 * that do not succeed. This is the reason for using both svcstate and svccount 223 static int svcstate = _IDLE; /* Set when a request is serviced */ variable 226 static mutex_t svcstate_lock; /* lock for svcstate, svccount */ 428 svcstate = _SERVED; 2000 svcstate [all...] |
Completed in 66 milliseconds