Lines Matching refs:elf
35 elf_cntl(Elf * elf, Elf_Cmd cmd) in elf_cntl() argument
38 if (elf == 0) in elf_cntl()
40 ELFWLOCK(elf); in elf_cntl()
46 if ((elf->ed_myflags & EDF_READ) == 0) { in elf_cntl()
48 ELFUNLOCK(elf); in elf_cntl()
51 if ((elf->ed_status != ES_FROZEN) && in elf_cntl()
52 ((_elf_cook(elf) != OK_YES) || in elf_cntl()
53 (_elf_vm(elf, (size_t)0, elf->ed_fsz) != OK_YES))) in elf_cntl()
55 elf->ed_fd = -1; in elf_cntl()
56 ELFUNLOCK(elf); in elf_cntl()
61 if ((elf->ed_myflags & EDF_READ) == 0) { in elf_cntl()
63 ELFUNLOCK(elf); in elf_cntl()
66 elf->ed_fd = -1; in elf_cntl()
67 ELFUNLOCK(elf); in elf_cntl()
74 ELFUNLOCK(elf); in elf_cntl()