Home
last modified time | relevance | path

Searched refs:cth_stroff (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/ddb/
H A Ddb_ctf.c157 uint32_t stroff = hp->cth_stroff; in db_ctf_typename_to_type()
166 hp->cth_stroff; in db_ctf_typename_to_type()
220 uint32_t stroff = hp->cth_stroff; in db_ctf_typeid_to_type()
253 uint32_t stroff = hp->cth_stroff + off; in db_ctf_stroff_to_str()
256 if (stroff >= (hp->cth_stroff + hp->cth_strlen)) { in db_ctf_stroff_to_str()
/freebsd/cddl/contrib/opensolaris/tools/ctf/dump/
H A Ddump.c115 const char *s = cd->cd_ctfdata + hp->cth_stroff + offset; in ref_to_str()
123 if (hp->cth_stroff + offset >= cd->cd_ctflen) in ref_to_str()
198 (void) printf(" cth_stroff = %u\n", hp->cth_stroff); in print_header()
415 if (hp->cth_stroff >= cd->cd_ctflen) in read_types()
417 if (hp->cth_typeoff > hp->cth_stroff) in read_types()
726 const char *s = cd->cd_ctfdata + hp->cth_stroff; in read_strtab()
731 if (hp->cth_stroff >= cd->cd_ctflen) in read_strtab()
733 if (hp->cth_stroff + hp->cth_strlen > cd->cd_ctflen) in read_strtab()
1060 zstr.avail_out = hp->cth_stroff + hp->cth_strlen; in main()
1071 if (zstr.total_out != hp->cth_stroff + hp->cth_strlen) in main()
[all …]
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctf.c727 h.cth_stroff = ctf_buf_cur(buf); in ctf_gen()
738 SWAP_32(h.cth_stroff); in ctf_gen()
810 while (dptr < data + h->cth_stroff) { in count_types()
893 caddr_t sbuf = ctfdata + h->cth_stroff; in resurrect_labels()
1061 size_t bufsz = h->cth_stroff - h->cth_typeoff; in resurrect_types()
1062 caddr_t sbuf = ctfdata + h->cth_stroff; in resurrect_types()
1393 td->td_parlabel = xstrdup(buf + h->cth_stroff + h->cth_parlabel); in ctf_parse()
1468 ctfdatasz = h->cth_stroff + h->cth_strlen; in ctf_load()
/freebsd/cddl/contrib/opensolaris/common/ctf/
H A Dctf_open.c343 const void *tend = (const void *)(fp->ctf_buf + cth->cth_stroff); in init_types()
769 size = hp.cth_stroff + hp.cth_strlen; in ctf_bufopen()
775 hp.cth_stroff > size) in ctf_bufopen()
781 hp.cth_typeoff > hp.cth_stroff) in ctf_bufopen()
864 fp->ctf_str[CTF_STRTAB_0].cts_strs = (const char *)buf + hp.cth_stroff; in ctf_bufopen()
H A Dctf_create.c370 hdr.cth_stroff = hdr.cth_typeoff + size; in ctf_update()
372 size = sizeof (ctf_header_t) + hdr.cth_stroff + hdr.cth_strlen; in ctf_update()
379 s = s0 = (uchar_t *)buf + sizeof (ctf_header_t) + hdr.cth_stroff; in ctf_update()
/freebsd/sys/sys/
H A Dctf.h50 __uint32_t cth_stroff; member
/freebsd/sys/kern/
H A Dkern_ctf.c217 sz = cth.cth_stroff + cth.cth_strlen + sizeof(cth); in link_elf_ctf_get()
/freebsd/sys/cddl/dev/fbt/
H A Dfbt.c555 tend = (const void *) (ctfdata + hp->cth_stroff); in fbt_typoff_init()
915 strp = (const char *)(lc->ctftab + hp->cth_stroff + name + sizeof(ctf_header_t)); in ctf_strptr()