Home
last modified time | relevance | path

Searched refs:strsect (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/ctf/
H A Dctf_mod.c122 ctf_sect_t ctfsect, symsect, strsect; in ctf_modopen() local
149 strsect.cts_name = ".strtab"; in ctf_modopen()
150 strsect.cts_type = SHT_STRTAB; in ctf_modopen()
151 strsect.cts_flags = 0; in ctf_modopen()
152 strsect.cts_data = mp->strings; in ctf_modopen()
153 strsect.cts_size = mp->strhdr->sh_size; in ctf_modopen()
154 strsect.cts_entsize = 1; in ctf_modopen()
155 strsect.cts_offset = 0; in ctf_modopen()
159 if ((fp = ctf_bufopen(&ctfsect, &symsect, &strsect, error)) == NULL) in ctf_modopen()
/titanic_41/usr/src/lib/libctf/common/
H A Dctf_lib.c194 ctf_sect_t ctfsect, symsect, strsect; in ctf_fdopen() local
209 bzero(&strsect, sizeof (ctf_sect_t)); in ctf_fdopen()
389 strsect.cts_name = strs + lhp->sh_name; in ctf_fdopen()
390 strsect.cts_type = lhp->sh_type; in ctf_fdopen()
391 strsect.cts_flags = lhp->sh_flags; in ctf_fdopen()
392 strsect.cts_size = lhp->sh_size; in ctf_fdopen()
393 strsect.cts_entsize = lhp->sh_entsize; in ctf_fdopen()
394 strsect.cts_offset = (off64_t)lhp->sh_offset; in ctf_fdopen()
415 strsect.cts_type != SHT_NULL) { in ctf_fdopen()
417 ctf_sect_mmap(&strsect, fd) == MAP_FAILED) { in ctf_fdopen()
[all …]
/titanic_41/usr/src/common/ctf/
H A Dctf_open.c545 const ctf_sect_t *strsect, int *errp) in ctf_bufopen() argument
554 if (ctfsect == NULL || ((symsect == NULL) != (strsect == NULL))) in ctf_bufopen()
564 if (strsect != NULL && strsect->cts_data == NULL) in ctf_bufopen()
687 bcopy(strsect, &fp->ctf_strtab, sizeof (ctf_sect_t)); in ctf_bufopen()
707 if (strsect != NULL) { in ctf_bufopen()
708 fp->ctf_str[CTF_STRTAB_1].cts_strs = strsect->cts_data; in ctf_bufopen()
709 fp->ctf_str[CTF_STRTAB_1].cts_len = strsect->cts_size; in ctf_bufopen()
742 if ((err = init_symtab(fp, &hp, symsect, strsect)) != 0) { in ctf_bufopen()
801 ctf_sect_t ctfsect, symsect, strsect; in ctf_dup() local
842 bcopy(&ofp->ctf_strtab, &strsect, sizeof (ctf_sect_t)); in ctf_dup()
[all …]