Searched refs:ctf_header_t (Results 1 – 7 of 7) sorted by relevance
| /freebsd-9-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
| D | ctf.c | 564 write_buffer(ctf_header_t *h, ctf_buf_t *buf, size_t *resszp) in write_buffer() 569 outbuf = xmalloc(sizeof (ctf_header_t) + (buf->ctb_ptr - buf->ctb_base) in write_buffer() 573 (void) bcopy_data(h, sizeof (ctf_header_t), &bufpos); in write_buffer() 588 write_compressed_buffer(ctf_header_t *h, ctf_buf_t *buf, size_t *resszp) in write_compressed_buffer() 593 bcopy(h, resbuf.rb_base, sizeof (ctf_header_t)); in write_compressed_buffer() 594 resbuf.rb_ptr = resbuf.rb_base + sizeof (ctf_header_t); in write_compressed_buffer() 611 ctf_header_t h; in ctf_gen() 679 count_types(ctf_header_t *h, caddr_t data) in count_types() 750 resurrect_labels(ctf_header_t *h, tdata_t *td, caddr_t ctfdata, char *matchlbl) in resurrect_labels() 795 resurrect_objects(ctf_header_t *h, tdata_t *td, tdesc_t **tdarr, int tdsize, in resurrect_objects() [all …]
|
| /freebsd-9-stable/cddl/contrib/opensolaris/tools/ctf/dump/ |
| D | dump.c | 111 ref_to_str(uint_t name, const ctf_header_t *hp, const ctf_data_t *cd) in ref_to_str() 182 print_header(const ctf_header_t *hp, const ctf_data_t *cd) in print_header() 204 print_labeltable(const ctf_header_t *hp, const ctf_data_t *cd) in print_labeltable() 267 read_data(const ctf_header_t *hp, const ctf_data_t *cd) in read_data() 311 read_funcs(const ctf_header_t *hp, const ctf_data_t *cd) in read_funcs() 388 read_types(const ctf_header_t *hp, const ctf_data_t *cd) in read_types() 634 read_strtab(const ctf_header_t *hp, const ctf_data_t *cd) in read_strtab() 814 ctf_header_t *hp = NULL; in main() 941 cd.cd_ctfdata = (caddr_t)cd.cd_ctfdata + sizeof (ctf_header_t); in main() 943 if (cd.cd_ctflen < sizeof (ctf_header_t)) { in main() [all …]
|
| /freebsd-9-stable/sys/cddl/dev/fbt/ |
| D | fbt.c | 577 const ctf_header_t *hp = (const ctf_header_t *) lc->ctftab; in fbt_ctfoff_init() 578 const uint8_t *ctfdata = lc->ctftab + sizeof(ctf_header_t); in fbt_ctfoff_init() 677 const ctf_header_t *hp = (const ctf_header_t *) lc->ctftab; in fbt_typoff_init() 681 const uint8_t *ctfdata = lc->ctftab + sizeof(ctf_header_t); in fbt_typoff_init() 1004 tp = (const ctf_type_t *)(lc->ctftab + offset + sizeof(ctf_header_t)); in ctf_lookup_by_id() 1012 const ctf_header_t *hp = (const ctf_header_t *) lc->ctftab; in fbt_array_info() 1036 const ctf_header_t *hp = (const ctf_header_t *) lc->ctftab;; in ctf_strptr() 1042 strp = (const char *)(lc->ctftab + hp->cth_stroff + name + sizeof(ctf_header_t)); in ctf_strptr() 1296 dp = (const ushort_t *)(lc.ctftab + offset + sizeof(ctf_header_t)); in fbt_getargdesc()
|
| /freebsd-9-stable/cddl/contrib/opensolaris/common/ctf/ |
| D | ctf_labels.c | 34 const ctf_header_t *h; in extract_label_info() 42 h = (const ctf_header_t *)fp->ctf_data.cts_data; in extract_label_info()
|
| D | ctf_open.c | 110 init_symtab(ctf_file_t *fp, const ctf_header_t *hp, in init_symtab() 199 init_types(ctf_file_t *fp, const ctf_header_t *cth) in init_types() 547 ctf_header_t hp; in ctf_bufopen() 584 if (ctfsect->cts_size < sizeof (ctf_header_t)) in ctf_bufopen() 588 hdrsz = sizeof (ctf_header_t); in ctf_bufopen()
|
| D | ctf_create.c | 53 static const ctf_header_t hdr = { { CTF_MAGIC, CTF_VERSION, 0 } }; in ctf_create() 188 ctf_header_t hdr; in ctf_update() 262 size = sizeof (ctf_header_t) + hdr.cth_stroff + hdr.cth_strlen; in ctf_update() 267 bcopy(&hdr, buf, sizeof (ctf_header_t)); in ctf_update() 268 t = (uchar_t *)buf + sizeof (ctf_header_t); in ctf_update() 269 s = s0 = (uchar_t *)buf + sizeof (ctf_header_t) + hdr.cth_stroff; in ctf_update()
|
| /freebsd-9-stable/sys/cddl/contrib/opensolaris/uts/common/sys/ |
| D | ctf.h | 129 } ctf_header_t; typedef
|