Searched refs:ctfp (Results 1 - 7 of 7) sorted by relevance

/freebsd-10.2-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_print.c114 dt_print_type_name(ctf_file_t *ctfp, ctf_id_t id, char *buf, size_t buflen) argument
116 if (ctf_type_name(ctfp, id, buf, buflen) == NULL)
232 ctf_file_t *ctfp = pap->pa_ctfp; local
237 if (ctf_type_encoding(ctfp, base, &e) == CTF_ERR) {
286 ctf_file_t *ctfp = pap->pa_ctfp; local
290 if (ctf_type_encoding(ctfp, base, &e) == 0) {
317 ctf_file_t *ctfp = pap->pa_ctfp; local
319 size_t size = ctf_type_size(ctfp, base);
320 ctf_id_t bid = ctf_type_reference(ctfp, base);
325 if (bid == CTF_ERR || ctf_type_kind(ctfp, bi
369 ctf_file_t *ctfp = pap->pa_ctfp; local
479 ctf_file_t *ctfp = pap->pa_ctfp; local
549 ctf_file_t *ctfp = pap->pa_ctfp; local
650 ctf_file_t *ctfp; local
[all...]
H A Ddt_decl.c464 ctf_file_t *ctfp; local
469 ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp;
471 ctfp = yypcb->pcb_hdl->dt_ddefs->dm_ctfp;
482 if (name != NULL && (type = ctf_lookup_by_name(ctfp, n)) != CTF_ERR &&
483 ctf_type_kind(ctfp, type) != CTF_K_FORWARD)
487 type = ctf_add_struct(ctfp, flag, name);
489 type = ctf_add_union(ctfp, flag, name);
491 if (type == CTF_ERR || ctf_update(ctfp) == CTF_ERR) {
493 n, ctf_errmsg(ctf_errno(ctfp)));
496 ddp->dd_ctfp = ctfp;
661 ctf_file_t *ctfp; local
1082 dt_scope_push(ctf_file_t *ctfp, ctf_id_t type) argument
[all...]
H A Ddt_printf.c103 ctf_file_t *ctfp; local
112 ctfp = dnp->dn_ctfp;
113 base = ctf_type_resolve(ctfp, dnp->dn_type);
114 kind = ctf_type_kind(ctfp, base);
116 return (kind == CTF_K_ARRAY && ctf_array_info(ctfp, base, &r) == 0 &&
117 (base = ctf_type_resolve(ctfp, r.ctr_contents)) != CTF_ERR &&
118 ctf_type_encoding(ctfp, base, &e) == 0 && IS_CHAR(e));
125 ctf_file_t *ctfp = dnp->dn_ctfp; local
126 ctf_id_t base = ctf_type_resolve(ctfp, dnp->dn_type);
127 uint_t kind = ctf_type_kind(ctfp, bas
176 ctf_file_t *ctfp = dnp->dn_ctfp; local
189 ctf_file_t *ctfp = dnp->dn_ctfp; local
202 ctf_file_t *ctfp = dnp->dn_ctfp; local
[all...]
H A Ddt_cg.c145 dt_cg_load(dt_node_t *dnp, ctf_file_t *ctfp, ctf_id_t type) argument
167 ctf_type_encoding(ctfp, type, &e) != CTF_ERR)
170 size = ctf_type_size(ctfp, type);
191 ctf_file_t *ctfp = dnp->dn_ctfp; local
199 type = ctf_type_resolve(ctfp, dnp->dn_type);
200 kind = ctf_type_kind(ctfp, type);
204 if (ctf_array_info(ctfp, type, &r) != 0) {
205 yypcb->pcb_hdl->dt_ctferr = ctf_errno(ctfp);
210 type = ctf_type_reference(ctfp, type);
212 if ((size = ctf_type_size(ctfp, typ
642 ctf_file_t *ctfp = dnp->dn_ctfp; local
699 ctf_file_t *ctfp = dnp->dn_ctfp; local
1549 ctf_file_t *ctfp = dnp->dn_ctfp; local
[all...]
H A Ddt_parser.c271 ctf_file_t *ctfp = tip->dtt_ctfp; local
273 ctf_id_t base = ctf_type_resolve(ctfp, type);
279 if ((ptr = ctf_type_pointer(ctfp, type)) != CTF_ERR ||
280 (ptr = ctf_type_pointer(ctfp, base)) != CTF_ERR) {
290 if (ctfp != dmp->dm_ctfp && ctfp != ctf_parent_file(dmp->dm_ctfp) &&
291 (type = ctf_add_type(dmp->dm_ctfp, ctfp, type)) == CTF_ERR) {
312 dt_type_name(ctf_file_t *ctfp, ctf_id_t type, char *buf, size_t len) argument
316 if (ctfp == DT_FPTR_CTFP(dtp) && type == DT_FPTR_TYPE(dtp))
318 else if (ctfp
3171 ctf_file_t *ctfp; local
4024 ctf_file_t *ctfp; local
[all...]
H A Ddt_xlator.c361 dt_xlator_ident(dt_xlator_t *dxp, ctf_file_t *ctfp, ctf_id_t type) argument
363 if (ctf_type_kind(ctfp, ctf_type_resolve(ctfp, type)) == CTF_K_POINTER)
H A Ddt_module.c540 dt_module_lookup_by_ctf(dtrace_hdl_t *dtp, ctf_file_t *ctfp) argument
542 return (ctfp ? ctf_getspecific(ctfp) : NULL);

Completed in 77 milliseconds