Home
last modified time | relevance | path

Searched refs:dt_zalloc (Results 1 – 15 of 15) sorted by relevance

/freebsd-head/cddl/contrib/opensolaris/lib/libdtrace/common/
HDdt_inttab.c42 if ((ip = dt_zalloc(dtp, sizeof (dt_inttab_t))) == NULL || in dt_inttab_create()
43 (ip->int_hash = dt_zalloc(dtp, sizeof (void *) * len)) == NULL) { in dt_inttab_create()
HDdt_pq.c37 if ((p = dt_zalloc(dtp, sizeof (dt_pq_t))) == NULL) in dt_pq_init()
40 p->dtpq_items = dt_zalloc(dtp, (size + 1) * sizeof (p->dtpq_items[0])); in dt_pq_init()
HDdt_buf.c54 bp->dbu_buf = bp->dbu_ptr = dt_zalloc(dtp, len); in dt_buf_create()
106 if ((new_buf = dt_zalloc(dtp, new_len)) == NULL) { in dt_buf_write()
HDdt_as.c170 dt_zalloc(dtp, sizeof (ulong_t *) * pcb->pcb_asxreflen); in dt_as_xlate()
177 dt_zalloc(dtp, BT_SIZEOFMAP(dxp->dx_nmembers)); in dt_as_xlate()
267 pcb->pcb_difo = dt_zalloc(dtp, sizeof (dtrace_difo_t)); in dt_as()
388 dp->dtdo_xlmtab = dt_zalloc(dtp, sizeof (dt_node_t *) * xlrefs); in dt_as()
HDdt_proc.c107 if ((dbp = dt_zalloc(dpr->dpr_hdl, sizeof (dt_bkpt_t))) != NULL) { in dt_proc_bpcreate()
750 if ((dpr = dt_zalloc(dtp, sizeof (dt_proc_t))) == NULL) in dt_proc_create()
816 if ((dpr = dt_zalloc(dtp, sizeof (dt_proc_t))) == NULL) in dt_proc_grab()
927 if ((dtp->dt_procs = dt_zalloc(dtp, sizeof (dt_proc_hash_t) + in dt_proc_init()
945 if ((dtp->dt_proc_env = dt_zalloc(dtp, sizeof (char *) * i)) == NULL) in dt_proc_init()
HDdt_provider.c103 if ((pvp = dt_zalloc(dtp, sizeof (dt_provider_t))) == NULL) in dt_provider_create()
164 ulong_t *xrefs = dt_zalloc(dtp, newsize); in dt_provider_xref()
554 if ((pip = dt_zalloc(dtp, sizeof (*pip))) == NULL) in dt_probe_define()
557 if ((pip->pi_offs = dt_zalloc(dtp, sizeof (uint32_t))) == NULL) in dt_probe_define()
560 if ((pip->pi_enoffs = dt_zalloc(dtp, in dt_probe_define()
HDdt_program.c45 dtrace_prog_t *pgp = dt_zalloc(dtp, sizeof (dtrace_prog_t)); in dt_program_create()
219 if ((edp = dt_zalloc(dtp, sizeof (dtrace_ecbdesc_t))) == NULL) { in dt_ecbdesc_create()
234 if ((sdp = dt_zalloc(dtp, sizeof (dtrace_stmtdesc_t))) == NULL) in dtrace_stmt_create()
HDdt_aggregate.c1347 total = dt_zalloc(dtp, (max + 1) * sizeof (dtrace_aggdata_t *));
1449 minmax = dt_zalloc(dtp, (max + 1) * sizeof (dtrace_aggdata_t *));
1719 if ((map = dt_zalloc(dtp, (max + 1) * sizeof (int))) == NULL)
1722 zaggdata = dt_zalloc(dtp, naggvars * sizeof (dt_ahashent_t));
1748 remap = dt_zalloc(dtp, naggvars * sizeof (int));
1894 if ((zdata = dt_zalloc(dtp, zsize)) == NULL) {
2021 if ((nbundle = dt_zalloc(dtp, bundlesize)) == NULL) {
HDdt_xlator.c101 dt_xlator_t *dxp = dt_zalloc(dtp, sizeof (dt_xlator_t)); in dt_xlator_create()
222 dxp->dx_membdif = dt_zalloc(dtp, in dt_xlator_create()
HDdt_map.c75 void **new_data = dt_zalloc(dtp, nsize); in dt_strdata_add()
HDdt_cc.c297 dtrace_difo_t *dp = dt_zalloc(dtp, sizeof (dtrace_difo_t)); in dt_action_difconst()
638 (dp = dt_zalloc(dtp, sizeof (dtrace_difo_t))) == NULL) { in dt_action_printflike()
2013 if ((dld = dt_zalloc(dtp, sizeof (dt_lib_depend_t))) == NULL) in dt_lib_depend_add()
2101 if ((new = dt_zalloc(dtp, sizeof (dt_lib_depend_t))) == NULL) in dt_topo_sort()
HDdt_impl.h645 extern void *dt_zalloc(dtrace_hdl_t *, size_t);
HDdt_subr.c758 dt_zalloc(dtrace_hdl_t *dtp, size_t size) in dt_zalloc() function
HDdt_dof.c930 if ((dof = dt_zalloc(dtp, len)) == NULL || in dtrace_getopt_dof()
HDdt_consume.c3771 dtrace_bufdesc_t *buf = dt_zalloc(dtp, sizeof (*buf));