Searched refs:startd_alloc (Results 1 – 12 of 12) sorted by relevance
68 glob_envp = startd_alloc(sizeof (*glob_envp) * glob_env_n); in init_env()70 glob_envp[0] = startd_alloc((unsigned)(strlen(DEF_PATH)+2)); in init_env()145 glob_envp[i] = startd_alloc((unsigned)(length + 1)); in init_env()154 newp = startd_alloc(sizeof (*glob_envp) * in init_env()277 *np = startd_alloc(sz); in set_smf_env()284 *np = startd_alloc(sz); in set_smf_env()292 *np = startd_alloc(sz); in set_smf_env()299 *np = startd_alloc(sz); in set_smf_env()305 *np = startd_alloc(sz); in set_smf_env()313 *np = startd_alloc(sz); in set_smf_env()[all …]
139 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()
116 entry = startd_alloc(sizeof (dict_entry_t)); in dict_insert()119 entry->de_name = startd_alloc(strlen(name) + 1); in dict_insert()
498 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()
108 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()
52 buf = startd_alloc(max_scf_fmri_size); in inst_fmri_to_svc_fmri()53 sfmri = startd_alloc(max_scf_fmri_size); in inst_fmri_to_svc_fmri()435 pgname = startd_alloc(max_scf_fmri_size); in libscf_get_stn_tset()512 char *char_state = startd_alloc(max_scf_value_size); in libscf_read_state()626 char *scheme = startd_alloc(max_scf_value_size); in depgroup_read_scheme()653 char *grouping = startd_alloc(max_scf_value_size); in depgroup_read_grouping()684 char *restart_on = startd_alloc(max_scf_value_size); in depgroup_read_restart()959 char *inst_fmri = startd_alloc(max_scf_fmri_size); in libscf_instance_get_fmri()2077 char *cname = startd_alloc(max_scf_value_size); in libscf_get_template_values()2078 char *c_cname = startd_alloc(max_scf_value_size); in libscf_get_template_values()[all …]
83 cf = startd_alloc(max_scf_fmri_size); in fmri_canonify()
350 inst->ri_utmpx_prefix = startd_alloc(max_scf_value_size); in restarter_insert_inst()353 inst->ri_i.i_fmri = startd_alloc(strlen(name) + 1); in restarter_insert_inst()370 svc_name = startd_alloc(max_scf_name_size); in restarter_insert_inst()371 inst_name = startd_alloc(max_scf_name_size); in restarter_insert_inst()432 inst->ri_logstem = startd_alloc(PATH_MAX); in restarter_insert_inst()493 ps = startd_alloc(sizeof (*ps)); in restarter_insert_inst()891 states = startd_alloc(sizeof (protocol_states_t)); in restarter_instance_update_states()2452 entry = startd_alloc(sizeof (timeout_entry_t)); in timeout_insert()
399 v->gv_name = startd_alloc(strlen(name) + 1); in graph_add_vertex()443 e = startd_alloc(sizeof (graph_edge_t)); in graph_add_edge()444 re = startd_alloc(sizeof (graph_edge_t)); in graph_add_edge()689 cs->path = startd_alloc((cs->depth + 1) * sizeof (int)); in child_pre()744 *cpp = startd_alloc(1); in path_to_str()759 new = startd_alloc(new_allocd); in path_to_str()2198 inst_fmri = startd_alloc(max_scf_fmri_size); in add_service()2389 fmri_copy = startd_alloc(fmri_copy_sz); in process_dependency_fmri()2550 pg_name = startd_alloc(max_scf_name_size); in process_dependency_pg()2590 fmri = startd_alloc(fmri_sz); in process_dependency_pg()[all …]
203 wi = startd_alloc(sizeof (wait_info_t)); in wait_register()
325 ce = startd_alloc(sizeof (contract_entry_t)); in contract_hash_store()
161 #define startd_alloc(sz) \ macro