/freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | ctf_api.h | 61 typedef long ctf_id_t; typedef 94 ctf_id_t ctm_type; /* type of struct or union member */ 99 ctf_id_t ctr_contents; /* type of array contents */ 100 ctf_id_t ctr_index; /* type of array index */ 105 ctf_id_t ctc_return; /* function return type */ 111 ctf_id_t ctb_typeidx; /* last type associated with the label */ 147 typedef int ctf_visit_f(const char *, ctf_id_t, ulong_t, int, void *); 148 typedef int ctf_member_f(const char *, ctf_id_t, ulong_t, void *); 150 typedef int ctf_type_f(ctf_id_t, void *); 176 extern int ctf_func_args(ctf_file_t *, ulong_t, uint_t, ctf_id_t *); [all …]
|
/freebsd/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_create.c | 221 ctf_ref_inc(ctf_file_t *fp, ctf_id_t tid) in ctf_ref_inc() 239 ctf_ref_dec(ctf_file_t *fp, ctf_id_t tid) in ctf_ref_dec() 625 ctf_free(dtd->dtd_u.dtu_argv, sizeof (ctf_id_t) * in ctf_dtd_delete() 654 ctf_dtd_lookup(ctf_file_t *fp, ctf_id_t type) in ctf_dtd_lookup() 703 static ctf_id_t 707 ctf_id_t type; in ctf_add_generic() 763 static ctf_id_t 768 ctf_id_t type; in ctf_add_encoded() 783 static ctf_id_t 784 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_types.c | 184 ctf_member_iter(ctf_file_t *fp, ctf_id_t type, ctf_member_f *func, void *arg) in ctf_member_iter() 225 ctf_enum_iter(ctf_file_t *fp, ctf_id_t type, ctf_enum_f *func, void *arg) in ctf_enum_iter() 264 ctf_id_t id, max = fp->ctf_typemax; in ctf_type_iter() 286 ctf_id_t 287 ctf_type_resolve(ctf_file_t *fp, ctf_id_t type) in ctf_type_resolve() 289 ctf_id_t prev = type, otype = type; in ctf_type_resolve() 322 ctf_type_qlname(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len, in ctf_type_qlname() 435 ctf_type_lname(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len) in ctf_type_lname() 445 ctf_type_name(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len) in ctf_type_name() 452 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_impl.h | 133 ctf_id_t cd_type; /* type identifier */ 153 ctf_id_t dmd_type; /* type of this member (for sou) */ 162 ctf_id_t dtd_type; /* type identifier for this definition */ 169 ctf_id_t *dtu_argv; /* function */ 175 ctf_id_t ctb_type; /* CTF type identifier */ 314 extern const void *ctf_lookup_by_id(ctf_file_t **, ctf_id_t); 334 extern ctf_dtdef_t *ctf_dtd_lookup(ctf_file_t *, ctf_id_t); 338 extern void ctf_decl_push(ctf_decl_t *, ctf_file_t *, ctf_id_t);
|
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() 304 ctf_func_args(ctf_file_t *fp, ulong_t symidx, uint_t argc, ctf_id_t *argv) in ctf_func_args()
|
H A D | ctf_decl.c | 87 ctf_decl_push(ctf_decl_t *cd, ctf_file_t *fp, ctf_id_t type) in ctf_decl_push()
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_print.c | 109 static int dt_format_member(const char *, ctf_id_t, ulong_t, int, void *); 110 static int dt_print_member(const char *, ctf_id_t, ulong_t, int, void *); 117 dt_print_type_name(ctf_file_t *ctfp, ctf_id_t id, char *buf, size_t buflen) in dt_print_type_name() 236 dt_print_int(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_int() 298 dt_print_float(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_float() 327 dt_print_ptr(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_ptr() 333 ctf_id_t bid = ctf_type_reference(ctfp, base); in dt_print_ptr() 378 dt_print_array(ctf_id_t base, ulong_t off, dt_printarg_t *pap) in dt_print_array() 390 ctf_id_t rtype; in dt_print_array() 515 dt_print_structlike(ctf_id_t id, ulong_t off, dt_printarg_t *pap) in dt_print_structlike() [all …]
|
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_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 | 89 ctf_id_t did_type; /* CTF type reference for this type */ 105 ctf_id_t da_type; /* type of argument */ 272 ctf_id_t dt_type_func; /* cached CTF identifier for function type */ 273 ctf_id_t dt_type_fptr; /* cached CTF identifier for function pointer */ 274 ctf_id_t dt_type_str; /* cached CTF identifier for string type */ 275 ctf_id_t dt_type_dyn; /* cached CTF identifier for <DYN> type */ 276 ctf_id_t dt_type_stack; /* cached CTF identifier for stack type */ 277 ctf_id_t dt_type_symaddr; /* cached CTF identifier for _symaddr type */ 278 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() 363 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 | 61 ctf_id_t pfc_ctype; /* CTF type ID for "C" defn of type */ 63 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 | 272 ctf_id_t type = tip->dtt_type; in dt_type_pointer() 273 ctf_id_t base = ctf_type_resolve(ctfp, type); in dt_type_pointer() 277 ctf_id_t ptr; in dt_type_pointer() 312 dt_type_name(ctf_file_t *ctfp, ctf_id_t type, char *buf, size_t len) in dt_type_name() 336 dt_type_promote(dt_node_t *lp, dt_node_t *rp, ctf_file_t **ofp, ctf_id_t *otype) in dt_type_promote() 339 ctf_id_t ltype = lp->dn_type; in dt_type_promote() 342 ctf_id_t rtype = rp->dn_type; in dt_type_promote() 344 ctf_id_t lbase = ctf_type_resolve(lfp, ltype); in dt_type_promote() 347 ctf_id_t rbase = ctf_type_resolve(rfp, rtype); in dt_type_promote() 679 dt_node_type_assign(dt_node_t *dnp, ctf_file_t *fp, ctf_id_t type, in dt_node_type_assign() [all …]
|
H A D | dt_decl.c | 465 ctf_id_t type; in dt_decl_sou() 515 ctf_id_t base; in dt_decl_member() 662 ctf_id_t type; in dt_decl_enum() 818 ctf_id_t type; in dt_decl_type() 1082 dt_scope_push(ctf_file_t *ctfp, ctf_id_t type) in dt_scope_push()
|
H A D | dt_cg.c | 71 dt_cg_membinfo(ctf_file_t *fp, ctf_id_t type, const char *s, ctf_membinfo_t *mp) in dt_cg_membinfo() 145 dt_cg_load(dt_node_t *dnp, ctf_file_t *ctfp, ctf_id_t type) in dt_cg_load() 194 ctf_id_t type; in dt_cg_ptrsize() 334 ctf_id_t type; in dt_cg_field_set() 644 ctf_id_t type; in dt_cg_prearith_op() 701 ctf_id_t type; in dt_cg_postarith_op() 1366 dt_cg_xlate_member(const char *name, ctf_id_t type, ulong_t off, void *arg) in dt_cg_xlate_member() 1518 ctf_id_t type; in dt_cg_node()
|
H A D | dt_printf.c | 113 ctf_id_t base; in pfcheck_str() 133 ctf_id_t base = ctf_type_resolve(ctfp, dnp->dn_type); in pfcheck_wstr() 184 ctf_id_t type = ctf_type_resolve(ctfp, dnp->dn_type); in pfcheck_xshort() 197 ctf_id_t type = ctf_type_resolve(ctfp, dnp->dn_type); in pfcheck_xlong() 210 ctf_id_t type = dnp->dn_type; in pfcheck_xlonglong()
|
H A D | dtrace.h | 519 ctf_id_t dtt_type; /* CTF type identifier */
|
H A D | dt_pid.c | 859 ctf_id_t argv[32]; in dt_pid_get_types() 868 int argc = sizeof (argv) / sizeof (ctf_id_t); in dt_pid_get_types()
|
H A D | dt_options.c | 808 ctf_id_t type = ctf_type_resolve(fp, DT_STR_TYPE(dtp)); in dt_opt_strsize()
|
H A D | dt_ident.c | 985 dt_ident_type_assign(dt_ident_t *idp, ctf_file_t *fp, ctf_id_t type) in dt_ident_type_assign()
|
H A D | dt_module.c | 1562 ctf_id_t id; in dtrace_lookup_by_type()
|
/freebsd/sys/cddl/dev/fbt/ |
H A D | fbt.c | 761 ctf_id_t cd_type; /* type identifier */ 855 ctf_lookup_by_id(linker_ctf_t *lc, ctf_id_t type) in ctf_lookup_by_id() 878 fbt_array_info(linker_ctf_t *lc, ctf_id_t type, ctf_arinfo_t *arp) in fbt_array_info() 947 ctf_decl_push(ctf_decl_t *cd, linker_ctf_t *lc, ctf_id_t type) in ctf_decl_push() 1046 fbt_type_name(linker_ctf_t *lc, ctf_id_t type, char *buf, size_t len) in fbt_type_name()
|