Home
last modified time | relevance | path

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

/dflybsd-src/contrib/binutils-2.34/include/
H A Dctf-api.h43 typedef struct ctf_file ctf_file_t; typedef
241 typedef int ctf_archive_member_f (ctf_file_t *fp, const char *name, void *arg);
263 extern ctf_sect_t ctf_getdatasect (const ctf_file_t *);
264 extern ctf_archive_t *ctf_get_arc (const ctf_file_t *);
267 extern ctf_file_t *ctf_arc_open_by_name (const ctf_archive_t *,
269 extern ctf_file_t *ctf_arc_open_by_name_sections (const ctf_archive_t *,
277 extern ctf_file_t *ctf_simple_open (const char *, size_t, const char *, size_t,
279 extern ctf_file_t *ctf_bufopen (const ctf_sect_t *, const ctf_sect_t *,
281 extern void ctf_file_close (ctf_file_t *);
283 extern int ctf_arc_write (const char *, ctf_file_t **, size_t,
[all …]
/dflybsd-src/contrib/binutils-2.34/libctf/
H A Dctf-impl.h110 ssize_t (*ctfo_get_ctt_size) (const ctf_file_t *, const ctf_type_t *,
183 ctf_file_t *ctb_file; /* CTF container handle. */
221 ctf_file_t *cltm_fp;
308 ctf_file_t *ctfi_file;
343 static inline ssize_t ctf_get_ctt_size (const ctf_file_t *fp, in ctf_get_ctt_size()
355 extern ctf_names_t *ctf_name_table (ctf_file_t *, int);
356 extern const ctf_type_t *ctf_lookup_by_id (ctf_file_t **, ctf_id_t);
357 extern ctf_id_t ctf_lookup_by_rawname (ctf_file_t *, int, const char *);
358 extern ctf_id_t ctf_lookup_by_rawhash (ctf_file_t *, ctf_names_t *, const char *);
359 extern void ctf_set_ctl_hashes (ctf_file_t *);
[all …]
H A Dctf-link.c37 ctf_add_type_mapping (ctf_file_t *src_fp, ctf_id_t src_type, in ctf_add_type_mapping()
38 ctf_file_t *dst_fp, ctf_id_t dst_type) in ctf_add_type_mapping()
79 ctf_type_mapping (ctf_file_t *src_fp, ctf_id_t src_type, ctf_file_t **dst_fp) in ctf_type_mapping()
82 ctf_file_t *target_fp = *dst_fp; in ctf_type_mapping()
146 ctf_file_close ((ctf_file_t *) file); in ctf_file_close_thunk()
150 ctf_link_add_ctf (ctf_file_t *fp, ctf_archive_t *ctf, const char *name) in ctf_link_add_ctf()
181 static ctf_file_t *
182 ctf_create_per_cu (ctf_file_t *fp, const char *filename, const char *cuname) in ctf_create_per_cu()
184 ctf_file_t *cu_fp; in ctf_create_per_cu()
247 ctf_link_add_cu_mapping (ctf_file_t *fp, const char *from, const char *to) in ctf_link_add_cu_mapping()
[all …]
H A Dctf-types.c26 ctf_type_isparent (ctf_file_t *fp, ctf_id_t id) in ctf_type_isparent()
32 ctf_type_ischild (ctf_file_t * fp, ctf_id_t id) in ctf_type_ischild()
41 ctf_member_iter (ctf_file_t *fp, ctf_id_t type, ctf_member_f *func, void *arg) in ctf_member_iter()
43 ctf_file_t *ofp = fp; in ctf_member_iter()
110 ctf_enum_iter (ctf_file_t *fp, ctf_id_t type, ctf_enum_f *func, void *arg) in ctf_enum_iter()
112 ctf_file_t *ofp = fp; in ctf_enum_iter()
161 ctf_type_iter (ctf_file_t *fp, ctf_type_f *func, void *arg) in ctf_type_iter()
181 ctf_type_iter_all (ctf_file_t *fp, ctf_type_all_f *func, void *arg) in ctf_type_iter_all()
202 ctf_variable_iter (ctf_file_t *fp, ctf_variable_f *func, void *arg) in ctf_variable_iter()
241 ctf_type_resolve (ctf_file_t *fp, ctf_id_t type) in ctf_type_resolve()
[all …]
H A Dctf-create.c36 ctf_grow_ptrtab (ctf_file_t *fp) in ctf_grow_ptrtab()
69 ctf_file_t *
78 ctf_file_t *fp; in ctf_create()
153 ctf_copy_smembers (ctf_file_t *fp, ctf_dtdef_t *dtd, unsigned char *t) in ctf_copy_smembers()
178 ctf_copy_lmembers (ctf_file_t *fp, ctf_dtdef_t *dtd, unsigned char *t) in ctf_copy_lmembers()
204 ctf_copy_emembers (ctf_file_t *fp, ctf_dtdef_t *dtd, unsigned char *t) in ctf_copy_emembers()
227 ctf_file_t *fp;
244 ctf_update (ctf_file_t *fp) in ctf_update()
264 ctf_serialize (ctf_file_t *fp) in ctf_serialize()
266 ctf_file_t ofp, *nfp; in ctf_serialize()
[all …]
H A Dctf-string.c26 ctf_strraw_explicit (ctf_file_t *fp, uint32_t name, ctf_strs_t *strtab) in ctf_strraw_explicit()
61 ctf_strraw (ctf_file_t *fp, uint32_t name) in ctf_strraw()
69 ctf_strptr (ctf_file_t *fp, uint32_t name) in ctf_strptr()
102 ctf_str_create_atoms (ctf_file_t *fp) in ctf_str_create_atoms()
134 ctf_str_free_atoms (ctf_file_t *fp) in ctf_str_free_atoms()
146 ctf_str_add_ref_internal (ctf_file_t *fp, const char *str, in ctf_str_add_ref_internal()
218 ctf_str_add (ctf_file_t *fp, const char *str) in ctf_str_add()
235 ctf_str_add_ref (ctf_file_t *fp, const char *str, uint32_t *ref) in ctf_str_add_ref()
251 ctf_str_add_external (ctf_file_t *fp, const char *str, uint32_t offset) in ctf_str_add_external()
267 ctf_str_remove_ref (ctf_file_t *fp, const char *str, uint32_t *ref) in ctf_str_remove_ref()
[all …]
H A Dctf-open.c80 get_ctt_size_common (const ctf_file_t *fp _libctf_unused_, in get_ctt_size_common()
108 get_ctt_size_v1 (const ctf_file_t *fp, const ctf_type_t *tp, in get_ctt_size_v1()
122 get_ctt_size_v2_unconverted (const ctf_file_t *fp, const ctf_type_t *tp, in get_ctt_size_v2_unconverted()
134 get_ctt_size_v2 (const ctf_file_t *fp, const ctf_type_t *tp, in get_ctt_size_v2()
227 init_symtab (ctf_file_t *fp, const ctf_header_t *hp, in init_symtab()
320 ctf_set_base (ctf_file_t *fp, const ctf_header_t *hp, unsigned char *base) in ctf_set_base()
361 ctf_set_version (ctf_file_t *fp, ctf_header_t *cth, int ctf_version) in ctf_set_version()
399 upgrade_types_v1 (ctf_file_t *fp, ctf_header_t *cth) in upgrade_types_v1()
623 upgrade_types (ctf_file_t *fp, ctf_header_t *cth) in upgrade_types()
651 init_types (ctf_file_t *fp, ctf_header_t *cth) in init_types()
[all …]
H A Dctf-archive.c35 static off_t arc_write_one_ctf (ctf_file_t * f, int fd, size_t threshold);
36 static ctf_file_t *ctf_arc_open_by_offset (const struct ctf_archive *arc,
56 ctf_arc_write_fd (int fd, ctf_file_t **ctf_files, size_t ctf_file_cnt, in ctf_arc_write_fd()
219 ctf_arc_write (const char *file, ctf_file_t ** ctf_files, size_t ctf_file_cnt, in ctf_arc_write()
262 arc_write_one_ctf (ctf_file_t * f, int fd, size_t threshold) in arc_write_one_ctf()
268 int (*writefn) (ctf_file_t * fp, int fd); in arc_write_one_ctf()
449 static ctf_file_t *
489 ctf_file_t *
498 ctf_file_t *ret; in ctf_arc_open_by_name_sections()
523 ctf_file_t *
[all …]
H A Dctf-lookup.c72 ctf_lookup_by_name (ctf_file_t *fp, const char *name) in ctf_lookup_by_name()
197 ctf_file_t *clvk_fp;
215 ctf_lookup_variable (ctf_file_t *fp, const char *name) in ctf_lookup_variable()
239 ctf_lookup_symbol_name (ctf_file_t *fp, unsigned long symidx) in ctf_lookup_symbol_name()
274 ctf_lookup_by_symbol (ctf_file_t *fp, unsigned long symidx) in ctf_lookup_by_symbol()
313 ctf_lookup_by_id (ctf_file_t **fpp, ctf_id_t type) in ctf_lookup_by_id()
315 ctf_file_t *fp = *fpp; /* Caller passes in starting CTF container. */ in ctf_lookup_by_id()
357 ctf_func_info (ctf_file_t *fp, unsigned long symidx, ctf_funcinfo_t *fip) in ctf_func_info()
414 ctf_func_args (ctf_file_t * fp, unsigned long symidx, uint32_t argc, in ctf_func_args()
H A Dctf-labels.c24 extract_label_info (ctf_file_t *fp, const ctf_lblent_t **ctl, in extract_label_info()
40 ctf_label_topmost (ctf_file_t *fp) in ctf_label_topmost()
64 ctf_label_iter (ctf_file_t *fp, ctf_label_f *func, void *arg) in ctf_label_iter()
123 ctf_label_info (ctf_file_t *fp, const char *lname, ctf_lblinfo_t *linfo) in ctf_label_info()
H A Dctf-dump.c39 ctf_file_t *cds_fp;
49 ctf_file_t *cdm_fp;
86 ctf_is_slice (ctf_file_t *fp, ctf_id_t id, ctf_encoding_t *enc) in ctf_is_slice()
100 ctf_dump_format_type (ctf_file_t *fp, ctf_id_t id, int flag) in ctf_dump_format_type()
180 ctf_dump_header_strfield (ctf_file_t *fp, ctf_dump_state_t *state, in ctf_dump_header_strfield()
198 ctf_dump_header_sectfield (ctf_file_t *fp, ctf_dump_state_t *state, in ctf_dump_header_sectfield()
218 ctf_dump_header (ctf_file_t *fp, ctf_dump_state_t *state) in ctf_dump_header()
336 ctf_dump_objts (ctf_file_t *fp, ctf_dump_state_t *state) in ctf_dump_objts()
393 ctf_dump_funcs (ctf_file_t *fp, ctf_dump_state_t *state) in ctf_dump_funcs()
628 ctf_dump_str (ctf_file_t *fp, ctf_dump_state_t *state) in ctf_dump_str()
[all …]
H A Dctf-util.c145 ctf_realloc (ctf_file_t *fp, void *ptr, size_t size) in ctf_realloc()
171 ctf_set_errno (ctf_file_t * fp, int err) in ctf_set_errno()
H A Dctf-hash.c309 ctf_hash_insert_type (ctf_hash_t *hp, ctf_file_t *fp, uint32_t type, in ctf_hash_insert_type()
339 ctf_hash_define_type (ctf_hash_t *hp, ctf_file_t *fp, uint32_t type, in ctf_hash_define_type()
349 ctf_hash_lookup_type (ctf_hash_t *hp, ctf_file_t *fp __attribute__ ((__unused__)), in ctf_hash_lookup_type()
H A Dctf-open-bfd.c42 ctf_file_t *fp, const ctf_sect_t *symsect, in ctf_new_archive_internal()
128 ctf_file_t *fp = NULL; in ctf_bfdopen_ctfsect()
270 ctf_file_t *fp = NULL; in ctf_fdopen()
H A Dctf-error.c93 ctf_errno (ctf_file_t * fp) in ctf_errno()
H A Dctf-decl.c74 ctf_decl_push (ctf_decl_t *cd, ctf_file_t *fp, ctf_id_t type) in ctf_decl_push()
/dflybsd-src/contrib/binutils-2.34/binutils/
H A Dobjdump.c4000 dump_ctf_archive_member (ctf_file_t *ctf, const char *name, void *arg) in dump_ctf_archive_member()
4002 ctf_file_t *parent = (ctf_file_t *) arg; in dump_ctf_archive_member()
4055 ctf_file_t *parent = NULL; in dump_ctf()
H A Dreadelf.c13961 ctf_file_t * ctf = NULL; in dump_section_as_ctf()
13962 ctf_file_t * parent = NULL; in dump_section_as_ctf()
/dflybsd-src/contrib/binutils-2.34/ld/
H A Dldlang.c132 static ctf_file_t *ctf_output;