Home | History | Annotate | Download | only in libelf

Lines Matching refs:Elf

70   /* Next try ELF files.  */
73 /* Could be an ELF file. */
89 /* Allocate an Elf descriptor and fill in the generic information. */
90 static inline Elf *
93 Elf_Cmd cmd, Elf *parent, Elf_Kind kind, size_t extra)
95 Elf *result = (Elf *) calloc (1, sizeof (Elf) + extra);
119 libelf_acquire_all (Elf *elf)
121 rwlock_wrlock (elf->lock);
123 if (elf->kind == ELF_K_AR)
125 Elf *child = elf->state.ar.children;
139 libelf_release_all (Elf *elf)
141 if (elf->kind == ELF_K_AR)
143 Elf *child = elf->state.ar.children;
153 rwlock_unlock (elf->lock);