/netbsd-src/external/cddl/osnet/dist/uts/common/sys/ |
H A D | ctf_api.h | 60 typedef struct ctf_file ctf_file_t; typedef 153 extern ctf_file_t *ctf_bufopen(const ctf_sect_t *, const ctf_sect_t *, 155 extern ctf_file_t *ctf_fdopen(int, int *); 156 extern ctf_file_t *ctf_open(const char *, int *); 157 extern ctf_file_t *ctf_create(int *); 158 extern ctf_file_t *ctf_dup(ctf_file_t *); 159 extern void ctf_close(ctf_file_t *); 161 extern ctf_file_t *ctf_parent_file(ctf_file_t *); 162 extern const char *ctf_parent_name(ctf_file_t *); 164 extern int ctf_import(ctf_file_t *, ctf_file_t *); [all …]
|
/netbsd-src/external/cddl/osnet/dist/common/ctf/ |
H A D | ctf_types.c | 34 ctf_get_ctt_size(const ctf_file_t *fp, const ctf_type_t *tp, ssize_t *sizep, in ctf_get_ctt_size() 61 ctf_member_iter(ctf_file_t *fp, ctf_id_t type, ctf_member_f *func, void *arg) in ctf_member_iter() 63 ctf_file_t *ofp = fp; in ctf_member_iter() 112 ctf_enum_iter(ctf_file_t *fp, ctf_id_t type, ctf_enum_f *func, void *arg) in ctf_enum_iter() 114 ctf_file_t *ofp = fp; in ctf_enum_iter() 148 ctf_type_iter(ctf_file_t *fp, ctf_type_f *func, void *arg) in ctf_type_iter() 171 ctf_type_resolve(ctf_file_t *fp, ctf_id_t type) in ctf_type_resolve() 174 ctf_file_t *ofp = fp; in ctf_type_resolve() 204 ctf_type_qlname(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len, in ctf_type_qlname() 243 ctf_file_t *rfp = fp; in ctf_type_qlname() [all …]
|
H A D | ctf_impl.h | 163 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 D | ctf_create.c | 55 ctf_file_t * 67 ctf_file_t *fp; in ctf_create() 191 ctf_ref_inc(ctf_file_t *fp, ctf_id_t tid) in ctf_ref_inc() 209 ctf_ref_dec(ctf_file_t *fp, ctf_id_t tid) in ctf_ref_dec() 243 ctf_update(ctf_file_t *fp) in ctf_update() 245 ctf_file_t ofp, *nfp; in ctf_update() 456 bcopy(fp, &ofp, sizeof (ctf_file_t)); in ctf_update() 457 bcopy(nfp, fp, sizeof (ctf_file_t)); in ctf_update() 458 bcopy(&ofp, nfp, sizeof (ctf_file_t)); in ctf_update() 477 ctf_dtd_insert(ctf_file_t *fp, ctf_dtdef_t *dtd) in ctf_dtd_insert() [all …]
|
H A D | ctf_open.c | 114 init_symtab(ctf_file_t *fp, const ctf_header_t *hp, in init_symtab() 203 init_types(ctf_file_t *fp, const ctf_header_t *cth) in init_types() 546 ctf_file_t * 552 ctf_file_t *fp; in ctf_bufopen() 680 if ((fp = ctf_alloc(sizeof (ctf_file_t))) == NULL) in ctf_bufopen() 683 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_util.c | 102 ctf_strraw(ctf_file_t *fp, uint_t name) in ctf_strraw() 114 ctf_strptr(ctf_file_t *fp, uint_t name) in ctf_strptr() 138 ctf_file_t * 151 ctf_set_errno(ctf_file_t *fp, int err) in ctf_set_errno()
|
H A D | ctf_lookup.c | 82 ctf_lookup_by_name(ctf_file_t *fp, const char *name) in ctf_lookup_by_name() 182 ctf_lookup_by_symbol(ctf_file_t *fp, ulong_t symidx) in ctf_lookup_by_symbol() 219 ctf_lookup_by_id(ctf_file_t **fpp, ctf_id_t type) in ctf_lookup_by_id() 221 ctf_file_t *fp = *fpp; /* caller passes in starting CTF container */ in ctf_lookup_by_id() 244 ctf_func_info(ctf_file_t *fp, ulong_t symidx, ctf_funcinfo_t *fip) in ctf_func_info() 298 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_labels.c | 35 extract_label_info(ctf_file_t *fp, const ctf_lblent_t **ctl, uint_t *num_labels) in extract_label_info() 58 ctf_label_topmost(ctf_file_t *fp) in ctf_label_topmost() 83 ctf_label_iter(ctf_file_t *fp, ctf_label_f *func, void *arg) in ctf_label_iter() 141 ctf_label_info(ctf_file_t *fp, const char *lname, ctf_lblinfo_t *linfo) in ctf_label_info()
|
H A D | ctf_hash.c | 98 ctf_hash_insert(ctf_hash_t *hp, ctf_file_t *fp, ushort_t type, uint_t name) in ctf_hash_insert() 135 ctf_hash_define(ctf_hash_t *hp, ctf_file_t *fp, ushort_t type, uint_t name) in ctf_hash_define() 148 ctf_hash_lookup(ctf_hash_t *hp, ctf_file_t *fp, const char *key, size_t len) in ctf_hash_lookup()
|
H A D | ctf_error.c | 100 ctf_errno(ctf_file_t *fp) in ctf_errno()
|
/netbsd-src/external/cddl/osnet/dist/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 *); 52 extern ctf_file_t *dt_module_getctf(dtrace_hdl_t *, dt_module_t *); 58 const ctf_file_t *); 59 extern ctf_file_t *dt_module_getctflib(dtrace_hdl_t *, dt_module_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() 549 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_member() 650 ctf_file_t *ctfp; in dtrace_print()
|
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_parser.h | 51 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 D | dt_printf.h | 59 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 */
|
H A D | dt_ident.h | 80 ctf_file_t *di_ctfp; /* CTF container 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_impl.h | 88 ctf_file_t *did_ctfp; /* CTF container for this type reference */ 106 ctf_file_t *da_ctfp; /* CTF container for type */ 127 ctf_file_t *dm_ctfp; /* CTF container handle */ 151 ctf_file_t **dm_libctfp; /* process library ctf pointers */
|
H A D | dt_xlator.c | 260 ctf_file_t *src_ctfp = src->dn_ctfp; in dt_xlator_lookup() 264 ctf_file_t *dst_ctfp = dst->dn_ctfp; 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.c | 271 ctf_file_t *ctfp = tip->dtt_ctfp; 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() 338 ctf_file_t *lfp = lp->dn_ctfp; in dt_type_promote() 341 ctf_file_t *rfp = rp->dn_ctfp; 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() 842 ctf_file_t *fp = dnp->dn_ctfp; in dt_node_is_integer() 862 ctf_file_t *fp = dnp->dn_ctfp; in dt_node_is_float() 881 ctf_file_t *fp = dnp->dn_ctfp; in dt_node_is_scalar() 902 ctf_file_t *fp = dnp->dn_ctfp; in dt_node_is_arith() [all …]
|
/netbsd-src/external/cddl/osnet/dist/uts/common/ctf/ |
H A D | ctf_mod.c | 87 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()
|
/netbsd-src/external/cddl/osnet/dist/lib/libctf/common/ |
H A D | ctf_lib.c | 218 ctf_file_t * 222 ctf_file_t *fp = NULL; in ctf_fdopen() 475 ctf_file_t * 478 ctf_file_t *fp; in ctf_open() 497 ctf_write(ctf_file_t *fp, int fd) in ctf_write()
|
/netbsd-src/external/gpl3/gdb/dist/libctf/ |
H A D | ChangeLog-2020 | 229 * ctf-impl.h: Rename ctf_file_t to ctf_dict_t: all declarations 235 (ctf_file_t): Fix outdated comment. 240 * ctf-archive.c: Rename ctf_file_t to ctf_dict_t. 246 * ctf-decl.c: Rename ctf_file_t to ctf_dict_t. 296 * ctf-impl.h (ctfo_get_vbytes): Add ctf_file_t parameter. 430 (ctf_file_t) <ctf_dedup>: New. 477 * ctf-impl.h (ctf_file_t) <ctf_link_variable_filter>: New. 490 * ctf-impl.h (ctf_file_t): Improve comments. 517 (ctf_file_t) <ctf_link_flags>: New. 523 (ctf_link_input_t): New value of the ctf_file_t.ctf_link_input. [all …]
|
/netbsd-src/external/gpl3/binutils.old/dist/libctf/ |
H A D | ChangeLog-2020 | 229 * ctf-impl.h: Rename ctf_file_t to ctf_dict_t: all declarations 235 (ctf_file_t): Fix outdated comment. 240 * ctf-archive.c: Rename ctf_file_t to ctf_dict_t. 246 * ctf-decl.c: Rename ctf_file_t to ctf_dict_t. 296 * ctf-impl.h (ctfo_get_vbytes): Add ctf_file_t parameter. 430 (ctf_file_t) <ctf_dedup>: New. 477 * ctf-impl.h (ctf_file_t) <ctf_link_variable_filter>: New. 490 * ctf-impl.h (ctf_file_t): Improve comments. 517 (ctf_file_t) <ctf_link_flags>: New. 523 (ctf_link_input_t): New value of the ctf_file_t.ctf_link_input. [all …]
|
/netbsd-src/external/gpl3/binutils/dist/libctf/ |
H A D | ChangeLog-2020 | 229 * ctf-impl.h: Rename ctf_file_t to ctf_dict_t: all declarations 235 (ctf_file_t): Fix outdated comment. 240 * ctf-archive.c: Rename ctf_file_t to ctf_dict_t. 246 * ctf-decl.c: Rename ctf_file_t to ctf_dict_t. 296 * ctf-impl.h (ctfo_get_vbytes): Add ctf_file_t parameter. 430 (ctf_file_t) <ctf_dedup>: New. 477 * ctf-impl.h (ctf_file_t) <ctf_link_variable_filter>: New. 490 * ctf-impl.h (ctf_file_t): Improve comments. 517 (ctf_file_t) <ctf_link_flags>: New. 523 (ctf_link_input_t): New value of the ctf_file_t.ctf_link_input. [all …]
|