Home
last modified time | relevance | path

Searched refs:uu_zalloc (Results 1 – 25 of 25) sorted by relevance

/titanic_44/usr/src/lib/libuutil/common/
H A Duu_alloc.c33 uu_zalloc(size_t n) in uu_zalloc() function
62 buf = uu_zalloc(sz); in uu_strdup()
80 p = uu_zalloc(len + 1); in uu_strndup()
100 p = uu_zalloc(sz); in uu_memdup()
121 if ((b = uu_zalloc(m + 1)) == NULL) in uu_msprintf()
H A Duu_open.c50 char *fname = uu_zalloc(PATH_MAX); in uu_open_tmp()
H A Duu_dprintf.c76 if ((D = uu_zalloc(sizeof (uu_dprintf_t))) == NULL) in uu_dprintf_create()
H A Duu_avl.c84 pp = uu_zalloc(sizeof (uu_avl_pool_t)); in uu_avl_pool_create()
219 ap = uu_zalloc(sizeof (*ap)); in uu_avl_create()
372 wp = uu_zalloc(sizeof (*wp)); in uu_avl_walk_start()
H A Duu_list.c81 pp = uu_zalloc(sizeof (uu_list_pool_t)); in uu_list_pool_create()
199 lp = uu_zalloc(sizeof (*lp)); in uu_list_create()
468 wp = uu_zalloc(sizeof (*wp)); in uu_list_walk_start()
H A Dmapfile-vers118 uu_zalloc;
H A Dlibuutil.h149 extern void *uu_zalloc(size_t);
/titanic_44/usr/src/cmd/svc/common/
H A Dmanifest_find.c103 info = uu_zalloc(sizeof (*info)); in add_pointer()
145 tsdp = uu_zalloc(sizeof (*tsdp)); in get_thread_specific_data()
H A Dmanifest_hash.c59 out = uu_zalloc(PATH_MAX + 1); in mhash_filename_to_propname()
/titanic_44/usr/src/lib/libdtrace_jni/common/
H A Ddtj_jnitab.c530 r = uu_zalloc(sizeof (dtj_request_t)); in dtj_request_create()
603 p = uu_zalloc(sizeof (dtj_program_t)); in dtj_program_create()
658 e = uu_zalloc(sizeof (dtj_aggval_t)); in dtj_aggval_create()
777 c = uu_zalloc(sizeof (dtj_consumer_t)); in dtj_consumer_create()
H A Ddtj_util.c301 dtj_java_class_t *c = uu_zalloc(sizeof (dtj_java_class_t)); in dtj_java_class_create()
337 dtj_java_method_t *m = uu_zalloc(sizeof (dtj_java_method_t)); in dtj_java_method_create()
367 dtj_java_field_t *f = uu_zalloc(sizeof (dtj_java_field_t)); in dtj_java_field_create()
1114 argv = uu_zalloc((sizeof (char *)) * (*argc + 1)); in dtj_get_argv()
1194 argv = uu_zalloc(sizeof (char *) * (len / 2 + 1)); in dtj_make_argv()
1318 e = uu_zalloc(sizeof (dtj_pointer_list_entry_t)); in dtj_pointer_list_entry_create()
1365 e = uu_zalloc(sizeof (dtj_string_list_entry_t)); in dtj_string_list_entry_create()
/titanic_44/usr/src/cmd/svc/svccfg/
H A Dsvccfg_internal.c245 if ((b = uu_zalloc(sizeof (bundle_t))) == NULL) in internal_bundle_new()
276 if ((e = uu_zalloc(sizeof (entity_t))) == NULL) in internal_entity_new()
393 if ((p = uu_zalloc(sizeof (pgroup_t))) == NULL) in internal_pgroup_new()
510 if ((p = uu_zalloc(sizeof (property_t))) == NULL) in internal_property_new()
564 if ((v = uu_zalloc(sizeof (value_t))) == NULL) in internal_value_new()
1235 type = uu_zalloc(tsize); in load_instance()
H A Dsvccfg_tmpl.c879 av = uu_zalloc(sizeof (*av)); in av_create()
887 av->av_v.av_unsigned = uu_zalloc(count * sizeof (uint64_t)); in av_create()
892 av->av_v.av_integer = uu_zalloc(count * sizeof (int64_t)); in av_create()
897 av->av_v.av_string = uu_zalloc(count * sizeof (char *)); in av_create()
1265 name = uu_zalloc(limit); in gen_prop_pattern_pg_name()
1825 ite = uu_zalloc(sizeof (*ite)); in tmpl_errors_add_im()
2233 i = uu_zalloc(sizeof (*i)); in pg_iter_create()
3024 te = uu_zalloc(sizeof (*te)); in tmpl_errors_create()
H A Dsvccfg_engine.c381 est = uu_zalloc(sizeof (engine_state_t)); in engine_source()
483 est = uu_zalloc(sizeof (engine_state_t)); in engine_init()
H A Dsvccfg_xml.c1947 out = uu_zalloc(2 * scf_limit(SCF_LIMIT_MAX_NAME_LENGTH) + 1); in lxml_label_to_groupname()
3422 bname = uu_zalloc(PATH_MAX + 1); in lxml_get_service()
/titanic_44/usr/src/cmd/svc/configd/
H A Dconfigd.c305 if ((ti = uu_zalloc(sizeof (*ti))) == NULL) in new_thread_needed()
312 if ((ti->ti_ucred = uu_zalloc(ucred_size())) == NULL) in new_thread_needed()
H A Dsnapshot.c56 sp = uu_zalloc(sizeof (*sp)); in snapshot_alloc()
H A Dfile_object.c117 new = uu_zalloc(DELETE_STACK_SIZE(NUM_NEEDED)); in delete_stack_push()
783 info.pvi_base = uu_zalloc(info.pvi_size); in fill_property_callback()
1780 lvl = uu_zalloc(sizeof (*lvl)); in fill_snapshot_cb()
1905 check_snapshot_elem_t *new = uu_zalloc(newsz * sizeof (*new)); in check_snapshot_fill_cb()
H A Dclient.c266 cp = uu_zalloc(sizeof (*cp)); in client_alloc()
403 repcache_entity_t *ep = uu_zalloc(sizeof (repcache_entity_t)); in entity_alloc()
547 iter = uu_zalloc(sizeof (repcache_iter_t)); in iter_alloc()
2254 request_log = uu_zalloc(request_log_size * in client_init()
H A Dobject.c492 data = uu_zalloc(TX_COMMIT_DATA_SIZE(count)); in tx_commit_data_new()
H A Drc_node.c1304 p = uu_zalloc(sizeof (*p)); in pc_create()
1308 p->pc_buckets = uu_zalloc(sizeof (*p->pc_buckets) * p->pc_bnum); in pc_create()
1405 new_buckets = uu_zalloc(sizeof (*new_buckets) * new_bnum); in pc_grow()
1431 ep = uu_zalloc(offsetof(struct pc_elt, pce_auth) + strlen(auth) + 1); in pc_add()
1716 rc_node_t *np = uu_zalloc(sizeof (*np)); in rc_node_alloc()
4925 ndp = uu_zalloc(sizeof (*ndp)); in rc_node_delete()
5957 nip = uu_zalloc(sizeof (*nip)); in rc_iter_create()
6102 nip = uu_zalloc(sizeof (*nip)); in rc_node_setup_value_iter()
H A Dbackend.c2116 ret = uu_zalloc(sizeof (*ret)); in backend_tx_begin_common()
/titanic_44/usr/src/lib/libscf/common/
H A Dlowlevel.c746 ret = uu_zalloc(sizeof (*ret)); in scf_handle_create()
2135 iter = uu_zalloc(sizeof (*iter)); in scf_iter_create()
2616 ret = uu_zalloc(sizeof (*ret)); in scf_scope_create()
2673 ret = uu_zalloc(sizeof (*ret)); in scf_service_create()
2901 ret = uu_zalloc(sizeof (*ret)); in scf_instance_create()
2946 ret = uu_zalloc(sizeof (*ret)); in scf_snapshot_create()
2991 ret = uu_zalloc(sizeof (*ret)); in scf_snaplevel_create()
3133 ret = uu_zalloc(sizeof (*ret)); in scf_pg_create()
3532 ret = uu_zalloc(sizeof (*ret)); in scf_property_create()
3667 ret = uu_zalloc(sizeof (scf_transaction_t)); in scf_transaction_create()
[all …]
H A Dmidlevel.c1327 ret = uu_zalloc(sizeof (*ret)); in scf_general_pg_setup()
/titanic_44/usr/src/lib/librestart/common/
H A Dlibrestart.c605 e = uu_zalloc(sizeof (restarter_event_t)); in cb()
666 if ((h = uu_zalloc(sizeof (restarter_event_handle_t))) == NULL) in restarter_bind_handle()
2711 if ((mcp->env = uu_zalloc(sizeof (*mcp->env) * mcp->env_sz)) == NULL) { in get_environment()
2731 env = uu_zalloc(sizeof (*mcp->env) * mcp->env_sz); in get_environment()