Searched refs:restarter_fmri (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/cmd/svc/startd/ |
H A D | graph.c | 2064 char *restarter_fmri = NULL; in graph_change_restarter() local 2072 err = fmri_canonify(fmri_arg, &restarter_fmri, B_TRUE); in graph_change_restarter() 2079 if (restarter_fmri == NULL || in graph_change_restarter() 2080 strcmp(restarter_fmri, SCF_SERVICE_STARTD) == 0) { in graph_change_restarter() 2083 if (restarter_fmri != NULL) in graph_change_restarter() 2084 startd_free(restarter_fmri, in graph_change_restarter() 2100 id = dict_lookup_byname(restarter_fmri); in graph_change_restarter() 2102 startd_free(restarter_fmri, max_scf_fmri_size); in graph_change_restarter() 2109 err = graph_insert_vertex_unconfigured(restarter_fmri, GVT_INST, 0, in graph_change_restarter() 2111 startd_free(restarter_fmri, max_scf_fmri_size); in graph_change_restarter() [all …]
|
H A D | libscf.c | 1116 const char *fmri, int *enabledp, int *enabled_ovrp, char **restarter_fmri) in libscf_get_basic_instance_data() argument 1227 if (restarter_fmri != NULL) in libscf_get_basic_instance_data() 1228 get_restarter(h, pg, restarter_fmri); in libscf_get_basic_instance_data()
|
/titanic_41/usr/src/cmd/svc/svcs/ |
H A D | svcs.c | 2983 char *restarter_fmri; in list_instance() local 2990 restarter_fmri = safe_malloc(max_scf_fmri_length + 1); in list_instance() 2993 SCF_PROPERTY_RESTARTER, SCF_TYPE_ASTRING, restarter_fmri, in list_instance() 2995 (void) strcpy(restarter_fmri, SCF_SERVICE_STARTD); in list_instance() 2997 if (scf_parse_svc_fmri(restarter_fmri, &scope_name, &svc_name, in list_instance() 2999 free(restarter_fmri); in list_instance() 3011 free(restarter_fmri); in list_instance()
|