/titanic_44/usr/src/uts/common/sys/ |
H A D | ctf_api.h | 61 typedef long ctf_id_t; typedef 90 ctf_id_t ctm_type; /* type of struct or union member */ 95 ctf_id_t ctr_contents; /* type of array contents */ 96 ctf_id_t ctr_index; /* type of array index */ 101 ctf_id_t ctc_return; /* function return type */ 107 ctf_id_t ctb_typeidx; /* last type associated with the label */ 143 typedef int ctf_visit_f(const char *, ctf_id_t, ulong_t, int, void *); 144 typedef int ctf_member_f(const char *, ctf_id_t, ulong_t, void *); 146 typedef int ctf_type_f(ctf_id_t, void *); 172 extern int ctf_func_args(ctf_file_t *, ulong_t, uint_t, ctf_id_t *); [all …]
|
/titanic_44/usr/src/lib/abi/apptrace/common/ |
H A D | apptraceutil.c | 42 typedef void printarg_f(ctf_id_t, ulong_t, printarg_t *); 44 static int elt_print(const char *, ctf_id_t, ulong_t, int, void *); 47 type_name(ctf_file_t *ctfp, ctf_id_t type, char *buf, size_t len) in type_name() 56 print_value(ctf_file_t *ctfp, ctf_id_t type, ulong_t value) in print_value() 58 ctf_id_t rtype = ctf_type_resolve(ctfp, type); in print_value() 141 print_int(ctf_id_t base, ulong_t off, printarg_t *pap) in print_int() 193 print_float(ctf_id_t base, ulong_t off, printarg_t *pap) in print_float() 223 print_ptr(ctf_id_t base, ulong_t off, printarg_t *pap) in print_ptr() 249 print_array(ctf_id_t base, ulong_t off, printarg_t *pap) in print_array() 259 print_sou(ctf_id_t base, ulong_t off, printarg_t *pap) in print_sou() [all …]
|
H A D | apptrace.c | 56 extern const char *type_name(ctf_file_t *, ctf_id_t, char *, size_t); 57 extern void print_value(ctf_file_t *, ctf_id_t, ulong_t); 588 ctf_id_t argt[NUM_ARGS]; in la_sparcv9_pltenter() 592 ctf_id_t type, rtype; in la_sparcv9_pltenter()
|
/titanic_44/usr/src/common/ctf/ |
H A D | ctf_types.c | 58 ctf_member_iter(ctf_file_t *fp, ctf_id_t type, ctf_member_f *func, void *arg) in ctf_member_iter() 109 ctf_enum_iter(ctf_file_t *fp, ctf_id_t type, ctf_enum_f *func, void *arg) in ctf_enum_iter() 147 ctf_id_t id, max = fp->ctf_typemax; in ctf_type_iter() 167 ctf_id_t 168 ctf_type_resolve(ctf_file_t *fp, ctf_id_t type) in ctf_type_resolve() 170 ctf_id_t prev = type, otype = type; in ctf_type_resolve() 201 ctf_type_qlname(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len, in ctf_type_qlname() 315 ctf_type_lname(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len) in ctf_type_lname() 325 ctf_type_name(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len) in ctf_type_name() 332 ctf_type_qname(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len, in ctf_type_qname() [all …]
|
H A D | ctf_create.c | 184 ctf_ref_inc(ctf_file_t *fp, ctf_id_t tid) in ctf_ref_inc() 202 ctf_ref_dec(ctf_file_t *fp, ctf_id_t tid) in ctf_ref_dec() 521 ctf_free(dtd->dtd_u.dtu_argv, sizeof (ctf_id_t) * in ctf_dtd_delete() 550 ctf_dtd_lookup(ctf_file_t *fp, ctf_id_t type) in ctf_dtd_lookup() 599 static ctf_id_t 603 ctf_id_t type; in ctf_add_generic() 659 static ctf_id_t 664 ctf_id_t type; in ctf_add_encoded() 679 static ctf_id_t 680 ctf_add_reftype(ctf_file_t *fp, uint_t flag, ctf_id_t ref, uint_t kind) in ctf_add_reftype() [all …]
|
H A D | ctf_impl.h | 122 ctf_id_t cd_type; /* type identifier */ 142 ctf_id_t dmd_type; /* type of this member (for sou) */ 151 ctf_id_t dtd_type; /* type identifier for this definition */ 158 ctf_id_t *dtu_argv; /* function */ 164 ctf_id_t ctb_type; /* CTF type identifier */ 282 extern const ctf_type_t *ctf_lookup_by_id(ctf_file_t **, ctf_id_t); 301 extern ctf_dtdef_t *ctf_dtd_lookup(ctf_file_t *, ctf_id_t); 305 extern void ctf_decl_push(ctf_decl_t *, ctf_file_t *, ctf_id_t);
|
H A D | ctf_lookup.c | 78 ctf_id_t 86 ctf_id_t type = 0; in ctf_lookup_by_name() 87 ctf_id_t ntype, ptype; in ctf_lookup_by_name() 178 ctf_id_t 182 ctf_id_t type; in ctf_lookup_by_symbol() 216 ctf_lookup_by_id(ctf_file_t **fpp, ctf_id_t type) in ctf_lookup_by_id() 295 ctf_func_args(ctf_file_t *fp, ulong_t symidx, uint_t argc, ctf_id_t *argv) in ctf_func_args()
|
/titanic_44/usr/src/lib/libdtrace/common/ |
H A D | dt_xlator.h | 50 ctf_id_t dx_src_type; /* CTF reference for input type */ 51 ctf_id_t dx_src_base; /* CTF reference for input base */ 53 ctf_id_t dx_dst_type; /* CTF reference for output type */ 54 ctf_id_t dx_dst_base; /* CTF reference for output base */ 79 extern dt_ident_t *dt_xlator_ident(dt_xlator_t *, ctf_file_t *, ctf_id_t);
|
H A D | dt_print.c | 107 static int dt_print_member(const char *, ctf_id_t, ulong_t, int, void *); 114 dt_print_type_name(ctf_file_t *ctfp, ctf_id_t id, char *buf, size_t buflen) in dt_print_type_name() 229 dt_print_int(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_int() 283 dt_print_float(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_float() 314 dt_print_ptr(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_ptr() 320 ctf_id_t bid = ctf_type_reference(ctfp, base); in dt_print_ptr() 366 dt_print_array(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_array() 377 ctf_id_t rtype; in dt_print_array() 465 dt_print_structlike(ctf_id_t id, ulong_t off, dt_printarg_t *pap) in dt_print_structlike() 476 dt_print_enum(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_enum() [all …]
|
H A D | dt_decl.h | 49 ctf_id_t dd_type; /* CTF identifier for decl's type */ 82 ctf_id_t ds_type; /* CTF id of enclosing type */ 122 extern void dt_scope_push(ctf_file_t *, ctf_id_t);
|
H A D | dt_impl.h | 80 ctf_id_t did_type; /* CTF type reference for this type */ 96 ctf_id_t da_type; /* type of argument */ 239 ctf_id_t dt_type_func; /* cached CTF identifier for function type */ 240 ctf_id_t dt_type_fptr; /* cached CTF identifier for function pointer */ 241 ctf_id_t dt_type_str; /* cached CTF identifier for string type */ 242 ctf_id_t dt_type_dyn; /* cached CTF identifier for <DYN> type */ 243 ctf_id_t dt_type_stack; /* cached CTF identifier for stack type */ 244 ctf_id_t dt_type_symaddr; /* cached CTF identifier for _symaddr type */ 245 ctf_id_t dt_type_usymaddr; /* cached CTF ident. for _usymaddr type */
|
H A D | dt_xlator.c | 48 dt_xlator_create_member(const char *name, ctf_id_t type, ulong_t off, void *arg) in dt_xlator_create_member() 261 ctf_id_t src_type = src->dn_type; in dt_xlator_lookup() 262 ctf_id_t src_base = ctf_type_resolve(src_ctfp, src_type); in dt_xlator_lookup() 265 ctf_id_t dst_type = dst->dn_type; in dt_xlator_lookup() 266 ctf_id_t dst_base = ctf_type_resolve(dst_ctfp, dst_type); in dt_xlator_lookup() 361 dt_xlator_ident(dt_xlator_t *dxp, ctf_file_t *ctfp, ctf_id_t type) in dt_xlator_ident()
|
H A D | dt_parser.h | 52 ctf_id_t dn_type; /* CTF type reference for node's type */ 202 ctf_file_t **, ctf_id_t *); 241 extern void dt_node_type_assign(dt_node_t *, ctf_file_t *, ctf_id_t, boolean_t); 269 extern const char *dt_type_name(ctf_file_t *, ctf_id_t, char *, size_t);
|
H A D | dt_printf.h | 60 ctf_id_t pfc_ctype; /* CTF type ID for "C" defn of type */ 62 ctf_id_t pfc_dtype; /* CTF type ID for "D" defn of type */
|
H A D | dt_ident.h | 81 ctf_id_t di_type; /* CTF identifier for the variable data type */ 172 extern void dt_ident_type_assign(dt_ident_t *, ctf_file_t *, ctf_id_t);
|
H A D | dt_parser.c | 267 ctf_id_t type = tip->dtt_type; in dt_type_pointer() 268 ctf_id_t base = ctf_type_resolve(ctfp, type); in dt_type_pointer() 272 ctf_id_t ptr; in dt_type_pointer() 307 dt_type_name(ctf_file_t *ctfp, ctf_id_t type, char *buf, size_t len) in dt_type_name() 331 dt_type_promote(dt_node_t *lp, dt_node_t *rp, ctf_file_t **ofp, ctf_id_t *otype) in dt_type_promote() 334 ctf_id_t ltype = lp->dn_type; in dt_type_promote() 337 ctf_id_t rtype = rp->dn_type; in dt_type_promote() 339 ctf_id_t lbase = ctf_type_resolve(lfp, ltype); in dt_type_promote() 342 ctf_id_t rbase = ctf_type_resolve(rfp, rtype); in dt_type_promote() 674 dt_node_type_assign(dt_node_t *dnp, ctf_file_t *fp, ctf_id_t type, in dt_node_type_assign() [all …]
|
/titanic_44/usr/src/tools/ctf/stabs/common/ |
H A D | forth.c | 129 fth_null_header(ctf_id_t tid) in fth_null_header() 155 find_member_cb(const char *memname, ctf_id_t tid, ulong_t off, void *arg) in find_member_cb() 166 static ctf_id_t 167 find_member(ctf_id_t tid, char *memname) in find_member() 181 ctf_id_t ltid = 0, tid; in fth_section_init()
|
H A D | genassym.c | 159 ctf_id_t curtype; in ga_process_name() 211 static int ga_member_find(ctf_id_t, ga_member_cb_data_t *); 214 ga_member_cb(const char *name, ctf_id_t type, ulong_t off, void *arg) in ga_member_cb() 269 ga_member_find(ctf_id_t curtype, ga_member_cb_data_t *md) in ga_member_find() 288 ga_process_member(ctf_id_t curtype, char *line) in ga_process_member()
|
H A D | fth_struct.c | 112 static ctf_id_t fth_str_curtid; 122 ctf_id_t fsm_tid; 159 fth_struct_header(ctf_id_t tid) in fth_struct_header() 299 fth_print_array(char *memname, ctf_id_t tid, ulong_t off, ssize_t sz, in fth_print_array() 338 ctf_id_t tid; in fth_print_member() 403 fth_struct_members_cb(const char *memname, ctf_id_t tid, ulong_t off, void *arg) in fth_struct_members_cb()
|
H A D | fth_enum.c | 41 static ctf_id_t fth_enum_curtid; 45 fth_enum_header(ctf_id_t tid) in fth_enum_header()
|
H A D | ctfstabs.c | 160 ctf_id_t 164 ctf_id_t id; in find_type() 218 ctf_id_t lid; in get_model()
|
H A D | forth.h | 48 int (*fto_header)(ctf_id_t);
|
H A D | ctfstabs.h | 72 extern ctf_id_t find_type(char *);
|
/titanic_44/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_ctf.c | 45 ctf_id_t tn_id; /* CTF type ID from match */ 195 set_ctf_id(mdb_ctf_id_t *p, ctf_file_t *fp, ctf_id_t id) in set_ctf_id() 213 ctf_id_t id; in obj_lookup() 238 name_to_type(mdb_tgt_t *t, const char *cname, ctf_id_t *idp) in name_to_type() 242 ctf_id_t id; in name_to_type() 411 ctf_id_t id; in mdb_ctf_module_lookup() 479 ctf_id_t cargv[32]; in mdb_ctf_func_args() 525 ctf_id_t id; in mdb_ctf_type_resolve() 603 ctf_id_t id; in mdb_ctf_type_reference() 633 type_cb(const char *name, ctf_id_t type, ulong_t off, int depth, void *arg) in type_cb() [all …]
|
H A D | mdb_ctf_impl.h | 38 ctf_id_t mci_id;
|