Home
last modified time | relevance | path

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

/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_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()
H A Ddt_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()
H A Ddt_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()
H A Ddt_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()
H A Ddt_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()
H A Ddt_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()
H A Ddt_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()
H A Ddt_aggregate.c1343 total = dt_zalloc(dtp, (max + 1) * sizeof (dtrace_aggdata_t *));
1445 minmax = dt_zalloc(dtp, (max + 1) * sizeof (dtrace_aggdata_t *));
1715 if ((map = dt_zalloc(dtp, (max + 1) * sizeof (int))) == NULL)
1718 zaggdata = dt_zalloc(dtp, naggvars * sizeof (dt_ahashent_t));
1744 remap = dt_zalloc(dtp, naggvars * sizeof (int));
1890 if ((zdata = dt_zalloc(dtp, zsize)) == NULL) {
2017 if ((nbundle = dt_zalloc(dtp, bundlesize)) == NULL) {
H A Ddt_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()
H A Ddt_map.c75 void **new_data = dt_zalloc(dtp, nsize); in dt_strdata_add()
H A Ddt_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()
H A Ddt_impl.h645 extern void *dt_zalloc(dtrace_hdl_t *, size_t);
H A Ddt_subr.c758 dt_zalloc(dtrace_hdl_t *dtp, size_t size) in dt_zalloc() function
H A Ddt_dof.c930 if ((dof = dt_zalloc(dtp, len)) == NULL || in dtrace_getopt_dof()
H A Ddt_consume.c3768 dtrace_bufdesc_t *buf = dt_zalloc(dtp, sizeof (*buf));