Lines Matching refs:Elf
49 static inline Elf *
51 Elf_Cmd cmd, Elf *parent) in file_read_ar()
53 Elf *elf; in file_read_ar()
279 static Elf *
281 int64_t offset, size_t maxsize, Elf_Cmd cmd, Elf *parent) in file_read_elf()
322 Elf *elf = allocate_elf (fildes, map_address, offset, maxsize, cmd, parent, in file_read_elf()
329 assert (offsetof (struct Elf, state.elf32.scns) in file_read_elf()
330 == offsetof (struct Elf, state.elf64.scns)); in file_read_elf()
548 Elf *
551 size_t maxsize, Elf_Cmd cmd, Elf *parent) in __libelf_read_mmaped_file()
582 static Elf *
584 Elf *parent) in read_unmmaped_file()
644 static struct Elf *
646 Elf_Cmd cmd, Elf *parent) in read_file()
700 struct Elf *result = __libelf_read_mmaped_file (fildes, map_address, in read_file()
725 read_long_names (Elf *elf) in read_long_names()
848 __libelf_next_arhdr_wrlock (Elf *elf) in __libelf_next_arhdr_wrlock()
1044 static Elf *
1045 dup_elf (int fildes, Elf_Cmd cmd, Elf *ref) in dup_elf()
1047 struct Elf *result; in dup_elf()
1107 static struct Elf *
1112 Elf *result = allocate_elf (fd, NULL, 0, 0, cmd, NULL, ELF_K_ELF, in write_file()
1124 assert (offsetof (struct Elf, state.elf32.scns) in write_file()
1125 == offsetof (struct Elf, state.elf64.scns)); in write_file()
1134 static inline Elf *
1135 lock_dup_elf (int fildes, Elf_Cmd cmd, Elf *ref) in lock_dup_elf()
1148 Elf *
1149 elf_begin (int fildes, Elf_Cmd cmd, Elf *ref) in elf_begin()
1151 Elf *retval; in elf_begin()