Home
last modified time | relevance | path

Searched refs:ctf_file_t (Results 1 – 25 of 61) sorted by relevance

123

/titanic_41/usr/src/uts/common/sys/
H A Dctf_api.h60 typedef struct ctf_file ctf_file_t; typedef
149 extern ctf_file_t *ctf_bufopen(const ctf_sect_t *, const ctf_sect_t *,
151 extern ctf_file_t *ctf_fdopen(int, int *);
152 extern ctf_file_t *ctf_open(const char *, int *);
153 extern ctf_file_t *ctf_create(int *);
154 extern ctf_file_t *ctf_dup(ctf_file_t *);
155 extern void ctf_close(ctf_file_t *);
157 extern ctf_file_t *ctf_parent_file(ctf_file_t *);
158 extern const char *ctf_parent_name(ctf_file_t *);
160 extern int ctf_import(ctf_file_t *, ctf_file_t *);
[all …]
/titanic_41/usr/src/common/ctf/
H A Dctf_impl.h163 ctf_file_t *ctb_file; /* CTF container handle */
279 extern ssize_t ctf_get_ctt_size(const ctf_file_t *, const ctf_type_t *,
282 extern const ctf_type_t *ctf_lookup_by_id(ctf_file_t **, ctf_id_t);
285 extern int ctf_hash_insert(ctf_hash_t *, ctf_file_t *, ushort_t, uint_t);
286 extern int ctf_hash_define(ctf_hash_t *, ctf_file_t *, ushort_t, uint_t);
287 extern ctf_helem_t *ctf_hash_lookup(ctf_hash_t *, ctf_file_t *,
299 extern void ctf_dtd_insert(ctf_file_t *, ctf_dtdef_t *);
300 extern void ctf_dtd_delete(ctf_file_t *, ctf_dtdef_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);
[all …]
H A Dctf_types.c31 ctf_get_ctt_size(const ctf_file_t *fp, const ctf_type_t *tp, ssize_t *sizep, in ctf_get_ctt_size()
58 ctf_member_iter(ctf_file_t *fp, ctf_id_t type, ctf_member_f *func, void *arg) in ctf_member_iter()
60 ctf_file_t *ofp = fp; 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()
111 ctf_file_t *ofp = fp; in ctf_enum_iter()
145 ctf_type_iter(ctf_file_t *fp, ctf_type_f *func, void *arg) in ctf_type_iter()
168 ctf_type_resolve(ctf_file_t *fp, ctf_id_t type) in ctf_type_resolve()
171 ctf_file_t *ofp = fp; 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()
240 ctf_file_t *rfp = fp; in ctf_type_qlname()
[all …]
H A Dctf_create.c52 ctf_file_t *
60 ctf_file_t *fp; in ctf_create()
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()
236 ctf_update(ctf_file_t *fp) in ctf_update()
238 ctf_file_t ofp, *nfp; in ctf_update()
449 bcopy(fp, &ofp, sizeof (ctf_file_t)); in ctf_update()
450 bcopy(nfp, fp, sizeof (ctf_file_t)); in ctf_update()
451 bcopy(&ofp, nfp, sizeof (ctf_file_t)); in ctf_update()
470 ctf_dtd_insert(ctf_file_t *fp, ctf_dtdef_t *dtd) in ctf_dtd_insert()
[all …]
H A Dctf_util.c99 ctf_strraw(ctf_file_t *fp, uint_t name) in ctf_strraw()
111 ctf_strptr(ctf_file_t *fp, uint_t name) in ctf_strptr()
135 ctf_file_t *
148 ctf_set_errno(ctf_file_t *fp, int err) in ctf_set_errno()
H A Dctf_labels.c32 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 Dctf_open.c111 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()
677 if ((fp = ctf_alloc(sizeof (ctf_file_t))) == NULL) in ctf_bufopen()
680 bzero(fp, sizeof (ctf_file_t)); in ctf_bufopen()
797 ctf_file_t *
798 ctf_dup(ctf_file_t *ofp) in ctf_dup()
800 ctf_file_t *fp; in ctf_dup()
883 ctf_close(ctf_file_t *fp) in ctf_close()
[all …]
H A Dctf_lookup.c79 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 Dctf_hash.c95 ctf_hash_insert(ctf_hash_t *hp, ctf_file_t *fp, ushort_t type, uint_t name) in ctf_hash_insert()
132 ctf_hash_define(ctf_hash_t *hp, ctf_file_t *fp, ushort_t type, uint_t name) in ctf_hash_define()
145 ctf_hash_lookup(ctf_hash_t *hp, ctf_file_t *fp, const char *key, size_t len) in ctf_hash_lookup()
/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_module.h45 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 Ddt_xlator.h49 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 Ddt_decl.h48 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 Ddt_print.c101 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()
H A Ddt_parser.h51 ctf_file_t *dn_ctfp; /* CTF type container 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 Ddt_printf.h59 ctf_file_t *pfc_cctfp; /* CTF container for "C" defn of type */
61 ctf_file_t *pfc_dctfp; /* CTF container for "D" defn of type */
/titanic_41/usr/src/uts/common/ctf/
H A Dctf_mod.c87 ctf_file_t *
94 ctf_file_t *
102 ctf_write(ctf_file_t *fp, int fd) in ctf_write()
119 ctf_file_t *
123 ctf_file_t *fp = NULL; in ctf_modopen()
/titanic_41/usr/src/lib/abi/apptrace/common/
H A Dapptraceutil.c37 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_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf.h131 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 void mdb_ctf_close(ctf_file_t *fp); /* Internal */
H A Dmdb_ctf_open.c40 ctf_file_t *
47 mdb_ctf_close(ctf_file_t *fp) in mdb_ctf_close()
H A Dmdb_ctf.c44 ctf_file_t *tn_fp; /* CTF container from match */
51 ctf_file_t *ti_fp;
57 ctf_file_t *mi_fp;
63 ctf_file_t *tv_fp;
195 set_ctf_id(mdb_ctf_id_t *p, ctf_file_t *fp, ctf_id_t id) in set_ctf_id()
212 ctf_file_t *fp; in obj_lookup()
237 static ctf_file_t *
241 ctf_file_t *fp = NULL; in name_to_type()
320 ctf_file_t *fp = NULL; in mdb_ctf_lookup_by_name()
341 ctf_file_t *fp = NULL; in mdb_ctf_lookup_by_symbol()
[all …]
/titanic_41/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_ctf_open.c69 ctf_file_t *
74 ctf_file_t *ctfp; in mdb_ctf_open()
100 mdb_ctf_close(ctf_file_t *fp) in mdb_ctf_close()
H A Dkmdb_module.h104 extern ctf_file_t *kmdb_module_addr_to_ctf(uintptr_t);
105 extern ctf_file_t *kmdb_module_name_to_ctf(const char *);
H A Dkmdb_module.c170 ctf_file_t *
187 ctf_file_t *ctfp = kmc->kmc_mod->mod_ctfp; in kmdb_module_addr_to_ctf()
202 ctf_file_t *
206 ctf_file_t *ctfp; in kmdb_module_name_to_ctf()
/titanic_41/usr/src/lib/libsaveargs/tests/dump/
H A Ddump.c50 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_41/usr/src/cmd/mdb/common/libstandctf/
H A Dctf_subr.c62 ctf_file_t *
69 ctf_file_t *

123