Lines Matching defs:elf
37 elf_getident(Elf * elf, size_t * ptr)
42 if (elf != 0) {
43 ELFRLOCK(elf)
44 if (elf->ed_identsz != 0) {
45 if ((elf->ed_vm == 0) || (elf->ed_status !=
51 ELFUNLOCK(elf)
52 ELFWLOCK(elf)
53 if ((_elf_cook(elf) == OK_YES) &&
54 (_elf_vm(elf, (size_t)0,
55 elf->ed_identsz) == OK_YES)) {
56 id = elf->ed_ident;
57 sz = elf->ed_identsz;
60 id = elf->ed_ident;
61 sz = elf->ed_identsz;
64 ELFUNLOCK(elf)