Home | History | Annotate | Download | only in libelf

Lines Matching refs:elf

42 elf_nextscn (Elf *elf, Elf_Scn *scn)
46 if (elf == NULL)
49 rwlock_rdlock (elf->lock);
54 if (elf->class == ELFCLASS32
55 || (offsetof (Elf, state.elf32.scns)
56 == offsetof (Elf, state.elf64.scns)))
58 if (elf->state.elf32.scns.cnt > 1)
59 result = &elf->state.elf32.scns.data[1];
63 if (elf->state.elf64.scns.cnt > 1)
64 result = &elf->state.elf64.scns.data[1];
83 rwlock_unlock (elf->lock);