Searched refs:dt_zalloc (Results 1 – 15 of 15) sorted by relevance
/titanic_41/usr/src/lib/libdtrace/common/ |
H A D | dt_inttab.c | 42 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 D | dt_pq.c | 37 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 D | dt_buf.c | 54 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 D | dt_as.c | 170 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 D | dt_provider.c | 98 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 D | dt_program.c | 43 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 D | dt_proc.c | 105 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 D | dt_xlator.c | 101 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 D | dt_aggregate.c | 1325 total = dt_zalloc(dtp, (max + 1) * sizeof (dtrace_aggdata_t *)); in dt_aggregate_total() 1427 minmax = dt_zalloc(dtp, (max + 1) * sizeof (dtrace_aggdata_t *)); in dt_aggregate_minmaxbin() 1697 if ((map = dt_zalloc(dtp, (max + 1) * sizeof (int))) == NULL) in dtrace_aggregate_walk_joined() 1700 zaggdata = dt_zalloc(dtp, naggvars * sizeof (dt_ahashent_t)); in dtrace_aggregate_walk_joined() 1726 remap = dt_zalloc(dtp, naggvars * sizeof (int)); in dtrace_aggregate_walk_joined() 1872 if ((zdata = dt_zalloc(dtp, zsize)) == NULL) { in dtrace_aggregate_walk_joined() 1999 if ((nbundle = dt_zalloc(dtp, bundlesize)) == NULL) { in dtrace_aggregate_walk_joined()
|
H A D | dt_map.c | 74 void **new_data = dt_zalloc(dtp, nsize); in dt_strdata_add()
|
H A D | dt_impl.h | 587 extern void *dt_zalloc(dtrace_hdl_t *, size_t);
|
H A D | dt_cc.c | 296 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 D | dt_subr.c | 691 dt_zalloc(dtrace_hdl_t *dtp, size_t size) in dt_zalloc() function
|
H A D | dt_dof.c | 936 if ((dof = dt_zalloc(dtp, len)) == NULL || in dtrace_getopt_dof()
|
H A D | dt_consume.c | 2623 dtrace_bufdesc_t *buf = dt_zalloc(dtp, sizeof (*buf)); in dt_get_buf()
|