/titanic_44/usr/src/cmd/svc/startd/ |
H A D | method.c | 147 if (scf_read_propvec(inst->ri_i.i_fmri, "startd", in method_rate_critical() 193 uu_die("%s: Couldn't get new contract's id", inst->ri_i.i_fmri); in method_store_contract() 201 "was set to %ld\n", inst->ri_i.i_fmri, in method_store_contract() 218 "was set to %ld\n", inst->ri_i.i_fmri, in method_store_contract() 226 "%s.\n", *cid, inst->ri_i.i_fmri); in method_store_contract() 258 inst->ri_i.i_fmri, *cid); in method_store_contract() 289 primary ? "primary" : "transient", *ctidp, inst->ri_i.i_fmri); in method_remove_contract() 323 "%s.\n", inst->ri_i.i_fmri, *ctidp, strerror(r)); in method_remove_contract() 427 err = ct_pr_tmpl_set_svc_fmri(tmpl, inst->ri_i.i_fmri); in method_ready_contract() 629 inst->ri_i.i_fmri, strerror(r)); in write_status() [all …]
|
H A D | restarter.c | 290 "for %s from repository.\n", *ctidp, inst->ri_i.i_fmri); in check_contract() 353 inst->ri_i.i_fmri = startd_alloc(strlen(name) + 1); in restarter_insert_inst() 354 (void) strcpy((char *)inst->ri_i.i_fmri, name); in restarter_insert_inst() 499 graph_protocol_send_event(inst->ri_i.i_fmri, in restarter_insert_inst() 573 switch (libscf_read_method_ids(h, scf_inst, inst->ri_i.i_fmri, in restarter_insert_inst() 644 ret = wait_register(start_pid, inst->ri_i.i_fmri, 0, 1); in restarter_insert_inst() 654 inst->ri_i.i_fmri, start_pid); in restarter_insert_inst() 696 startd_free((void *)inst->ri_i.i_fmri, strlen(inst->ri_i.i_fmri) + 1); in restarter_insert_inst() 739 ri->ri_i.i_fmri); in restarter_delete_inst() 760 startd_free((void *)ri->ri_i.i_fmri, strlen(ri->ri_i.i_fmri) + 1); in restarter_delete_inst() [all …]
|
H A D | log.c | 403 vlog_instance(inst->ri_i.i_fmri, inst->ri_logstem, canlog, format, in log_instance() 472 inst->ri_i.i_fmri + strlen("svc:/"), action, in log_transition() 510 inst->ri_i.i_fmri + strlen("svc:/"), action); in log_transition() 519 inst->ri_i.i_fmri, uu_strerror(uu_error())); in log_transition() 533 inst->ri_i.i_fmri, strerror(errno)); in log_transition() 536 inst->ri_i.i_fmri + strlen("svc:/"), action); in log_transition()
|
H A D | env.c | 283 sz = sizeof ("SMF_FMRI=") + strlen(inst->ri_i.i_fmri); in set_smf_env() 286 (void) strlcat(*np, inst->ri_i.i_fmri, sz); in set_smf_env()
|
H A D | libscf.c | 2895 if (scf_handle_decode_fmri(h, inst->ri_i.i_fmri, NULL, NULL, scf_inst, in libscf_get_method() 2899 inst->ri_i.i_fmri, scf_strerror(scf_error())); in libscf_get_method() 2924 "from %s/%s\n", inst->ri_i.i_fmri, name, SCF_PROPERTY_EXEC); in libscf_get_method() 2996 "astring from %s/%s\n", inst->ri_i.i_fmri, in libscf_get_method() 3077 "from %s/%s\n", inst->ri_i.i_fmri, name, in libscf_get_method() 3119 inst->ri_i.i_fmri, inst->ri_i.i_fault_count); in update_fault_count() 3713 idata.i_fmri = SCF_SERVICE_STARTD; in libscf_create_self() 3744 uu_warn("Could not timestamp %s: %s\n", idata.i_fmri, in libscf_create_self() 3923 r = libscf_lookup_instance(inst->ri_i.i_fmri, inst->ri_m_inst); in libscf_reget_instance()
|
H A D | startd.c | 537 idata.i_fmri = SCF_SERVICE_STARTD; in read_startd_config() 567 idata.i_fmri, strerror(r)); in read_startd_config()
|
H A D | graph.c | 3277 (char **)&idata.i_fmri)) { in configure_vertex() 3313 startd_free((void *)idata.i_fmri, max_scf_fmri_size); in configure_vertex() 3319 startd_free((void *)idata.i_fmri, max_scf_fmri_size); in configure_vertex() 3328 "%s: %s.\n", idata.i_fmri, strerror(err)); in configure_vertex() 3336 startd_free((void *)idata.i_fmri, max_scf_fmri_size); in configure_vertex() 3478 err = libscf_instance_get_fmri(inst, (char **)&idata.i_fmri); in configure_vertex() 3506 startd_free((void *)idata.i_fmri, max_scf_fmri_size); in configure_vertex() 3510 startd_free((void *)idata.i_fmri, max_scf_fmri_size); in configure_vertex() 3517 "%s: %s.\n", idata.i_fmri, strerror(err)); in configure_vertex() 3525 startd_free((void *)idata.i_fmri, max_scf_fmri_size); in configure_vertex()
|
H A D | fork.c | 757 idata.i_fmri = SCF_INSTANCE_EMI; in emi_set_state()
|
/titanic_44/usr/src/lib/librestart/common/ |
H A D | librestart_priv.h | 47 const char *i_fmri; member
|
H A D | librestart.c | 897 id.i_fmri = inst; in restarter_set_states() 1170 if (scf_handle_decode_fmri(h, id->i_fmri, NULL, NULL, s_inst, in _restarter_commit_states()
|
/titanic_44/usr/src/cmd/mdb/common/modules/svc.startd/ |
H A D | startd.c | 237 if (mdb_readstr(iname, 1024, (uintptr_t)ri.ri_i.i_fmri) == -1) { in pr_instance()
|