Home
last modified time | relevance | path

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

/freebsd/cddl/contrib/opensolaris/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.c437 if ((prp = dt_alloc(dtp, sizeof (dt_probe_t))) == NULL) in dt_probe_create()
448 prp->pr_nargv = dt_alloc(dtp, sizeof (dt_node_t *) * nargc); in dt_probe_create()
451 prp->pr_xargv = dt_alloc(dtp, sizeof (dt_node_t *) * xargc); in dt_probe_create()
453 prp->pr_mapping = dt_alloc(dtp, sizeof (uint8_t) * xargc); in dt_probe_create()
455 prp->pr_argv = dt_alloc(dtp, sizeof (dtrace_typeinfo_t) * xargc); in dt_probe_create()
592 uint32_t *new_offs = dt_alloc(dtp, sizeof (uint32_t) * new_max); in dt_probe_define()
H A Ddt_inttab.c81 if ((hp = dt_alloc(ip->int_hdl, sizeof (dt_inthash_t))) == NULL) in dt_inttab_insert()
H A Ddt_options.c179 if ((buf = dt_alloc(dtp, len)) == NULL) { in dt_opt_cpp_opts()
465 if ((p = dt_alloc(dtp, sizeof(char *) * (nvars + 1))) == NULL) { in dt_opt_setenv()
937 if ((dof = dt_alloc(dtp, hdr.dofh_loadsz)) == NULL) { in dt_options_load()
H A Ddt_program.c251 if ((new = dt_alloc(dtp, sizeof (dtrace_actdesc_t))) == NULL) in dtrace_stmt_action()
283 dt_stmt_t *stp = dt_alloc(dtp, sizeof (dt_stmt_t)); in dtrace_stmt_add()
H A Ddt_link.c1425 if ((p = dt_alloc(dtp, len)) == NULL) { in process_obj()
1471 if ((pair = dt_alloc(dtp, sizeof (*pair))) == NULL) in process_obj()
1474 if ((pair->dlp_str = dt_alloc(dtp, data_str->d_size + in process_obj()
1480 if ((pair->dlp_sym = dt_alloc(dtp, data_sym->d_size + in process_obj()
H A Ddt_cc.c302 dp->dtdo_buf = dt_alloc(dtp, sizeof (dif_instr_t) * 2); in dt_action_difconst()
303 dp->dtdo_inttab = dt_alloc(dtp, sizeof (uint64_t)); in dt_action_difconst()
637 if ((dbuf = dt_alloc(dtp, sizeof (dif_instr_t))) == NULL || in dt_action_printflike()
722 sdp->dtsd_strdata = dt_alloc(dtp, n); in dt_action_trace()
2016 if ((dld->dtld_libpath = dt_alloc(dtp, MAXPATHLEN)) == NULL) { in dt_lib_depend_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_pragma.c262 ((provs = dt_alloc(dtp, plen)) == NULL) || in dt_pragma_depends()
H A Ddt_map.c62 if ((fmt.dtfd_string = dt_alloc(dtp, fmt.dtfd_length)) == NULL) in dt_strdata_add()
H A Ddt_dof.c111 ddo->ddo_xlimport = dt_alloc(dtp, sizeof (dof_secidx_t) * nx); in dt_dof_reset()
112 ddo->ddo_xlexport = dt_alloc(dtp, sizeof (dof_secidx_t) * nx); in dt_dof_reset()
H A Ddt_impl.h646 extern void *dt_alloc(dtrace_hdl_t *, size_t);
H A Ddt_consume.c2194 char *s = dt_alloc(dtp, nbytes * 2 + 2 + 1); /* 2 bytes per byte + 0x + '\0' */ in dt_format_bytes_get()
3460 if ((aggvars = dt_alloc(dtp, size)) == NULL) { in dt_consume_cpu()
3700 char *newdata = dt_alloc(dtp, used + misalign); in dt_realloc_buf()
3728 newdata = ndp = dt_alloc(dtp, buf->dtbd_size + misalign); in dt_unring_buf()
3775 buf->dtbd_data = dt_alloc(dtp, size);
H A Ddt_aggregate.c1566 sorted = dt_alloc(dtp, nentries * sizeof (dt_ahashent_t *));
1967 sorted = dt_alloc(dtp, nentries * sizeof (dt_ahashent_t *));
H A Ddt_proc.c209 dt_proc_notify_t *dprn = dt_alloc(dtp, sizeof (dt_proc_notify_t)); in dt_proc_notify()
H A Ddt_subr.c771 dt_alloc(dtrace_hdl_t *dtp, size_t size) in dt_alloc() function
H A Ddt_pid.c146 if ((ftp = dt_alloc(dtp, sz)) == NULL) { in dt_pid_per_sym()
H A Ddt_parser.c518 dt_node_t *dnp = dt_alloc(dtp, sizeof (dt_node_t)); in dt_node_xalloc()