Home
last modified time | relevance | path

Searched refs:restarter_fmri (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/svc/startd/
H A Dgraph.c2038 char *restarter_fmri = NULL; in graph_change_restarter() local
2046 err = fmri_canonify(fmri_arg, &restarter_fmri, B_TRUE); in graph_change_restarter()
2053 if (restarter_fmri == NULL || in graph_change_restarter()
2054 strcmp(restarter_fmri, SCF_SERVICE_STARTD) == 0) { in graph_change_restarter()
2057 if (restarter_fmri != NULL) in graph_change_restarter()
2058 startd_free(restarter_fmri, in graph_change_restarter()
2074 id = dict_lookup_byname(restarter_fmri); in graph_change_restarter()
2076 startd_free(restarter_fmri, max_scf_fmri_size); in graph_change_restarter()
2083 err = graph_insert_vertex_unconfigured(restarter_fmri, GVT_INST, 0, in graph_change_restarter()
2085 startd_free(restarter_fmri, max_scf_fmri_size); in graph_change_restarter()
[all …]
H A Dlibscf.c1117 const char *fmri, int *enabledp, int *enabled_ovrp, char **restarter_fmri) in libscf_get_basic_instance_data() argument
1228 if (restarter_fmri != NULL) in libscf_get_basic_instance_data()
1229 get_restarter(h, pg, restarter_fmri); in libscf_get_basic_instance_data()
/illumos-gate/usr/src/cmd/svc/svcs/
H A Dsvcs.c3006 char *restarter_fmri; in list_instance() local
3013 restarter_fmri = safe_malloc(max_scf_fmri_length + 1); in list_instance()
3016 SCF_PROPERTY_RESTARTER, SCF_TYPE_ASTRING, restarter_fmri, in list_instance()
3018 (void) strcpy(restarter_fmri, SCF_SERVICE_STARTD); in list_instance()
3020 if (scf_parse_svc_fmri(restarter_fmri, &scope_name, &svc_name, in list_instance()
3022 free(restarter_fmri); in list_instance()
3034 free(restarter_fmri); in list_instance()