Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_inttab.c40 if ((ip = dt_zalloc(dtp, sizeof (dt_inttab_t))) == NULL || in dt_inttab_create()
41 (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 * sizeof (p->dtpq_items[0])); in dt_pq_init()
H A Ddt_buf.c52 bp->dbu_buf = bp->dbu_ptr = dt_zalloc(dtp, len); in dt_buf_create()
104 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_provider.c98 if ((pvp = dt_zalloc(dtp, sizeof (dt_provider_t))) == NULL) in dt_provider_create()
159 ulong_t *xrefs = dt_zalloc(dtp, newsize); in dt_provider_xref()
548 if ((pip = dt_zalloc(dtp, sizeof (*pip))) == NULL) in dt_probe_define()
551 if ((pip->pi_offs = dt_zalloc(dtp, in dt_probe_define()
557 if ((pip->pi_enoffs = dt_zalloc(dtp, in dt_probe_define()
H A Ddt_proc.c105 if ((dbp = dt_zalloc(dpr->dpr_hdl, sizeof (dt_bkpt_t))) != NULL) { in dt_proc_bpcreate()
871 if ((dpr = dt_zalloc(dtp, sizeof (dt_proc_t))) == NULL) in dt_proc_create()
939 if ((dpr = dt_zalloc(dtp, sizeof (dt_proc_t))) == NULL) in dt_proc_grab()
1052 if ((dtp->dt_procs = dt_zalloc(dtp, sizeof (dt_proc_hash_t) + in dt_proc_init()
1071 if ((dtp->dt_proc_env = dt_zalloc(dtp, sizeof (char *) * i)) == NULL) in dt_proc_init()
H A Ddt_program.c43 dtrace_prog_t *pgp = dt_zalloc(dtp, sizeof (dtrace_prog_t)); in dt_program_create()
214 if ((edp = dt_zalloc(dtp, sizeof (dtrace_ecbdesc_t))) == NULL) { in dt_ecbdesc_create()
229 if ((sdp = dt_zalloc(dtp, sizeof (dtrace_stmtdesc_t))) == NULL) in dtrace_stmt_create()
H A Ddt_aggregate.c1331 total = dt_zalloc(dtp, (max + 1) * sizeof (dtrace_aggdata_t *)); in dt_aggregate_total()
1433 minmax = dt_zalloc(dtp, (max + 1) * sizeof (dtrace_aggdata_t *)); in dt_aggregate_minmaxbin()
1703 if ((map = dt_zalloc(dtp, (max + 1) * sizeof (int))) == NULL) in dtrace_aggregate_walk_joined()
1706 zaggdata = dt_zalloc(dtp, naggvars * sizeof (dt_ahashent_t)); in dtrace_aggregate_walk_joined()
1732 remap = dt_zalloc(dtp, naggvars * sizeof (int)); in dtrace_aggregate_walk_joined()
1878 if ((zdata = dt_zalloc(dtp, zsize)) == NULL) { in dtrace_aggregate_walk_joined()
2006 if ((nbundle = dt_zalloc(dtp, bundlesize)) == NULL) { in dtrace_aggregate_walk_joined()
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.c74 void **new_data = dt_zalloc(dtp, nsize); in dt_strdata_add()
H A Ddt_cc.c296 dtrace_difo_t *dp = dt_zalloc(dtp, sizeof (dtrace_difo_t)); in dt_action_difconst()
637 (dp = dt_zalloc(dtp, sizeof (dtrace_difo_t))) == NULL) { in dt_action_printflike()
1952 if ((dld = dt_zalloc(dtp, sizeof (dt_lib_depend_t))) == NULL) in dt_lib_depend_add()
2040 if ((new = dt_zalloc(dtp, sizeof (dt_lib_depend_t))) == NULL) in dt_topo_sort()
H A Ddt_impl.h588 extern void *dt_zalloc(dtrace_hdl_t *, size_t);
H A Ddt_subr.c692 dt_zalloc(dtrace_hdl_t *dtp, size_t size) in dt_zalloc() function
H A Ddt_dof.c936 if ((dof = dt_zalloc(dtp, len)) == NULL || in dtrace_getopt_dof()
H A Ddt_consume.c2625 dtrace_bufdesc_t *buf = dt_zalloc(dtp, sizeof (*buf)); in dt_get_buf()