Home
last modified time | relevance | path

Searched refs:dt_alloc (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_as.c272 dp->dtdo_buf = dt_alloc(dtp, sizeof (dif_instr_t) * dlp->dl_len); in dt_as()
277 if ((labels = dt_alloc(dtp, sizeof (uint_t) * dlp->dl_label)) == NULL) in dt_as()
354 dp->dtdo_vartab = dt_alloc(dtp, n * sizeof (dtrace_difv_t)); in dt_as()
370 dp->dtdo_kreltab = dt_alloc(dtp, in dt_as()
379 dp->dtdo_ureltab = dt_alloc(dtp, in dt_as()
469 if ((dp->dtdo_strtab = dt_alloc(dtp, n)) == NULL) in dt_as()
482 if ((dp->dtdo_inttab = dt_alloc(dtp, in dt_as()
H A Ddt_provider.c432 if ((prp = dt_alloc(dtp, sizeof (dt_probe_t))) == NULL) in dt_probe_create()
443 prp->pr_nargv = dt_alloc(dtp, sizeof (dt_node_t *) * nargc); in dt_probe_create()
446 prp->pr_xargv = dt_alloc(dtp, sizeof (dt_node_t *) * xargc); in dt_probe_create()
448 prp->pr_mapping = dt_alloc(dtp, sizeof (uint8_t) * xargc); in dt_probe_create()
450 prp->pr_argv = dt_alloc(dtp, sizeof (dtrace_typeinfo_t) * xargc); in dt_probe_create()
596 uint32_t *new_offs = dt_alloc(dtp, sizeof (uint32_t) * new_max); in dt_probe_define()
H A Ddt_inttab.c79 if ((hp = dt_alloc(ip->int_hdl, sizeof (dt_inthash_t))) == NULL) in dt_inttab_insert()
H A Ddt_program.c246 if ((new = dt_alloc(dtp, sizeof (dtrace_actdesc_t))) == NULL) in dtrace_stmt_action()
278 dt_stmt_t *stp = dt_alloc(dtp, sizeof (dt_stmt_t)); in dtrace_stmt_add()
H A Ddt_link.c1227 if ((p = dt_alloc(dtp, len)) == NULL) { in process_obj()
1262 if ((pair = dt_alloc(dtp, sizeof (*pair))) == NULL) in process_obj()
1265 if ((pair->dlp_str = dt_alloc(dtp, data_str->d_size + in process_obj()
1271 if ((pair->dlp_sym = dt_alloc(dtp, data_sym->d_size + in process_obj()
H A Ddt_cc.c301 dp->dtdo_buf = dt_alloc(dtp, sizeof (dif_instr_t) * 2); in dt_action_difconst()
302 dp->dtdo_inttab = dt_alloc(dtp, sizeof (uint64_t)); in dt_action_difconst()
636 if ((dbuf = dt_alloc(dtp, sizeof (dif_instr_t))) == NULL || in dt_action_printflike()
720 sdp->dtsd_strdata = dt_alloc(dtp, n); in dt_action_trace()
1955 if ((dld->dtld_libpath = dt_alloc(dtp, MAXPATHLEN)) == NULL) { in dt_lib_depend_add()
H A Ddt_map.c62 if ((fmt.dtfd_string = dt_alloc(dtp, fmt.dtfd_length)) == NULL) in dt_strdata_add()
H A Ddt_xlator.c115 if ((map = dt_alloc(dtp, sizeof (void *) * (dxp->dx_id + 1))) == NULL) { in dt_xlator_create()
H A Ddt_consume.c2405 if ((aggvars = dt_alloc(dtp, size)) == NULL) in dt_consume_cpu()
2557 char *newdata = dt_alloc(dtp, used + misalign); in dt_realloc_buf()
2585 newdata = ndp = dt_alloc(dtp, buf->dtbd_size + misalign); in dt_unring_buf()
2632 buf->dtbd_data = dt_alloc(dtp, size); in dt_get_buf()
H A Ddt_dof.c107 ddo->ddo_xlimport = dt_alloc(dtp, sizeof (dof_secidx_t) * nx); in dt_dof_reset()
108 ddo->ddo_xlexport = dt_alloc(dtp, sizeof (dof_secidx_t) * nx); in dt_dof_reset()
H A Ddt_impl.h589 extern void *dt_alloc(dtrace_hdl_t *, size_t);
H A Ddt_subr.c705 dt_alloc(dtrace_hdl_t *dtp, size_t size) in dt_alloc() function
H A Ddt_aggregate.c1554 sorted = dt_alloc(dtp, nentries * sizeof (dt_ahashent_t *)); in dt_aggregate_walk_sorted()
1956 sorted = dt_alloc(dtp, nentries * sizeof (dt_ahashent_t *)); in dtrace_aggregate_walk_joined()
H A Ddt_options.c428 if ((p = dt_alloc(dtp, sizeof (char *) * (i + 1))) == NULL) { in dt_opt_setenv()
H A Ddt_pid.c128 if ((ftp = dt_alloc(dtp, sz)) == NULL) { in dt_pid_per_sym()
H A Ddt_proc.c204 dt_proc_notify_t *dprn = dt_alloc(dtp, sizeof (dt_proc_notify_t)); in dt_proc_notify()
H A Ddt_parser.c514 dt_node_t *dnp = dt_alloc(dtp, sizeof (dt_node_t)); in dt_node_xalloc()