/third_party/elfutils/tests/ |
H A 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()
|
H A D | elfgetzdata.c | 55 Elf *elf = elf_begin (fd, mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in main()
|
H A 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()
|
H A D | vendorelf.c | 135 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
|
H A D | emptyfile.c | 219 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
|
H A D | elfcopy.c | 87 Elf *elfa = elf_begin (fda, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in copy_elf()
|
H A D | fillfile.c | 358 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
|
H A D | elfstrtab.c | 360 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
|
/third_party/elfutils/src/ |
H A D | ranlib.c | 154 Elf *arelf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in handle_file() 178 Elf_Cmd cmd = ELF_C_READ_MMAP; in handle_file()
|
H A D | ar.c | 394 Elf_Cmd cmd = flags == O_RDONLY ? ELF_C_READ_MMAP : ELF_C_RDWR_MMAP; in open_archive() 492 Elf_Cmd cmd = ELF_C_READ_MMAP; in do_oper_extract() 937 Elf_Cmd cmd = ELF_C_READ_MMAP; in do_oper_delete() 1146 Elf_Cmd cmd = ELF_C_READ_MMAP; in do_oper_insert() 1280 else if ((newelf = elf_begin (newfd, ELF_C_READ_MMAP, NULL)) in do_oper_insert() 1369 || (subelf = elf_begin (fd, ELF_C_READ_MMAP, elf)) == NULL in do_oper_insert()
|
H A D | findtextrel.c | 210 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in process_file() 368 && (elf2 = elf_begin (fd2, ELF_C_READ_MMAP, NULL)) != NULL) in process_file()
|
H A D | size.c | 276 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in process_file() 358 Elf_Cmd cmd = ELF_C_READ_MMAP; in handle_ar()
|
H A D | objdump.c | 245 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in process_file() 295 Elf_Cmd cmd = ELF_C_READ_MMAP; in handle_ar()
|
H A D | nm.c | 368 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in process_file() 418 Elf_Cmd cmd = ELF_C_READ_MMAP; in handle_ar()
|
H A D | stack.c | 495 core = elf_begin (core_fd, ELF_C_READ_MMAP, NULL); in parse_opt()
|
H A D | elfcmp.c | 734 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in open_file()
|
/third_party/elfutils/libdw/ |
H A D | dwarf_begin.c | 51 elfcmd = ELF_C_READ_MMAP; in dwarf_begin()
|
/third_party/elfutils/libelf/ |
H A D | elf_begin.c | 383 && cmd != ELF_C_READ_MMAP /* We need a copy to be able to write. */ in file_read_elf() 487 && cmd != ELF_C_READ_MMAP /* We need a copy to be able to write. */ in file_read_elf() 649 int use_mmap = (cmd == ELF_C_READ_MMAP || cmd == ELF_C_RDWR_MMAP in read_file() 678 map_address = mmap (NULL, maxsize, (cmd == ELF_C_READ_MMAP in read_file() 682 || cmd == ELF_C_READ_MMAP in read_file() 1063 if (unlikely (ref->cmd != ELF_C_READ && ref->cmd != ELF_C_READ_MMAP in dup_elf() 1188 case ELF_C_READ_MMAP: in elf_begin()
|
H A D | elf32_getshdr.c | 100 || elf->cmd == ELF_C_READ_MMAP in ElfW2() 109 || elf->cmd == ELF_C_READ_MMAP in ElfW2()
|
H A D | nlist.c | 86 elf = INTUSE(elf_begin) (fd, ELF_C_READ_MMAP, NULL); in nlist()
|
H A D | libelf.h | 152 ELF_C_READ_MMAP, /* Read, but mmap the file if possible. */ enumerator
|
/third_party/libbpf/src/ |
H A D | libbpf_internal.h | 97 #ifndef ELF_C_READ_MMAP 98 #define ELF_C_READ_MMAP ELF_C_READ macro
|
H A D | elf.c | 52 elf = elf_begin(fd, ELF_C_READ_MMAP, NULL); in elf_open()
|
/third_party/elfutils/libdwfl/ |
H A D | linux-pid-attach.c | 452 elf = elf_begin (elf_fd, ELF_C_READ_MMAP, NULL); in dwfl_linux_proc_attach()
|
/third_party/libabigail/src/ |
H A D | abg-elf-reader.cc | 966 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in get_type_of_elf_file()
|