Searched defs:ctfp (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_ctf_open.c73 ctf_file_t *ctfp; local
88 if ((ctfp = mdb_ctf_bufopen(mp->ctfdata, mp->ctfsize, mp->symtbl,
95 return (ctfp);
H A Dkmdb_module.c187 ctf_file_t *ctfp = kmc->kmc_mod->mod_ctfp; local
189 if (ctfp == NULL) {
194 return (ctfp);
206 ctf_file_t *ctfp; local
213 if ((ctfp = kmc->kmc_mod->mod_ctfp) == NULL) {
218 return (ctfp);
/illumos-gate/usr/src/lib/libsaveargs/tests/dump/
H A Ddump.c116 check_sym(ctf_file_t *ctfp, symtab_sym_t *ss) argument
118 int rettype = ctf_type_kind(ctfp, ss->ss_finfo.ctc_return);
125 ctf_type_size(ctfp, ss->ss_finfo.ctc_return) > 16)
138 ctf_file_t *ctfp; local
150 if ((ctfp = ctf_open(argv[1], &errp)) == NULL)
161 walk_symtab(elf, argv[1], ctfp, check_sym);
/illumos-gate/usr/src/lib/libdtrace/common/
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_decl.c481 ctf_file_t *ctfp; local
486 ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp;
488 ctfp = yypcb->pcb_hdl->dt_ddefs->dm_ctfp;
499 if (name != NULL && (type = ctf_lookup_by_name(ctfp, n)) != CTF_ERR &&
500 ctf_type_kind(ctfp, type) != CTF_K_FORWARD)
504 type = ctf_add_struct(ctfp, flag, name);
506 type = ctf_add_union(ctfp, flag, name);
508 if (type == CTF_ERR || ctf_update(ctfp) == CTF_ERR) {
510 n, ctf_errmsg(ctf_errno(ctfp)));
513 ddp->dd_ctfp = ctfp;
678 ctf_file_t *ctfp; local
1098 dt_scope_push(ctf_file_t *ctfp, ctf_id_t type) argument
[all...]
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
551 ctf_file_t *ctfp = pap->pa_ctfp; local
652 ctf_file_t *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
1515 ctf_file_t *ctfp = dnp->dn_ctfp; local
[all...]
H A Ddt_module.c495 dt_module_lookup_by_ctf(dtrace_hdl_t *dtp, ctf_file_t *ctfp) argument
497 return (ctfp ? ctf_getspecific(ctfp) : NULL);
H A Ddt_printf.c96 ctf_file_t *ctfp; local
105 ctfp = dnp->dn_ctfp;
106 base = ctf_type_resolve(ctfp, dnp->dn_type);
107 kind = ctf_type_kind(ctfp, base);
109 return (kind == CTF_K_ARRAY && ctf_array_info(ctfp, base, &r) == 0 &&
110 (base = ctf_type_resolve(ctfp, r.ctr_contents)) != CTF_ERR &&
111 ctf_type_encoding(ctfp, base, &e) == 0 && IS_CHAR(e));
118 ctf_file_t *ctfp = dnp->dn_ctfp; local
119 ctf_id_t base = ctf_type_resolve(ctfp, dnp->dn_type);
120 uint_t kind = ctf_type_kind(ctfp, bas
169 ctf_file_t *ctfp = dnp->dn_ctfp; local
182 ctf_file_t *ctfp = dnp->dn_ctfp; local
195 ctf_file_t *ctfp = dnp->dn_ctfp; local
[all...]
H A Ddt_parser.c266 ctf_file_t *ctfp = tip->dtt_ctfp; local
268 ctf_id_t base = ctf_type_resolve(ctfp, type);
274 if ((ptr = ctf_type_pointer(ctfp, type)) != CTF_ERR ||
275 (ptr = ctf_type_pointer(ctfp, base)) != CTF_ERR) {
285 if (ctfp != dmp->dm_ctfp && ctfp != ctf_parent_file(dmp->dm_ctfp) &&
286 (type = ctf_add_type(dmp->dm_ctfp, ctfp, type)) == CTF_ERR) {
307 dt_type_name(ctf_file_t *ctfp, ctf_id_t type, char *buf, size_t len) argument
311 if (ctfp == DT_FPTR_CTFP(dtp) && type == DT_FPTR_TYPE(dtp))
313 else if (ctfp
3175 ctf_file_t *ctfp; local
4020 ctf_file_t *ctfp; local
[all...]
/illumos-gate/usr/src/lib/abi/apptrace/common/
H A Dapptraceutil.c47 type_name(ctf_file_t *ctfp, ctf_id_t type, char *buf, size_t len) argument
49 if (ctf_type_name(ctfp, type, buf, len) == NULL)
56 print_value(ctf_file_t *ctfp, ctf_id_t type, ulong_t value) argument
58 ctf_id_t rtype = ctf_type_resolve(ctfp, type);
63 if (ctf_type_kind(ctfp, rtype) == CTF_K_POINTER) {
64 type = ctf_type_reference(ctfp, rtype);
65 rtype = ctf_type_resolve(ctfp, type);
67 if (ctf_type_encoding(ctfp, rtype, &e) == 0 &&
79 if (ctf_type_kind(ctfp, rtype) == CTF_K_STRUCT) {
85 pa.pa_ctfp = ctfp;
143 ctf_file_t *ctfp = pap->pa_ctfp; local
195 ctf_file_t *ctfp = pap->pa_ctfp; local
225 ctf_file_t *ctfp = pap->pa_ctfp; local
268 ctf_file_t *ctfp = pap->pa_ctfp; local
305 ctf_file_t *ctfp = pap->pa_ctfp; local
[all...]
H A Dapptrace.c585 ctf_file_t *ctfp; local
600 if ((ctfp = Pname_to_ctf(proc_hdl, defname)) == NULL)
607 if (ctf_func_info(ctfp, si.prs_id, &finfo) == CTF_ERR)
610 (void) type_name(ctfp, finfo.ctc_return, buf, sizeof (buf));
619 rtype = ctf_type_resolve(ctfp, finfo.ctc_return);
620 type = ctf_type_reference(ctfp, rtype);
621 rtype = ctf_type_resolve(ctfp, type);
622 kind = ctf_type_kind(ctfp, rtype);
628 (void) ctf_func_args(ctfp, si.prs_id, argc, argt);
647 (void) type_name(ctfp, arg
726 ctf_file_t *ctfp; local
[all...]
/illumos-gate/usr/src/lib/libproc/amd64/
H A DPisadep.c359 ctf_file_t *ctfp = NULL; local
374 if ((ctfp = Paddr_to_ctf(P, pc)) == NULL)
377 if (ctf_func_info(ctfp, si.prs_id, &finfo) == CTF_ERR)
385 rettype = ctf_type_kind(ctfp, finfo.ctc_return);
393 ctf_type_size(ctfp, finfo.ctc_return) > 16)
403 if (ctf_func_args(ctfp, si.prs_id, 5, args_types) == CTF_ERR)
407 int t = ctf_type_kind(ctfp, args_types[i]);
410 ctf_type_size(ctfp, args_types[i]) <= 16)
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_cmds.c1508 ctf_file_t *ctfp; local
1511 ctfp = mdb_tgt_name_to_ctf(mdb.m_target, name);
1512 if (ctfp == NULL || (version = ctf_label_topmost(ctfp)) == NULL)
1551 ctf_file_t *ctfp; local
1558 if ((ctfp = mdb_tgt_name_to_ctf(mdb.m_target, objname)) != NULL)
1559 version = ctf_label_topmost(ctfp);

Completed in 93 milliseconds