/titanic_50/usr/src/uts/common/sys/ |
H A D | ctf_api.h | 61 typedef long ctf_id_t; typedef 149 ctf_id_t ctm_type; /* type of struct or union member */ 154 ctf_id_t ctr_contents; /* type of array contents */ 155 ctf_id_t ctr_index; /* type of array index */ 160 ctf_id_t ctc_return; /* function return type */ 166 ctf_id_t ctb_typeidx; /* last type associated with the label */ 202 typedef int ctf_visit_f(const char *, ctf_id_t, ulong_t, int, void *); 203 typedef int ctf_member_f(const char *, ctf_id_t, ulong_t, void *); 205 typedef int ctf_type_f(ctf_id_t, boolean_t, void *); 208 typedef int ctf_object_f(const char *, ctf_id_t, ulong_t, void *); [all …]
|
/titanic_50/usr/src/lib/libctf/common/ |
H A D | ctf_diff.c | 57 ctf_id_t cdo_id; 63 ctf_id_t cdg_iid; 64 ctf_id_t cdg_oid; 73 ctf_id_t *cds_forward; 74 ctf_id_t *cds_reverse; 103 static int ctf_diff_type(ctf_diff_t *, ctf_file_t *, ctf_id_t, ctf_file_t *, 104 ctf_id_t); 107 ctf_diff_name(ctf_file_t *ifp, ctf_id_t iid, ctf_file_t *ofp, ctf_id_t oid) in ctf_diff_name() 135 ctf_diff_number(ctf_file_t *ifp, ctf_id_t iid, ctf_file_t *ofp, ctf_id_t oid) in ctf_diff_number() 161 ctf_diff_typedef(ctf_diff_t *cds, ctf_file_t *ifp, ctf_id_t iid, in ctf_diff_typedef() [all …]
|
H A D | ctf_merge.c | 64 ctf_id_t cmo_tid; /* Type ID */ 71 ctf_id_t cmf_rtid; /* Type ID */ 74 ctf_id_t cmf_args[]; /* Types of arguments */ 97 static int ctf_merge_add_type(ctf_merge_types_t *, ctf_id_t); 99 static ctf_id_t 100 ctf_merge_gettype(ctf_merge_types_t *cmp, ctf_id_t id) in ctf_merge_gettype() 116 ctf_merge_diffcb(ctf_file_t *ifp, ctf_id_t iid, boolean_t same, ctf_file_t *ofp, in ctf_merge_diffcb() 117 ctf_id_t oid, void *arg) in ctf_merge_diffcb() 167 ctf_merge_add_number(ctf_merge_types_t *cmp, ctf_id_t id) in ctf_merge_add_number() 196 ctf_merge_add_array(ctf_merge_types_t *cmp, ctf_id_t id) in ctf_merge_add_array() [all …]
|
H A D | libctf.h | 62 typedef void (*ctf_diff_type_f)(ctf_file_t *, ctf_id_t, boolean_t, ctf_file_t *, 63 ctf_id_t, void *); 66 typedef void (*ctf_diff_obj_f)(ctf_file_t *, ulong_t, ctf_id_t, boolean_t, 67 ctf_file_t *, ulong_t, ctf_id_t, void *);
|
H A D | ctf_dwarf.c | 222 ctf_id_t cdm_id; 229 ctf_id_t cdv_type; 237 ctf_id_t *cdf_argv; 243 ctf_id_t cdb_base; 245 ctf_id_t cdb_id; 272 ctf_id_t cu_voidtid; /* void pointer */ 273 ctf_id_t cu_longtid; /* id for a 'long' */ 278 static int ctf_dwarf_convert_type(ctf_cu_t *, Dwarf_Die, ctf_id_t *, int); 283 ctf_id_t *); 339 static ctf_id_t [all …]
|
/titanic_50/usr/src/common/ctf/ |
H A D | ctf_impl.h | 129 ctf_id_t cd_type; /* type identifier */ 149 ctf_id_t dmd_type; /* type of this member (for sou) */ 158 ctf_id_t dtd_type; /* type identifier for this definition */ 165 ctf_id_t *dtu_argv; /* function */ 172 ctf_id_t dsd_tid; /* type for obj, 0 if function */ 174 ctf_id_t *dsd_argc; /* function argv */ 180 ctf_id_t dld_type; /* type ID associated with the label */ 185 ctf_id_t ctb_type; /* CTF type identifier */ 257 extern const ctf_type_t *ctf_lookup_by_id(ctf_file_t **, ctf_id_t); 279 extern ctf_dtdef_t *ctf_dtd_lookup(ctf_file_t *, ctf_id_t); [all …]
|
H A D | ctf_types.c | 62 ctf_member_iter(ctf_file_t *fp, ctf_id_t type, ctf_member_f *func, void *arg) in ctf_member_iter() 113 ctf_enum_iter(ctf_file_t *fp, ctf_id_t type, ctf_enum_f *func, void *arg) in ctf_enum_iter() 152 ctf_id_t id, max = fp->ctf_typemax; in ctf_type_iter() 173 ctf_id_t 174 ctf_type_resolve(ctf_file_t *fp, ctf_id_t type) in ctf_type_resolve() 176 ctf_id_t prev = type, otype = type; in ctf_type_resolve() 233 const char *vname, ctf_id_t id, int want_func_args) in ctf_format_func() 237 ctf_id_t args[20]; in ctf_format_func() 285 ctf_type_qlname(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len, in ctf_type_qlname() 425 ctf_type_lname(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len) in ctf_type_lname() [all …]
|
H A D | ctf_create.c | 226 ctf_ref_inc(ctf_file_t *fp, ctf_id_t tid) in ctf_ref_inc() 244 ctf_ref_dec(ctf_file_t *fp, ctf_id_t tid) in ctf_ref_dec() 769 ctf_free(dtd->dtd_u.dtu_argv, sizeof (ctf_id_t) * in ctf_dtd_delete() 798 ctf_dtd_lookup(ctf_file_t *fp, ctf_id_t type) in ctf_dtd_lookup() 856 sizeof (ctf_id_t) * dsd->dsd_nargs); in ctf_dsd_delete() 942 static ctf_id_t 946 ctf_id_t type; in ctf_add_generic() 983 ctf_id_t 988 ctf_id_t type; in ctf_add_encoded() 1010 ctf_id_t [all …]
|
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_50/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 …]
|
/titanic_50/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 */
|
/titanic_50/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()
|
/titanic_50/usr/src/cmd/ctfdump/ |
H A D | ctfdump.c | 75 ctf_id_t ci_id; 85 static ctf_id_t *g_fargc; 174 ctfdump_objects_cb(const char *name, ctf_id_t id, ulong_t symidx, void *arg) in ctfdump_objects_cb() 202 g_fargc = realloc(g_fargc, sizeof (ctf_id_t) * nargs); in ctfdump_fargs_grow() 483 ctfdump_member_cb(const char *member, ctf_id_t type, ulong_t off, void *arg) in ctfdump_member_cb() 502 ctfdump_types_cb(ctf_id_t id, boolean_t root, void *arg) in ctfdump_types_cb() 506 ctf_id_t ref; in ctfdump_types_cb() 689 ctfsrc_refname(ctf_id_t id, char *buf, size_t bufsize) in ctfsrc_refname() 691 ctf_id_t ref; in ctfsrc_refname() 702 ctfsrc_member_cb(const char *member, ctf_id_t type, ulong_t off, void *arg) in ctfsrc_member_cb() [all …]
|
/titanic_50/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_ctf.c | 46 ctf_id_t tn_id; /* CTF type ID from match */ 196 set_ctf_id(mdb_ctf_id_t *p, ctf_file_t *fp, ctf_id_t id) in set_ctf_id() 214 ctf_id_t id; in obj_lookup() 239 name_to_type(mdb_tgt_t *t, const char *cname, ctf_id_t *idp) in name_to_type() 243 ctf_id_t id; in name_to_type() 412 ctf_id_t id; in mdb_ctf_module_lookup() 480 ctf_id_t cargv[32]; in mdb_ctf_func_args() 526 ctf_id_t id; in mdb_ctf_type_resolve() 604 ctf_id_t id; in mdb_ctf_type_reference() 634 type_cb(const char *name, ctf_id_t type, ulong_t off, int depth, void *arg) in type_cb() [all …]
|
/titanic_50/usr/src/cmd/ctfdiff/ |
H A D | ctfdiff.c | 124 ctfdiff_obj_cb(ctf_file_t *ifp, ulong_t iidx, ctf_id_t iid, boolean_t similar, in ctfdiff_obj_cb() 125 ctf_file_t *ofp, ulong_t oidx, ctf_id_t oid, void *arg) in ctfdiff_obj_cb() 156 ctfdiff_cb(ctf_file_t *ifp, ctf_id_t iid, boolean_t similar, ctf_file_t *ofp, in ctfdiff_cb() 157 ctf_id_t oid, void *arg) in ctfdiff_cb()
|