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

/freebsd-9.3-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
[all...]
H A Ddt_decl.c463 ctf_file_t *ctfp; local
468 ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp;
470 ctfp = yypcb->pcb_hdl->dt_ddefs->dm_ctfp;
481 if (name != NULL && (type = ctf_lookup_by_name(ctfp, n)) != CTF_ERR &&
482 ctf_type_kind(ctfp, type) != CTF_K_FORWARD)
486 type = ctf_add_struct(ctfp, flag, name);
488 type = ctf_add_union(ctfp, flag, name);
490 if (type == CTF_ERR || ctf_update(ctfp) == CTF_ERR) {
492 n, ctf_errmsg(ctf_errno(ctfp)));
495 ddp->dd_ctfp = ctfp;
660 ctf_file_t *ctfp; local
1076 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.c256 ctf_file_t *ctfp = tip->dtt_ctfp; local
258 ctf_id_t base = ctf_type_resolve(ctfp, type);
263 if ((ptr = ctf_type_pointer(ctfp, type)) != CTF_ERR ||
264 (ptr = ctf_type_pointer(ctfp, base)) != CTF_ERR) {
274 if (ctfp != dmp->dm_ctfp && ctfp != ctf_parent_file(dmp->dm_ctfp) &&
275 (type = ctf_add_type(dmp->dm_ctfp, ctfp, type)) == CTF_ERR) {
295 dt_type_name(ctf_file_t *ctfp, ctf_id_t type, char *buf, size_t len) argument
299 if (ctfp == DT_FPTR_CTFP(dtp) && type == DT_FPTR_TYPE(dtp))
301 else if (ctfp
3126 ctf_file_t *ctfp; local
3975 ctf_file_t *ctfp; local
[all...]
H A Ddt_xlator.c358 dt_xlator_ident(dt_xlator_t *dxp, ctf_file_t *ctfp, ctf_id_t type) argument
360 if (ctf_type_kind(ctfp, ctf_type_resolve(ctfp, type)) == CTF_K_POINTER)
H A Ddt_module.c507 dt_module_lookup_by_ctf(dtrace_hdl_t *dtp, ctf_file_t *ctfp) argument
509 return (ctfp ? ctf_getspecific(ctfp) : NULL);

Completed in 129 milliseconds