/illumos-gate/usr/src/lib/abi/apptrace/common/ |
H A D | apptraceutil.c | 56 ctf_id_t rtype = ctf_type_resolve(ctfp, type); in print_value() 62 type = ctf_type_reference(ctfp, rtype); in print_value() 63 rtype = ctf_type_resolve(ctfp, type); in print_value() 65 if (ctf_type_encoding(ctfp, rtype, &e) == 0 && in print_value() 83 pa.pa_ctfp = ctfp; in print_value() 141 ctf_file_t *ctfp = pap->pa_ctfp; in print_int() local 193 ctf_file_t *ctfp = pap->pa_ctfp; in print_float() local 223 ctf_file_t *ctfp = pap->pa_ctfp; in print_ptr() local 236 if (ctf_type_encoding(ctfp, base, &e) != 0) in print_ptr() 266 ctf_file_t *ctfp = pap->pa_ctfp; in print_enum() local [all …]
|
H A D | apptrace.c | 583 ctf_file_t *ctfp; in la_sparcv9_pltenter() local 618 type = ctf_type_reference(ctfp, rtype); in la_sparcv9_pltenter() 619 rtype = ctf_type_resolve(ctfp, type); in la_sparcv9_pltenter() 620 kind = ctf_type_kind(ctfp, rtype); in la_sparcv9_pltenter() 647 rtype = ctf_type_resolve(ctfp, argt[i]); in la_sparcv9_pltenter() 648 type = ctf_type_reference(ctfp, rtype); in la_sparcv9_pltenter() 649 rtype = ctf_type_resolve(ctfp, type); in la_sparcv9_pltenter() 650 kind = ctf_type_kind(ctfp, rtype); in la_sparcv9_pltenter() 654 print_value(ctfp, argt[i], argv[i]); in la_sparcv9_pltenter() 673 print_value(ctfp, argt[i], argv[i]); in la_sparcv9_pltenter() [all …]
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_print.c | 255 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_int() local 305 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_float() local 336 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_ptr() local 388 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_array() local 498 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_enum() local 509 size = ctf_type_size(ctfp, base); in dt_print_enum() 570 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_member() local 671 ctf_file_t *ctfp; in dtrace_print() local 700 ctfp = dmp->dm_libctfp[libid]; in dtrace_print() 712 if (ctfp == NULL || ctf_type_kind(ctfp, id) == CTF_ERR) in dtrace_print() [all …]
|
H A D | dt_decl.c | 481 ctf_file_t *ctfp; in dt_decl_sou() local 504 type = ctf_add_struct(ctfp, flag, name); in dt_decl_sou() 506 type = ctf_add_union(ctfp, flag, name); in dt_decl_sou() 510 n, ctf_errmsg(ctf_errno(ctfp))); in dt_decl_sou() 513 ddp->dd_ctfp = ctfp; in dt_decl_sou() 516 dt_scope_push(ctfp, type); in dt_decl_sou() 701 ctf_file_t *ctfp; in dt_decl_enum() local 722 n, ctf_errmsg(ctf_errno(ctfp))); in dt_decl_enum() 725 ddp->dd_ctfp = ctfp; in dt_decl_enum() 728 dt_scope_push(ctfp, type); in dt_decl_enum() [all …]
|
H A D | dt_printf.c | 96 ctf_file_t *ctfp; in pfcheck_str() local 105 ctfp = dnp->dn_ctfp; in pfcheck_str() 106 base = ctf_type_resolve(ctfp, dnp->dn_type); in pfcheck_str() 107 kind = ctf_type_kind(ctfp, base); in pfcheck_str() 118 ctf_file_t *ctfp = dnp->dn_ctfp; in pfcheck_wstr() local 120 uint_t kind = ctf_type_kind(ctfp, base); in pfcheck_wstr() 169 ctf_file_t *ctfp = dnp->dn_ctfp; in pfcheck_xshort() local 182 ctf_file_t *ctfp = dnp->dn_ctfp; in pfcheck_xlong() local 195 ctf_file_t *ctfp = dnp->dn_ctfp; in pfcheck_xlonglong() local 199 if (ctf_type_name(ctfp, ctf_type_resolve(ctfp, type), n, in pfcheck_xlonglong() [all …]
|
H A D | dt_cg.c | 173 size = ctf_type_size(ctfp, type); in dt_cg_load() 195 ctf_file_t *ctfp = dnp->dn_ctfp; in dt_cg_ptrsize() local 204 kind = ctf_type_kind(ctfp, type); in dt_cg_ptrsize() 214 type = ctf_type_reference(ctfp, type); in dt_cg_ptrsize() 646 ctf_file_t *ctfp = dnp->dn_ctfp; in dt_cg_prearith_op() local 655 size = ctf_type_size(ctfp, ctf_type_reference(ctfp, type)); in dt_cg_prearith_op() 703 ctf_file_t *ctfp = dnp->dn_ctfp; in dt_cg_postarith_op() local 712 size = ctf_type_size(ctfp, ctf_type_reference(ctfp, type)); in dt_cg_postarith_op() 1536 ctf_file_t *ctfp = dnp->dn_ctfp; in dt_cg_node() local 1885 ctfp = dnp->dn_left->dn_ctfp; in dt_cg_node() [all …]
|
H A D | dt_parser.c | 286 if (ctfp != dmp->dm_ctfp && ctfp != ctf_parent_file(dmp->dm_ctfp) && in dt_type_pointer() 318 else if (ctfp == NULL) in dt_type_name() 3187 ctf_file_t *ctfp; in dt_cook_op2() local 3419 ctfp = lp->dn_ctfp; in dt_cook_op2() 3423 ctfp = rp->dn_ctfp; in dt_cook_op2() 3563 ctfp = idp->di_ctfp; in dt_cook_op2() 3567 ctfp = rp->dn_ctfp; in dt_cook_op2() 3717 ctfp = idp->di_ctfp; in dt_cook_op2() 3721 ctfp = lp->dn_ctfp; in dt_cook_op2() 4033 ctf_file_t *ctfp; in dt_cook_op3() local [all …]
|
H A D | dt_xlator.c | 361 dt_xlator_ident(dt_xlator_t *dxp, ctf_file_t *ctfp, ctf_id_t type) in dt_xlator_ident() argument 363 if (ctf_type_kind(ctfp, ctf_type_resolve(ctfp, type)) == CTF_K_POINTER) in dt_xlator_ident()
|
H A D | dt_module.c | 495 dt_module_lookup_by_ctf(dtrace_hdl_t *dtp, ctf_file_t *ctfp) in dt_module_lookup_by_ctf() argument 497 return (ctfp ? ctf_getspecific(ctfp) : NULL); in dt_module_lookup_by_ctf()
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | isheader.c | 38 isheader(char *lp, int *ctfp) in isheader() argument 52 if ((*ctfp) && ((*lp == ' ') || (*lp == '\t'))) { in isheader() 56 *ctfp = FALSE; in isheader() 73 *ctfp = TRUE; in isheader() 85 *ctfp = TRUE; in isheader()
|
H A D | mail.h | 310 extern int isheader(char *lp, int *ctfp);
|
/illumos-gate/usr/src/lib/libsaveargs/tests/dump/ |
H A D | dump.c | 116 check_sym(ctf_file_t *ctfp, symtab_sym_t *ss) in check_sym() argument 118 int rettype = ctf_type_kind(ctfp, ss->ss_finfo.ctc_return); in check_sym() 125 ctf_type_size(ctfp, ss->ss_finfo.ctc_return) > 16) in check_sym() 138 ctf_file_t *ctfp; in main() local 150 if ((ctfp = ctf_open(argv[1], &errp)) == NULL) in main() 161 walk_symtab(elf, argv[1], ctfp, check_sym); in main()
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_module.c | 185 ctf_file_t *ctfp = kmc->kmc_mod->mod_ctfp; in kmdb_module_addr_to_ctf() local 187 if (ctfp == NULL) { in kmdb_module_addr_to_ctf() 192 return (ctfp); in kmdb_module_addr_to_ctf() 204 ctf_file_t *ctfp; in kmdb_module_name_to_ctf() local 211 if ((ctfp = kmc->kmc_mod->mod_ctfp) == NULL) { in kmdb_module_name_to_ctf() 216 return (ctfp); in kmdb_module_name_to_ctf()
|
H A D | kmdb_ctf_open.c | 73 ctf_file_t *ctfp; in mdb_ctf_open() local 88 if ((ctfp = mdb_ctf_bufopen(mp->ctfdata, mp->ctfsize, mp->symtbl, in mdb_ctf_open() 95 return (ctfp); in mdb_ctf_open()
|
/illumos-gate/usr/src/lib/libproc/amd64/ |
H A D | Pisadep.c | 166 ctf_file_t *ctfp; in argcount_ctf() local 173 if ((ctfp = Paddr_to_ctf(P, pc)) == NULL) in argcount_ctf() 176 if (ctf_func_info(ctfp, si.prs_id, &finfo) == CTF_ERR) in argcount_ctf() 388 ctf_file_t *ctfp = NULL; in read_args() local 403 if ((ctfp = Paddr_to_ctf(P, pc)) == NULL) in read_args() 406 if (ctf_func_info(ctfp, si.prs_id, &finfo) == CTF_ERR) in read_args() 414 rettype = ctf_type_kind(ctfp, finfo.ctc_return); in read_args() 422 ctf_type_size(ctfp, finfo.ctc_return) > 16) in read_args() 432 if (ctf_func_args(ctfp, si.prs_id, 5, args_types) == CTF_ERR) in read_args() 436 int t = ctf_type_kind(ctfp, args_types[i]); in read_args() [all …]
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_lib.c | 417 ctf_fdcreate_int(int fd, int *errp, ctf_sect_t *ctfp) in ctf_fdcreate_int() argument 449 if (ctfp != NULL) in ctf_fdcreate_int() 602 ctfp == NULL) { in ctf_fdcreate_int() 629 if (ctfp == NULL) { in ctf_fdcreate_int() 630 if (ctfsect.cts_type == SHT_NULL && ctfp == NULL) { in ctf_fdcreate_int() 644 ctfp = &ctfsect; in ctf_fdcreate_int() 654 fp = ctf_bufopen(ctfp, &symsect, &strsect, errp); in ctf_fdcreate_int() 656 fp = ctf_bufopen(ctfp, NULL, NULL, errp); in ctf_fdcreate_int() 659 if (ctfp == NULL) in ctf_fdcreate_int()
|
/illumos-gate/usr/src/lib/libproc/i386/ |
H A D | Pisadep.c | 126 ctf_file_t *ctfp; in argcount_ctf() local 133 if ((ctfp = Paddr_to_ctf(P, pc)) == NULL) in argcount_ctf() 136 if (ctf_func_info(ctfp, si.prs_id, &finfo) == CTF_ERR) in argcount_ctf()
|
/illumos-gate/usr/src/cmd/mdb/common/libstandctf/ |
H A D | ctf_subr.c | 68 ctf_fdcreate_int(int fd, int *errp, ctf_sect_t *ctfp) in ctf_fdcreate_int() argument
|
/illumos-gate/usr/src/uts/common/ctf/ |
H A D | ctf_mod.c | 118 ctf_fdcreate_int(int fd, int *errp, ctf_sect_t *ctfp) in ctf_fdcreate_int() argument
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_cmds.c | 1608 ctf_file_t *ctfp; in objects_printversion() local 1611 ctfp = mdb_tgt_name_to_ctf(mdb.m_target, name); in objects_printversion() 1612 if (ctfp == NULL || (version = ctf_label_topmost(ctfp)) == NULL) in objects_printversion() 1651 ctf_file_t *ctfp; in showrev_addversion() local 1658 if ((ctfp = mdb_tgt_name_to_ctf(mdb.m_target, objname)) != NULL) in showrev_addversion() 1659 version = ctf_label_topmost(ctfp); in showrev_addversion()
|