Lines Matching defs:elf
34 elf_rand(Elf * elf, size_t off)
36 if (elf == 0)
38 ELFWLOCK(elf)
39 if (elf->ed_kind != ELF_K_AR) {
41 ELFUNLOCK(elf)
44 if ((off == 0) || (elf->ed_fsz < off)) {
46 ELFUNLOCK(elf)
49 elf->ed_nextoff = off;
50 ELFUNLOCK(elf)
60 _elf_getnextoff(Elf *elf)
64 if (elf == NULL)
66 ELFWLOCK(elf)
67 if (elf->ed_kind != ELF_K_AR) {
69 ELFUNLOCK(elf)
72 off = elf->ed_nextoff;
73 ELFUNLOCK(elf)