Searched refs:env_lock_state (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcplugin/ |
H A D | psvcplugin.c | 158 static char env_lock_state[LOCK_STRING_MAX] = PSVC_LOCK_ENABLED; variable 419 (void) strlcpy(env_lock_state, in timer_thread() 434 if (strcmp(env_lock_state, PSVC_LOCK_ENABLED) == 0) { in lock_state_loop() 435 (void) strlcpy(env_lock_state, set_lock_state, LOCK_STRING_MAX); in lock_state_loop() 492 if (strcmp(env_lock_state, PSVC_LOCK_ENABLED) != 0) { in lock_and_run() 500 (void) strlcpy(env_lock_state, PSVC_LOCK_RUNNING, in lock_and_run() 517 (void) strlcpy(env_lock_state, PSVC_LOCK_ENABLED, LOCK_STRING_MAX); in lock_and_run() 787 (void) strlcpy(env_lock_state, PSVC_LOCK_ENABLED, LOCK_STRING_MAX); in init_daemon() 1469 (void) strlcpy((char *)buf, env_lock_state, LOCK_STRING_MAX); in env_lock_read() 1496 if (strcmp(env_lock_state, PSVC_LOCK_ENABLED) == 0) { in env_lock_write() [all …]
|