Lines Matching refs:telf
89 Elf *telf; in delete_comment() local
175 if ((telf = elf_begin(tfd, ELF_C_WRITE, 0)) == NULL) { in delete_comment()
181 if (gelf_newehdr(telf, gelf_getclass(elf)) == NULL) { in delete_comment()
187 if (gelf_getehdr(telf, &tehdr) == NULL) { in delete_comment()
216 if ((tscn = elf_newscn(telf)) == NULL) { in delete_comment()
277 if ((_scn = elf_getscn(telf, 0)) == NULL) { in delete_comment()
293 (void) gelf_update_ehdr(telf, &tehdr); in delete_comment()
301 if (gelf_newphdr(telf, phnum) == NULL) { in delete_comment()
308 gelf_getphdr(telf, ndx, &tphdr) == NULL) { in delete_comment()
315 (void) gelf_update_phdr(telf, ndx, &tphdr); in delete_comment()
324 if (elf_update(telf, ELF_C_WRITE) == -1) { in delete_comment()
327 (void) elf_end(telf); in delete_comment()
331 (void) elf_end(telf); in delete_comment()