Lines Matching defs:elf
40 ctf_convert_ftypes(Elf *elf, ctf_convert_source_t *types)
48 while ((scn = elf_nextscn(elf, scn)) != NULL) {
60 if ((strscn = elf_getscn(elf, shdr.sh_link)) == NULL)
105 ctf_elfconvert(int fd, Elf *elf, const char *label, uint_t nthrs, uint_t flags,
116 if (elf == NULL) {
126 if (elf_kind(elf) != ELF_K_ELF) {
131 ctf_convert_ftypes(elf, &type);
145 cs = ctf_converters[i](fd, elf, nthrs, errp, &fp, errbuf,
194 Elf *elf;
200 elf = elf_begin(fd, ELF_C_READ, NULL);
201 if (elf == NULL) {
206 fp = ctf_elfconvert(fd, elf, label, nthrs, flags, errp, errbuf, errlen);
208 (void) elf_end(elf);