Lines Matching refs:Elf
51 static inline Elf *
53 Elf_Cmd cmd, Elf *parent) in file_read_ar()
55 Elf *elf; in file_read_ar()
277 static Elf *
279 int64_t offset, size_t maxsize, Elf_Cmd cmd, Elf *parent) in file_read_elf()
320 Elf *elf = allocate_elf (fildes, map_address, offset, maxsize, cmd, parent, in file_read_elf()
327 assert (offsetof (struct Elf, state.elf32.scns) in file_read_elf()
328 == offsetof (struct Elf, state.elf64.scns)); in file_read_elf()
542 Elf *
545 size_t maxsize, Elf_Cmd cmd, Elf *parent) in __libelf_read_mmaped_file()
576 static Elf *
578 Elf *parent) in read_unmmaped_file()
638 static struct Elf *
640 Elf_Cmd cmd, Elf *parent) in read_file()
694 struct Elf *result = __libelf_read_mmaped_file (fildes, map_address, in read_file()
719 read_long_names (Elf *elf) in read_long_names()
837 __libelf_next_arhdr_wrlock (Elf *elf) in __libelf_next_arhdr_wrlock()
1012 static Elf *
1013 dup_elf (int fildes, Elf_Cmd cmd, Elf *ref) in dup_elf()
1015 struct Elf *result; in dup_elf()
1075 static struct Elf *
1080 Elf *result = allocate_elf (fd, NULL, 0, 0, cmd, NULL, ELF_K_ELF, in write_file()
1092 assert (offsetof (struct Elf, state.elf32.scns) in write_file()
1093 == offsetof (struct Elf, state.elf64.scns)); in write_file()
1102 static inline Elf *
1103 lock_dup_elf (int fildes, Elf_Cmd cmd, Elf *ref) in lock_dup_elf()
1116 Elf *
1117 elf_begin (int fildes, Elf_Cmd cmd, Elf *ref) in elf_begin()
1119 Elf *retval; in elf_begin()