Home
last modified time | relevance | path

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

/freebsd-12.1/cddl/contrib/opensolaris/tools/ctf/dump/
H A Ddump.c114 const char *s = cd->cd_ctfdata + hp->cth_stroff + offset; in ref_to_str()
122 if (hp->cth_stroff + offset >= cd->cd_ctflen) in ref_to_str()
197 (void) printf(" cth_stroff = %u\n", hp->cth_stroff); in print_header()
393 v = (void *) (cd->cd_ctfdata + hp->cth_stroff); in read_types()
405 if (hp->cth_stroff >= cd->cd_ctflen) in read_types()
407 if (hp->cth_typeoff > hp->cth_stroff) in read_types()
637 const char *s = cd->cd_ctfdata + hp->cth_stroff; in read_strtab()
642 if (hp->cth_stroff >= cd->cd_ctflen) in read_strtab()
644 if (hp->cth_stroff + hp->cth_strlen > cd->cd_ctflen) in read_strtab()
969 zstr.avail_out = hp->cth_stroff + hp->cth_strlen; in main()
[all …]
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dctf.h127 uint_t cth_stroff; /* offset of string section */ member
142 uint_t cth_stroff; member
/freebsd-12.1/cddl/contrib/opensolaris/common/ctf/
H A Dctf_open.c205 const ctf_type_t *tend = (ctf_type_t *)(fp->ctf_buf + cth->cth_stroff); in init_types()
603 hp.cth_stroff = h1p->cth_stroff; in ctf_bufopen()
610 size = hp.cth_stroff + hp.cth_strlen; in ctf_bufopen()
616 hp.cth_stroff > size) in ctf_bufopen()
622 hp.cth_typeoff > hp.cth_stroff) in ctf_bufopen()
704 fp->ctf_str[CTF_STRTAB_0].cts_strs = (const char *)buf + hp.cth_stroff; in ctf_bufopen()
H A Dctf_create.c311 hdr.cth_stroff = hdr.cth_typeoff + size; in ctf_update()
313 size = sizeof (ctf_header_t) + hdr.cth_stroff + hdr.cth_strlen; in ctf_update()
320 s = s0 = (uchar_t *)buf + sizeof (ctf_header_t) + hdr.cth_stroff; in ctf_update()
/freebsd-12.1/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctf.c734 h.cth_stroff = ctf_buf_cur(buf); in ctf_gen()
745 SWAP_32(h.cth_stroff); in ctf_gen()
782 while (dptr < data + h->cth_stroff) { in count_types()
850 caddr_t sbuf = ctfdata + h->cth_stroff; in resurrect_labels()
1008 size_t bufsz = h->cth_stroff - h->cth_typeoff; in resurrect_types()
1009 caddr_t sbuf = ctfdata + h->cth_stroff; in resurrect_types()
1284 td->td_parlabel = xstrdup(buf + h->cth_stroff + h->cth_parlabel); in ctf_parse()
1359 ctfdatasz = h->cth_stroff + h->cth_strlen; in ctf_load()
/freebsd-12.1/sys/cddl/dev/fbt/
H A Dfbt.c463 tend = (const ctf_type_t *) (ctfdata + hp->cth_stroff); in fbt_typoff_init()
813 strp = (const char *)(lc->ctftab + hp->cth_stroff + name + sizeof(ctf_header_t)); in ctf_strptr()