Lines Matching refs:sc_name
6196 if (scf_service_add_instance(imp_tsvc, inst->sc_name, imp_tinst) != 0) {
6207 imp_tsname, inst->sc_name);
6219 inst->sc_name);
6225 inst->sc_name, imp_tsname);
6237 inst->sc_name);
6248 warn(emsg_tdel, imp_tsname, inst->sc_name);
6254 warn(emsg_tchg, imp_tsname, inst->sc_name);
6278 inst->sc_name);
6297 warn(emsg_tdel, imp_tsname, inst->sc_name);
6302 warn(emsg_tchg, imp_tsname, inst->sc_name);
6313 if (_scf_snapshot_take_new_named(imp_tinst, inst->sc_parent->sc_name,
6314 inst->sc_name, snap_lastimport, imp_tlisnap) != 0) {
6324 warn(emsg_tchg, imp_tsname, inst->sc_name);
6352 if (scf_service_get_instance(rsvc, inst->sc_name, imp_inst) == 0) {
6358 inst->sc_name);
6401 warn(emsg_del, inst->sc_parent->sc_fmri, inst->sc_name);
6421 inst->sc_name);
6454 inst->sc_name);
6477 warn(emsg_del, inst->sc_parent->sc_fmri, inst->sc_name);
6521 if (scf_service_add_instance(rsvc, inst->sc_name,
6536 inst->sc_parent->sc_fmri, inst->sc_name);
6544 inst->sc_name, inst->sc_parent->sc_fmri);
6622 inst->sc_parent->sc_fmri, inst->sc_name);
6681 inst->sc_parent->sc_fmri, inst->sc_name);
6753 "(repository connection broken).\n"), imp_tsname, inst->sc_name);
6813 "state is %s\n"), svc->sc_name, inst->sc_name, emi_state);
6823 if ((ret = scf_scope_get_service(scope, svc->sc_name, imp_svc)) != 0) {
6825 warn(gettext("Failed to look up service: %s\n"), svc->sc_name);
6835 if ((ret = scf_service_get_instance(imp_svc, inst->sc_name, imp_inst))
6838 warn(gettext("Failed to verify instance: %s\n"), inst->sc_name);
6849 "under us.\n"), inst->sc_name);
6870 "group for instance: %s\n"), inst->sc_name);
6907 SCF_PROPERTY_STATE, inst->sc_name);
6931 "group for instance: %s\n"), inst->sc_name);
7061 if (scf_scope_get_service(scope, s->sc_name, imp_svc) != 0) {
7068 "Cannot import.\n"), s->sc_name);
7088 r = snprintf(imp_tsname, max_scf_name_len, "TEMP/%s", s->sc_name);
7094 s->sc_name);
7194 if (scf_scope_get_service(scope, s->sc_name, imp_svc) != 0) {
7210 if (scf_scope_add_service(scope, s->sc_name, imp_svc) != 0) {
7224 SCF_SCOPE_LOCAL, s->sc_name);
7230 "(permission denied).\n"), s->sc_name);
7379 snap_previous, s->sc_name, imp_str);
7395 snap_previous, s->sc_name, imp_str);
7409 linst.sc_name = imp_str;
7429 if (scf_service_add_instance(imp_svc, inst->sc_name,
7444 inst->sc_name);
7451 "invalid name \"%s\".\n"), s->sc_name,
7452 inst->sc_name);
7459 inst->sc_name, s->sc_fmri);
7481 warn(i_deleted, s->sc_fmri, inst->sc_name);
7730 warn(badsnap, snap_lastimport, s->sc_name, imp_str);
7777 warn(badsnap, snap_running, s->sc_name,
8426 warn(gettext(" Service \"%s\": %s\n"), svc->sc_name,
8433 inst->sc_name,
8731 if (scf_scope_get_service(imp_scope, svc->sc_name,
8737 "service %s.\n"), svc->sc_name);
8771 inst->sc_name, imp_inst) != 0)
8827 inst->sc_parent->sc_name,
8828 inst->sc_name);
8833 if (scf_service_get_instance(imp_svc, inst->sc_name,
8841 inst->sc_parent->sc_name,
8842 inst->sc_name);
8870 inst->sc_parent->sc_name,
8871 inst->sc_name);
8904 (void) refresh_entity(1, imp_svc, svc->sc_name,
16547 (void) find_add_svc_mfst(mfsvc->sc_name,
16723 if (strcmp(mfsvc->sc_name, svcn) == 0)
16747 mfinst->sc_name);