Home
last modified time | relevance | path

Searched refs:startd_alloc (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/svc/startd/
H A Denv.c65 glob_envp = startd_alloc(sizeof (*glob_envp) * glob_env_n); in init_env()
91 glob_envp[i] = startd_alloc((unsigned)(length + 1)); in init_env()
102 newp = startd_alloc(sizeof (*glob_envp) * glob_env_n); in init_env()
223 *np = startd_alloc(sz); in set_smf_env()
230 *np = startd_alloc(sz); in set_smf_env()
238 *np = startd_alloc(sz); in set_smf_env()
245 *np = startd_alloc(sz); in set_smf_env()
251 *np = startd_alloc(sz); in set_smf_env()
259 *np = startd_alloc(sz); in set_smf_env()
275 *dup_pos = startd_alloc(sz); in set_smf_env()
[all …]
H A Ddeathrow.c139 line = (char *)startd_alloc(line_size); in deathrow_init()
223 d = startd_alloc(sizeof (deathrow_t)); in deathrow_add()
224 d->fmri = startd_alloc(strlen(fmri) + 1); in deathrow_add()
H A Ddict.c114 entry = startd_alloc(sizeof (dict_entry_t)); in dict_insert()
117 entry->de_name = startd_alloc(strlen(name) + 1); in dict_insert()
H A Dstartd.c498 buf = startd_alloc(max_scf_fmri_size); in read_startd_config()
506 st->st_log_file = startd_alloc(strlen(STARTD_DEFAULT_LOG) + 1); in read_startd_config()
630 vbuf = startd_alloc(max_scf_value_size); in read_startd_config()
743 st->st_subgraph = startd_alloc(max_scf_fmri_size); in read_startd_config()
781 startd_alloc(max_scf_fmri_size); in read_startd_config()
H A Dprotocol.c108 e->gpe_inst = startd_alloc(size); in graph_event_enqueue()
226 e->rpe_inst = startd_alloc(strlen(inst) + 1); in restarter_event_enqueue()
308 states = startd_alloc(sizeof (protocol_states_t)); in state_cb()
H A Dlibscf.c53 buf = startd_alloc(max_scf_fmri_size); in inst_fmri_to_svc_fmri()
54 sfmri = startd_alloc(max_scf_fmri_size); in inst_fmri_to_svc_fmri()
436 pgname = startd_alloc(max_scf_fmri_size); in libscf_get_stn_tset()
627 char *scheme = startd_alloc(max_scf_value_size); in depgroup_read_scheme()
654 char *grouping = startd_alloc(max_scf_value_size); in depgroup_read_grouping()
960 char *inst_fmri = startd_alloc(max_scf_fmri_size); in libscf_instance_get_fmri()
2085 char *cname = startd_alloc(max_scf_value_size); in libscf_get_template_values()
2086 char *c_cname = startd_alloc(max_scf_value_size); in libscf_get_template_values()
2873 char *method = startd_alloc(max_scf_value_size); in libscf_get_method()
2874 char *ig = startd_alloc(max_scf_value_size); in libscf_get_method()
[all …]
H A Dmisc.c81 cf = startd_alloc(max_scf_fmri_size); in fmri_canonify()
H A Dgraph.c405 v->gv_name = startd_alloc(strlen(name) + 1); in graph_add_vertex()
449 e = startd_alloc(sizeof (graph_edge_t)); in graph_add_edge()
450 re = startd_alloc(sizeof (graph_edge_t)); in graph_add_edge()
750 *cpp = startd_alloc(1); in path_to_str()
765 new = startd_alloc(new_allocd); in path_to_str()
2361 fmri_copy = startd_alloc(fmri_copy_sz); in process_dependency_fmri()
2562 fmri = startd_alloc(fmri_sz); in process_dependency_pg()
2796 new = startd_alloc(sizeof (*new)); in append_svcs_or_insts()
3934 buf = startd_alloc(max_scf_fmri_size); in single_user_thread()
5831 fmri = startd_alloc(max_scf_fmri_size); in set_initial_milestone()
[all …]
H A Drestarter.c351 inst->ri_utmpx_prefix = startd_alloc(max_scf_value_size); in restarter_insert_inst()
354 inst->ri_i.i_fmri = startd_alloc(strlen(name) + 1); in restarter_insert_inst()
371 svc_name = startd_alloc(max_scf_name_size); in restarter_insert_inst()
372 inst_name = startd_alloc(max_scf_name_size); in restarter_insert_inst()
433 inst->ri_logstem = startd_alloc(PATH_MAX); in restarter_insert_inst()
494 ps = startd_alloc(sizeof (*ps)); in restarter_insert_inst()
892 states = startd_alloc(sizeof (protocol_states_t)); in restarter_instance_update_states()
2452 entry = startd_alloc(sizeof (timeout_entry_t)); in timeout_insert()
H A Dwait.c204 wi = startd_alloc(sizeof (wait_info_t)); in wait_register()
H A Dcontract.c325 ce = startd_alloc(sizeof (contract_entry_t)); in contract_hash_store()
H A Dstartd.h154 #define startd_alloc(sz) \ macro