/illumos-gate/usr/src/uts/common/sys/ |
H A D | ctf_api.h | 61 typedef long ctf_id_t; typedef 242 extern int ctf_func_args_by_id(ctf_file_t *, ctf_id_t, uint_t, ctf_id_t *); 249 extern ctf_id_t ctf_type_resolve(ctf_file_t *, ctf_id_t); 260 extern ctf_id_t ctf_type_reference(ctf_file_t *, ctf_id_t); 261 extern ctf_id_t ctf_type_pointer(ctf_file_t *, ctf_id_t); 264 extern int ctf_type_cmp(ctf_file_t *, ctf_id_t, ctf_file_t *, ctf_id_t); 265 extern int ctf_type_compat(ctf_file_t *, ctf_id_t, ctf_file_t *, ctf_id_t); 292 const ctf_id_t *); 296 extern ctf_id_t ctf_add_type(ctf_file_t *, ctf_file_t *, ctf_id_t); 304 extern int ctf_add_member(ctf_file_t *, ctf_id_t, const char *, ctf_id_t, [all …]
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_impl.h | 130 ctf_id_t cd_type; /* type identifier */ 150 ctf_id_t dmd_type; /* type of this member (for sou) */ 159 ctf_id_t dtd_type; /* type identifier for this definition */ 166 ctf_id_t *dtu_argv; /* function */ 173 ctf_id_t dsd_tid; /* type for obj, 0 if function */ 175 ctf_id_t *dsd_argc; /* function argv */ 181 ctf_id_t dld_type; /* type ID associated with the label */ 186 ctf_id_t ctb_type; /* CTF type identifier */ 288 extern ctf_dtdef_t *ctf_dtd_lookup(ctf_file_t *, ctf_id_t); 295 extern void ctf_decl_push(ctf_decl_t *, ctf_file_t *, ctf_id_t); [all …]
|
H A D | ctf_types.c | 165 ctf_id_t id, max = fp->ctf_typemax; in ctf_type_iter() 186 ctf_id_t 250 ctf_id_t args[20]; in ctf_format_func() 633 ctf_id_t 661 ctf_id_t 665 ctf_id_t ntype; in ctf_type_pointer() 722 ctf_type_cmp(ctf_file_t *lfp, ctf_id_t ltype, ctf_file_t *rfp, ctf_id_t rtype) in ctf_type_cmp() 974 ctf_id_t otype = type; in ctf_type_rvisit() 1068 ctf_func_args_by_id(ctf_file_t *fp, ctf_id_t type, uint_t argc, ctf_id_t *argv) in ctf_func_args_by_id() 1100 ctf_id_t id; in ctf_object_iter() [all …]
|
H A D | ctf_create.c | 993 ctf_id_t 1020 ctf_id_t 1041 ctf_id_t 1048 ctf_id_t 1055 ctf_id_t 1061 ctf_id_t 1130 ctf_id_t 1187 ctf_id_t 1223 ctf_id_t 1263 ctf_id_t [all …]
|
H A D | ctf_lookup.c | 80 ctf_id_t 88 ctf_id_t type = 0; in ctf_lookup_by_name() 89 ctf_id_t ntype, ptype; in ctf_lookup_by_name() 181 ctf_id_t 185 ctf_id_t type; in ctf_lookup_by_symbol() 219 ctf_lookup_by_id(ctf_file_t **fpp, ctf_id_t type) in ctf_lookup_by_id() 298 ctf_func_args(ctf_file_t *fp, ulong_t symidx, uint_t argc, ctf_id_t *argv) in ctf_func_args() 325 ctf_dyn_lookup_by_id(ctf_file_t *fp, ctf_id_t id) in ctf_dyn_lookup_by_id() 341 ctf_dyn_array_info(ctf_file_t *infp, ctf_id_t id, ctf_arinfo_t *arinfop) in ctf_dyn_array_info()
|
/illumos-gate/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; 104 ctf_id_t); 191 ctf_id_t iref, oref; in ctf_diff_qualifier() 210 ctf_id_t oid) in ctf_diff_array() 254 ctf_id_t oid) in ctf_diff_fptr() 317 ctf_id_t oid) in ctf_diff_struct() 509 ctf_id_t oid) in ctf_diff_union() 618 ctf_id_t oid) in ctf_diff_type() [all …]
|
H A D | ctf_merge.c | 110 static ctf_id_t 254 ctf_id_t reftype; in ctf_merge_add_reftype() 292 ctf_id_t reftype; in ctf_merge_add_typedef() 324 ctf_id_t cme_id; 342 ctf_id_t enumid; in ctf_merge_add_enum() 376 ctf_id_t *argv; in ctf_merge_add_func() 449 ctf_id_t cms_id; 476 ctf_id_t suid; in ctf_merge_add_sou() 604 ctf_id_t mapid; in ctf_merge_fixup_sou() 672 ctf_id_t tid; in ctf_merge_dedup_remap() [all …]
|
H A D | libctf.h | 64 typedef void (*ctf_diff_type_f)(ctf_file_t *, ctf_id_t, boolean_t, ctf_file_t *, 65 ctf_id_t, void *); 68 typedef void (*ctf_diff_obj_f)(ctf_file_t *, ulong_t, ctf_id_t, boolean_t, 69 ctf_file_t *, ulong_t, ctf_id_t, void *);
|
H A D | ctf_dwarf.c | 295 ctf_id_t *); 356 static ctf_id_t 378 static ctf_id_t 1143 ctf_id_t id; in ctf_dwarf_create_base() 1405 ctf_id_t mid; in ctf_dwarf_fixup_sou() 1724 ctf_id_t id; in ctf_dwarf_create_array_range() 1755 ctf_id_t tid; in ctf_dwarf_create_array() 1861 ctf_id_t id; in ctf_dwarf_create_reference() 1917 ctf_id_t id; in ctf_dwarf_create_enum() 2119 ctf_id_t id; in ctf_dwarf_convert_type() [all …]
|
/illumos-gate/usr/src/lib/abi/apptrace/common/ |
H A D | apptraceutil.c | 40 typedef void printarg_f(ctf_id_t, ulong_t, printarg_t *); 54 print_value(ctf_file_t *ctfp, ctf_id_t type, ulong_t value) in print_value() 56 ctf_id_t rtype = ctf_type_resolve(ctfp, type); in print_value() 139 print_int(ctf_id_t base, ulong_t off, printarg_t *pap) in print_int() 191 print_float(ctf_id_t base, ulong_t off, printarg_t *pap) in print_float() 221 print_ptr(ctf_id_t base, ulong_t off, printarg_t *pap) in print_ptr() 247 print_array(ctf_id_t base, ulong_t off, printarg_t *pap) in print_array() 257 print_sou(ctf_id_t base, ulong_t off, printarg_t *pap) in print_sou() 264 print_enum(ctf_id_t base, ulong_t off, printarg_t *pap) in print_enum() 279 print_tag(ctf_id_t base, ulong_t off, printarg_t *pap) in print_tag() [all …]
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_xlator.h | 48 ctf_id_t dx_src_type; /* CTF reference for input type */ 49 ctf_id_t dx_src_base; /* CTF reference for input base */ 51 ctf_id_t dx_dst_type; /* CTF reference for output type */ 52 ctf_id_t dx_dst_base; /* CTF reference for output base */ 77 extern dt_ident_t *dt_xlator_ident(dt_xlator_t *, ctf_file_t *, ctf_id_t);
|
H A D | dt_print.c | 252 dt_print_int(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_int() 302 dt_print_float(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_float() 333 dt_print_ptr(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_ptr() 339 ctf_id_t bid = ctf_type_reference(ctfp, base); in dt_print_ptr() 385 dt_print_array(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_array() 396 ctf_id_t rtype; in dt_print_array() 495 dt_print_enum(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_enum() 539 dt_print_tag(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_tag() 544 typedef void dt_printarg_f(ctf_id_t, ulong_t, dt_printarg_t *); 574 ctf_id_t rtype; in dt_print_member() [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 | 81 ctf_id_t did_type; /* CTF type reference for this type */ 97 ctf_id_t da_type; /* type of argument */ 240 ctf_id_t dt_type_func; /* cached CTF identifier for function type */ 241 ctf_id_t dt_type_fptr; /* cached CTF identifier for function pointer */ 242 ctf_id_t dt_type_str; /* cached CTF identifier for string type */ 243 ctf_id_t dt_type_dyn; /* cached CTF identifier for <DYN> type */ 244 ctf_id_t dt_type_stack; /* cached CTF identifier for stack type */ 245 ctf_id_t dt_type_symaddr; /* cached CTF identifier for _symaddr type */ 246 ctf_id_t dt_type_usymaddr; /* cached CTF ident. for _usymaddr type */
|
H A D | dt_parser.h | 53 ctf_id_t dn_type; /* CTF type reference for node's type */ 204 ctf_file_t **, ctf_id_t *); 243 extern void dt_node_type_assign(dt_node_t *, ctf_file_t *, ctf_id_t, boolean_t); 244 extern void dt_node_type_assign_bitfield(dt_node_t *, ctf_file_t *, ctf_id_t, 273 extern const char *dt_type_name(ctf_file_t *, ctf_id_t, char *, size_t);
|
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_printf.h | 58 ctf_id_t pfc_ctype; /* CTF type ID for "C" defn of type */ 60 ctf_id_t pfc_dtype; /* CTF type ID for "D" defn of type */
|
/illumos-gate/usr/src/test/util-tests/tests/ctf/ |
H A D | check-common.c | 26 ctf_id_t clc_id; 58 static ctf_id_t 84 static ctf_id_t 142 ctf_id_t id; in ctftest_check_numbers() 216 ctf_id_t id; in ctftest_check_symbol_cb() 259 ctf_id_t base; in ctftest_check_descent() 272 ctf_id_t tid; in ctftest_check_descent() 415 ctf_id_t base; in ctftest_check_enum() 516 ctf_id_t base; in ctftest_check_members() 653 ctf_id_t tid; in ctftest_check_fptr() [all …]
|
/illumos-gate/usr/src/tools/ctf/stabs/common/ |
H A D | forth.c | 127 fth_null_header(ctf_id_t tid) in fth_null_header() 153 find_member_cb(const char *memname, ctf_id_t tid, ulong_t off, void *arg) in find_member_cb() 164 static ctf_id_t 165 find_member(ctf_id_t tid, char *memname) in find_member() 179 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 | 114 static ctf_id_t fth_str_curtid; 125 ctf_id_t fsm_tid; 177 fth_struct_header(ctf_id_t tid) in fth_struct_header() 318 fth_print_array(char *memname, ctf_id_t tid, ulong_t off, ssize_t sz, in fth_print_array() 357 ctf_id_t tid; in fth_print_member() 422 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 | 39 static ctf_id_t fth_enum_curtid; 43 fth_enum_header(ctf_id_t tid) in fth_enum_header()
|
H A D | ctfstabs.c | 158 ctf_id_t 162 ctf_id_t id; in find_type() 216 ctf_id_t lid; in get_model()
|
/illumos-gate/usr/src/cmd/ctfdump/ |
H A D | ctfdump.c | 76 ctf_id_t ci_id; 86 static ctf_id_t *g_fargc; 507 ctf_id_t ref; in ctfdump_types_cb() 701 ctf_id_t ref; in ctfsrc_refname() 767 ctfsrc_type(ctf_id_t id, const char *name) in ctfsrc_type() 770 ctf_id_t ref; in ctfsrc_type() 918 ctfsrc_object(ctf_id_t id, const char *name) in ctfsrc_object() 968 ctf_id_t aid = g_fargc[i]; in ctfsrc_function() 1024 ctf_id_t *largs = calloc(arity, sizeof (ctf_id_t)); in idname_compare() 1025 ctf_id_t *rargs = calloc(arity, sizeof (ctf_id_t)); in idname_compare() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_ctf.c | 214 ctf_id_t id; in obj_lookup() 412 ctf_id_t id; in mdb_ctf_module_lookup() 526 ctf_id_t id; in mdb_ctf_type_resolve() 604 ctf_id_t id; in mdb_ctf_type_reference() 825 ctf_id_t 1627 ctf_id_t mid; in mdb_ctf_vread() 1763 ctf_id_t id; in mdb_ctf_synthetics_create_base() 1891 ctf_id_t id; in mdb_ctf_add_struct() 1927 ctf_id_t id; in mdb_ctf_add_union() 2015 ctf_id_t id; in mdb_ctf_add_array() [all …]
|