/titanic_50/usr/src/uts/common/sys/ |
H A D | ctf_api.h | 60 typedef struct ctf_file ctf_file_t; typedef 211 extern ctf_file_t *ctf_bufopen(const ctf_sect_t *, const ctf_sect_t *, 213 extern ctf_file_t *ctf_fdopen(int, int *); 214 extern ctf_file_t *ctf_open(const char *, int *); 215 extern ctf_file_t *ctf_create(int *); 216 extern ctf_file_t *ctf_fdcreate(int, int *); 217 extern ctf_file_t *ctf_dup(ctf_file_t *); 218 extern void ctf_close(ctf_file_t *); 220 extern ctf_file_t *ctf_parent_file(ctf_file_t *); 221 extern const char *ctf_parent_name(ctf_file_t *); [all …]
|
/titanic_50/usr/src/lib/libctf/common/ |
H A D | libctf.h | 62 typedef void (*ctf_diff_type_f)(ctf_file_t *, ctf_id_t, boolean_t, ctf_file_t *, 64 typedef void (*ctf_diff_func_f)(ctf_file_t *, ulong_t, boolean_t, ctf_file_t *, 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 *); 69 extern int ctf_diff_init(ctf_file_t *, ctf_file_t *, ctf_diff_t **); 78 extern ctf_file_t *ctf_fdconvert(int, const char *, uint_t, uint_t, int *, 83 extern int ctf_merge_add(ctf_merge_t *, ctf_file_t *); 86 extern int ctf_merge_uniquify(ctf_merge_t *, ctf_file_t *, const char *); 87 extern int ctf_merge_merge(ctf_merge_t *, ctf_file_t **); 88 extern int ctf_merge_dedup(ctf_merge_t *, ctf_file_t **); [all …]
|
H A D | libctf_impl.h | 39 ctf_file_t **, char *, size_t); 41 ctf_file_t **, char *, size_t); 46 extern int ctf_compress(ctf_file_t *fp, void **, size_t *, size_t *); 53 extern void ctf_phase_dump(ctf_file_t *, const char *);
|
H A D | ctf_diff.c | 71 ctf_file_t *cds_ifp; 72 ctf_file_t *cds_ofp; 103 static int ctf_diff_type(ctf_diff_t *, ctf_file_t *, ctf_id_t, ctf_file_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() 162 ctf_file_t *ofp, ctf_id_t oid) in ctf_diff_typedef() 188 ctf_diff_qualifier(ctf_diff_t *cds, ctf_file_t *ifp, ctf_id_t iid, in ctf_diff_qualifier() 189 ctf_file_t *ofp, ctf_id_t oid) in ctf_diff_qualifier() 209 ctf_diff_array(ctf_diff_t *cds, ctf_file_t *ifp, ctf_id_t iid, ctf_file_t *ofp, in ctf_diff_array() [all …]
|
H A D | ctf_merge.c | 53 ctf_file_t *cm_out; /* Output CTF file */ 54 ctf_file_t *cm_src; /* Input CTF file */ 79 ctf_file_t *cmi_input; 89 ctf_file_t *cmh_unique; /* ctf to uniquify against */ 116 ctf_merge_diffcb(ctf_file_t *ifp, ctf_id_t iid, boolean_t same, ctf_file_t *ofp, in ctf_merge_diffcb() 311 ctf_file_t *cme_fp; 781 ctf_file_t *out = dcmi->cmi_input; in ctf_merge_types() 782 ctf_file_t *source = scmi->cmi_input; in ctf_merge_types() 892 ctf_uniquify_types(ctf_merge_t *cmh, ctf_file_t *src, ctf_file_t **outp) in ctf_uniquify_types() 895 ctf_file_t *out; in ctf_uniquify_types() [all …]
|
H A D | ctf_convert.c | 104 static ctf_file_t * 109 ctf_file_t *fp = NULL; in ctf_elfconvert() 189 ctf_file_t * 195 ctf_file_t *fp; in ctf_fdconvert()
|
/titanic_50/usr/src/common/ctf/ |
H A D | ctf_impl.h | 184 ctf_file_t *ctb_file; /* CTF container handle */ 254 extern ssize_t ctf_get_ctt_size(const ctf_file_t *, const ctf_type_t *, 257 extern const ctf_type_t *ctf_lookup_by_id(ctf_file_t **, ctf_id_t); 259 extern ctf_file_t *ctf_fdcreate_int(int, int *, ctf_sect_t *); 262 extern int ctf_hash_insert(ctf_hash_t *, ctf_file_t *, ushort_t, uint_t); 263 extern int ctf_hash_define(ctf_hash_t *, ctf_file_t *, ushort_t, uint_t); 264 extern ctf_helem_t *ctf_hash_lookup(ctf_hash_t *, ctf_file_t *, 277 extern void ctf_dtd_insert(ctf_file_t *, ctf_dtdef_t *); 278 extern void ctf_dtd_delete(ctf_file_t *, ctf_dtdef_t *); 279 extern ctf_dtdef_t *ctf_dtd_lookup(ctf_file_t *, ctf_id_t); [all …]
|
H A D | ctf_types.c | 35 ctf_get_ctt_size(const ctf_file_t *fp, const ctf_type_t *tp, ssize_t *sizep, in ctf_get_ctt_size() 62 ctf_member_iter(ctf_file_t *fp, ctf_id_t type, ctf_member_f *func, void *arg) in ctf_member_iter() 64 ctf_file_t *ofp = fp; 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() 115 ctf_file_t *ofp = fp; in ctf_enum_iter() 150 ctf_type_iter(ctf_file_t *fp, boolean_t nonroot, ctf_type_f *func, void *arg) in ctf_type_iter() 174 ctf_type_resolve(ctf_file_t *fp, ctf_id_t type) in ctf_type_resolve() 177 ctf_file_t *ofp = fp; in ctf_type_resolve() 232 ctf_format_func(ctf_file_t *fp, ctf_decl_t *cd, 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() [all …]
|
H A D | ctf_create.c | 52 ctf_file_t * 60 ctf_file_t *fp; in ctf_create() 89 ctf_file_t * 92 ctf_file_t *fp; in ctf_fdcreate() 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() 278 ctf_update(ctf_file_t *fp) in ctf_update() 280 ctf_file_t ofp, *nfp; in ctf_update() 697 bcopy(fp, &ofp, sizeof (ctf_file_t)); in ctf_update() 698 bcopy(nfp, fp, sizeof (ctf_file_t)); in ctf_update() [all …]
|
H A D | ctf_open.c | 111 init_symtab(ctf_file_t *fp, const ctf_header_t *hp, in init_symtab() 200 init_types(ctf_file_t *fp, const ctf_header_t *cth) in init_types() 543 ctf_file_t * 549 ctf_file_t *fp; in ctf_bufopen() 679 if ((fp = ctf_alloc(sizeof (ctf_file_t))) == NULL) in ctf_bufopen() 682 bzero(fp, sizeof (ctf_file_t)); in ctf_bufopen() 800 ctf_file_t * 801 ctf_dup(ctf_file_t *ofp) in ctf_dup() 803 ctf_file_t *fp; in ctf_dup() 886 ctf_close(ctf_file_t *fp) in ctf_close() [all …]
|
H A D | ctf_labels.c | 32 extract_label_info(ctf_file_t *fp, const ctf_lblent_t **ctl, uint_t *num_labels) in extract_label_info() 55 ctf_label_topmost(ctf_file_t *fp) in ctf_label_topmost() 80 ctf_label_iter(ctf_file_t *fp, ctf_label_f *func, void *arg) in ctf_label_iter() 138 ctf_label_info(ctf_file_t *fp, const char *lname, ctf_lblinfo_t *linfo) in ctf_label_info()
|
H A D | ctf_lookup.c | 79 ctf_lookup_by_name(ctf_file_t *fp, const char *name) in ctf_lookup_by_name() 179 ctf_lookup_by_symbol(ctf_file_t *fp, ulong_t symidx) in ctf_lookup_by_symbol() 216 ctf_lookup_by_id(ctf_file_t **fpp, ctf_id_t type) in ctf_lookup_by_id() 218 ctf_file_t *fp = *fpp; /* caller passes in starting CTF container */ in ctf_lookup_by_id() 241 ctf_func_info(ctf_file_t *fp, ulong_t symidx, ctf_funcinfo_t *fip) in ctf_func_info() 295 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_util.c | 119 ctf_strraw(ctf_file_t *fp, uint_t name) in ctf_strraw() 131 ctf_strptr(ctf_file_t *fp, uint_t name) in ctf_strptr() 155 ctf_file_t * 168 ctf_set_errno(ctf_file_t *fp, int err) in ctf_set_errno()
|
/titanic_50/usr/src/cmd/ctfdiff/ |
H A D | ctfdiff.c | 51 static ctf_file_t *g_ifp; 53 static ctf_file_t *g_ofp; 81 ctfdiff_fp_to_name(ctf_file_t *fp) in ctfdiff_fp_to_name() 92 ctfdiff_func_cb(ctf_file_t *ifp, ulong_t iidx, boolean_t similar, in ctfdiff_func_cb() 93 ctf_file_t *ofp, ulong_t oidx, void *arg) in ctfdiff_func_cb() 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() 221 ctfdiff_labels(ctf_file_t *ifp, ctf_file_t *ofp) in ctfdiff_labels() 322 ctf_file_t *ifp, *ofp; in main() [all …]
|
/titanic_50/usr/src/lib/libdtrace/common/ |
H A D | dt_module.h | 45 extern dt_module_t *dt_module_lookup_by_ctf(dtrace_hdl_t *, ctf_file_t *); 48 extern ctf_file_t *dt_module_getctf(dtrace_hdl_t *, dt_module_t *); 54 const ctf_file_t *); 55 extern ctf_file_t *dt_module_getctflib(dtrace_hdl_t *, dt_module_t *,
|
H A D | dt_xlator.h | 49 ctf_file_t *dx_src_ctfp; /* CTF container for input type */ 52 ctf_file_t *dx_dst_ctfp; /* CTF container for output type */ 79 extern dt_ident_t *dt_xlator_ident(dt_xlator_t *, ctf_file_t *, ctf_id_t);
|
H A D | dt_decl.h | 48 ctf_file_t *dd_ctfp; /* CTF container for decl's type */ 81 ctf_file_t *ds_ctfp; /* CTF container for this scope */ 122 extern void dt_scope_push(ctf_file_t *, ctf_id_t);
|
H A D | dt_print.c | 101 ctf_file_t *pa_ctfp; /* CTF container */ 114 dt_print_type_name(ctf_file_t *ctfp, ctf_id_t id, char *buf, size_t buflen) in dt_print_type_name() 232 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_int() 286 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_float() 317 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_ptr() 369 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_array() 479 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_enum() 551 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_member() 652 ctf_file_t *ctfp; in dtrace_print()
|
/titanic_50/usr/src/uts/common/ctf/ |
H A D | ctf_mod.c | 85 ctf_file_t * 92 ctf_file_t * 100 ctf_write(ctf_file_t *fp, int fd) in ctf_write() 117 ctf_file_t * 126 ctf_file_t * 130 ctf_file_t *fp = NULL; in ctf_modopen()
|
/titanic_50/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_ctf.h | 131 extern ctf_file_t *mdb_ctf_type_file(mdb_ctf_id_t); 151 extern ctf_file_t *mdb_ctf_open(const char *, int *); /* Internal */ 152 extern ctf_file_t *mdb_ctf_bufopen(const void *, size_t, /* Internal */ 154 extern int mdb_ctf_write(const char *, ctf_file_t *fp); /* Internal */ 155 extern void mdb_ctf_close(ctf_file_t *fp); /* Internal */
|
H A D | mdb_ctf_open.c | 44 ctf_file_t * 51 mdb_ctf_close(ctf_file_t *fp) in mdb_ctf_close() 57 mdb_ctf_write(const char *filename, ctf_file_t *fp) in mdb_ctf_write()
|
/titanic_50/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_ctf_open.c | 68 ctf_file_t * 73 ctf_file_t *ctfp; in mdb_ctf_open() 99 mdb_ctf_close(ctf_file_t *fp) in mdb_ctf_close() 106 mdb_ctf_write(const char *file, ctf_file_t *fp) in mdb_ctf_write()
|
/titanic_50/usr/src/lib/abi/apptrace/common/ |
H A D | apptraceutil.c | 37 ctf_file_t *pa_ctfp; 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() 143 ctf_file_t *ctfp = pap->pa_ctfp; in print_int() 195 ctf_file_t *ctfp = pap->pa_ctfp; in print_float() 225 ctf_file_t *ctfp = pap->pa_ctfp; in print_ptr() 268 ctf_file_t *ctfp = pap->pa_ctfp; in print_enum() 305 ctf_file_t *ctfp = pap->pa_ctfp; in elt_print()
|
/titanic_50/usr/src/lib/libsaveargs/tests/dump/ |
H A D | dump.c | 50 walk_symtab(Elf *elf, char *fname, ctf_file_t *fp, in walk_symtab() 51 void (*callback)(ctf_file_t *, symtab_sym_t *)) in walk_symtab() argument 116 check_sym(ctf_file_t *ctfp, symtab_sym_t *ss) in check_sym() 138 ctf_file_t *ctfp; in main()
|
/titanic_50/usr/src/cmd/mdb/common/libstandctf/ |
H A D | ctf_subr.c | 60 ctf_file_t * 67 ctf_file_t * 74 ctf_file_t *
|