Lines Matching refs:symsect
544 ctf_bufopen(const ctf_sect_t *ctfsect, const ctf_sect_t *symsect, in ctf_bufopen() argument
554 if (ctfsect == NULL || ((symsect == NULL) != (strsect == NULL))) in ctf_bufopen()
557 if (symsect != NULL && symsect->cts_entsize != sizeof (Elf32_Sym) && in ctf_bufopen()
558 symsect->cts_entsize != sizeof (Elf64_Sym)) in ctf_bufopen()
561 if (symsect != NULL && symsect->cts_data == NULL) in ctf_bufopen()
685 if (symsect != NULL) { in ctf_bufopen()
686 bcopy(symsect, &fp->ctf_symtab, sizeof (ctf_sect_t)); in ctf_bufopen()
733 if (symsect != NULL) { in ctf_bufopen()
734 fp->ctf_nsyms = symsect->cts_size / symsect->cts_entsize; in ctf_bufopen()
742 if ((err = init_symtab(fp, &hp, symsect, strsect)) != 0) { in ctf_bufopen()
774 if (symsect != NULL) { in ctf_bufopen()
775 if (symsect->cts_entsize == sizeof (Elf64_Sym)) in ctf_bufopen()
801 ctf_sect_t ctfsect, symsect, strsect; in ctf_dup() local
826 bcopy(&ofp->ctf_symtab, &symsect, sizeof (ctf_sect_t)); in ctf_dup()
827 symbuf = ctf_data_alloc(symsect.cts_size); in ctf_dup()
832 bcopy(symsect.cts_data, symbuf, symsect.cts_size); in ctf_dup()
833 ctf_data_protect(symbuf, symsect.cts_size); in ctf_dup()
834 symsect.cts_data = symbuf; in ctf_dup()
835 symsect.cts_offset = 0; in ctf_dup()
836 symp = &symsect; in ctf_dup()
870 ctf_data_free(symbuf, symsect.cts_size); in ctf_dup()