Home
last modified time | relevance | path

Searched refs:ctf_alloc (Results 1 – 8 of 8) sorted by relevance

/freebsd/cddl/contrib/opensolaris/common/ctf/
H A Dctf_hash.c55 hp->h_buckets = ctf_alloc(sizeof (uint_t) * hp->h_nbuckets); in ctf_hash_create()
56 hp->h_chains = ctf_alloc(sizeof (ctf_helem_t) * hp->h_nelems); in ctf_hash_create()
H A Dctf_util.c123 char *s2 = ctf_alloc(strlen(s1) + 1); in ctf_strdup()
H A Dctf_decl.c143 if ((cdp = ctf_alloc(sizeof (ctf_decl_node_t))) == NULL) { in ctf_decl_push()
H A Dctf_open.c467 fp->ctf_txlate = ctf_alloc(sizeof (uint_t) * (fp->ctf_typemax + 1)); in init_types()
468 fp->ctf_ptrtab = ctf_alloc(sizeof (uint_t) * (fp->ctf_typemax + 1)); in init_types()
836 if ((fp = ctf_alloc(sizeof (ctf_file_t))) == NULL) in ctf_bufopen()
895 fp->ctf_sxlate = ctf_alloc(fp->ctf_nsyms * sizeof (uint_t)); in ctf_bufopen()
H A Dctf_create.c58 ctf_dtdef_t **hash = ctf_alloc(hashlen * sizeof (ctf_dtdef_t *)); in ctf_create()
719 if ((dtd = ctf_alloc(sizeof (ctf_dtdef_t))) == NULL) in ctf_add_generic()
922 if (vlen != 0 && (vdat = ctf_alloc(sizeof (ctf_id_t) * vlen)) == NULL) in ctf_add_function()
1124 if ((dmd = ctf_alloc(sizeof (ctf_dmdef_t))) == NULL) in ctf_add_enumerator()
1185 if ((dmd = ctf_alloc(sizeof (ctf_dmdef_t))) == NULL) in ctf_add_member()
1311 if ((dmd = ctf_alloc(sizeof (ctf_dmdef_t))) == NULL) in membadd()
H A Dctf_impl.h354 extern void *ctf_alloc(size_t);
/freebsd/sys/cddl/contrib/opensolaris/uts/common/ctf/
H A Dctf_subr.c65 ctf_alloc(size_t size) in ctf_alloc() function
/freebsd/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_subr.c53 ctf_alloc(size_t size) in ctf_alloc() function