Searched refs:smf_state (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | enm.c | 373 char *fmri, *smf_state; in nwamd_enm_activate() local 408 if ((smf_state = smf_get_state(fmri)) == NULL) { in nwamd_enm_activate() 420 if (strcmp(smf_state, SCF_STATE_STRING_ONLINE) == 0) in nwamd_enm_activate() 422 else if (strcmp(smf_state, SCF_STATE_STRING_OFFLINE) == 0) in nwamd_enm_activate() 424 else if (strcmp(smf_state, SCF_STATE_STRING_DISABLED) == 0) in nwamd_enm_activate() 439 free(smf_state); in nwamd_enm_activate() 481 char *fmri, *smf_state; in nwamd_enm_deactivate() local 532 if ((smf_state = smf_get_state(fmri)) == NULL) { in nwamd_enm_deactivate() 544 free(smf_state); in nwamd_enm_deactivate()
|
/titanic_41/usr/src/cmd/acctadm/ |
H A D | main.c | 527 char *smf_state; in main() local 539 smf_state = smf_get_state(fmri); in main() 545 if (strcmp(smf_state, SCF_STATE_STRING_ONLINE) != 0) in main() 550 if (strcmp(smf_state, SCF_STATE_STRING_ONLINE) == 0) in main() 555 free(smf_state); in main()
|
/titanic_41/usr/src/cmd/nscd/ |
H A D | nscd_switch.c | 750 int smf_state; in nss_search() local 815 smf_state = _nscd_get_smf_state(srci, dbi, 0); in nss_search() 819 (smf_state == NSCD_SVC_STATE_UNSUPPORTED_SRC || in nss_search() 820 (smf_state == NSCD_SVC_STATE_FOREIGN_SRC && in nss_search() 854 (smf_state != NSCD_SVC_STATE_UNINITED && in nss_search() 855 smf_state != NSCD_SVC_STATE_UNSUPPORTED_SRC && in nss_search() 856 smf_state != NSCD_SVC_STATE_FOREIGN_SRC && in nss_search() 857 smf_state < SCF_STATE_ONLINE)))) { in nss_search() 863 NSCD_NSW_SRC_NAME(srci), be, smf_state, funcp); in nss_search()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | inetd.c | 148 restarter_instance_state_t smf_state; member 398 states[old_cur].smf_state, states[new_cur_state].smf_state, in update_instance_states() 399 states[old_next].smf_state, states[new_next_state].smf_state, in update_instance_states()
|