/external/elfutils/tests/ |
D | arls.c | 57 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in handle() 76 Elf_Cmd cmd = ELF_C_READ_MMAP; in handle()
|
D | test-elf_cntl_gelf_getshdr.c | 78 Elf *elf = elf_begin (fd, do_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in main()
|
D | elfgetzdata.c | 55 Elf *elf = elf_begin (fd, mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in main()
|
D | vendorelf.c | 135 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
|
D | emptyfile.c | 219 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
|
D | elfcopy.c | 87 Elf *elfa = elf_begin (fda, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in copy_elf()
|
D | elfstrtab.c | 360 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
|
D | fillfile.c | 358 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
|
/external/elfutils/src/ |
D | ranlib.c | 155 Elf *arelf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in handle_file() 179 Elf_Cmd cmd = ELF_C_READ_MMAP; in handle_file()
|
D | ar.c | 395 Elf_Cmd cmd = flags == O_RDONLY ? ELF_C_READ_MMAP : ELF_C_RDWR_MMAP; in open_archive() 494 Elf_Cmd cmd = ELF_C_READ_MMAP; in do_oper_extract() 940 Elf_Cmd cmd = ELF_C_READ_MMAP; in do_oper_delete() 1150 Elf_Cmd cmd = ELF_C_READ_MMAP; in do_oper_insert() 1284 else if ((newelf = elf_begin (newfd, ELF_C_READ_MMAP, NULL)) in do_oper_insert() 1373 || (subelf = elf_begin (fd, ELF_C_READ_MMAP, elf)) == NULL in do_oper_insert()
|
D | findtextrel.c | 209 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in process_file() 378 && (elf2 = elf_begin (fd2, ELF_C_READ_MMAP, NULL)) != NULL) in process_file()
|
D | size.c | 277 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in process_file() 359 Elf_Cmd cmd = ELF_C_READ_MMAP; in handle_ar()
|
D | objdump.c | 246 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in process_file() 296 Elf_Cmd cmd = ELF_C_READ_MMAP; in handle_ar()
|
D | nm.c | 369 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in process_file() 419 Elf_Cmd cmd = ELF_C_READ_MMAP; in handle_ar()
|
D | stack.c | 495 core = elf_begin (core_fd, ELF_C_READ_MMAP, NULL); in parse_opt()
|
D | elfcmp.c | 735 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in open_file()
|
D | elflint.c | 159 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in main() 248 Elf_Cmd cmd = ELF_C_READ_MMAP; in process_file()
|
D | readelf.c | 618 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in open_input_section() 730 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in check_archive_index() 987 Elf *armem = elf_begin (-1, ELF_C_READ_MMAP, pure_elf); in process_elf_file() 12855 || unlikely ((subelf = elf_begin (-1, ELF_C_READ_MMAP, elf)) in dump_archive_index()
|
/external/elfutils/libdw/ |
D | dwarf_begin.c | 51 elfcmd = ELF_C_READ_MMAP; in dwarf_begin()
|
/external/elfutils/libelf/ |
D | elf_begin.c | 381 && cmd != ELF_C_READ_MMAP /* We need a copy to be able to write. */ in file_read_elf() 483 && cmd != ELF_C_READ_MMAP /* We need a copy to be able to write. */ in file_read_elf() 643 int use_mmap = (cmd == ELF_C_READ_MMAP || cmd == ELF_C_RDWR_MMAP in read_file() 672 map_address = mmap (NULL, maxsize, (cmd == ELF_C_READ_MMAP in read_file() 676 || cmd == ELF_C_READ_MMAP in read_file() 1031 if (unlikely (ref->cmd != ELF_C_READ && ref->cmd != ELF_C_READ_MMAP in dup_elf() 1156 case ELF_C_READ_MMAP: in elf_begin()
|
D | elf32_getshdr.c | 102 || elf->cmd == ELF_C_READ_MMAP in ElfW2() 111 || elf->cmd == ELF_C_READ_MMAP in ElfW2()
|
D | nlist.c | 87 elf = INTUSE(elf_begin) (fd, ELF_C_READ_MMAP, NULL); in nlist()
|
D | libelf.h | 152 ELF_C_READ_MMAP, /* Read, but mmap the file if possible. */ enumerator
|
D | ChangeLog | 550 for ELF_C_READ_MMAP. 561 ELF_C_READ_MMAP. 1556 * elf_begin.c (read_file): When using ELF_C_READ_MMAP use MAP_PRIVATE.
|
/external/elfutils/libdwfl/ |
D | linux-pid-attach.c | 451 elf = elf_begin (elf_fd, ELF_C_READ_MMAP, NULL); in dwfl_linux_proc_attach()
|