/linux/tools/testing/selftests/kvm/lib/ |
H A D | elf.c | 66 TEST_ASSERT(ident[EI_VERSION] == EV_CURRENT, in elfhdr_get() 72 filename, ident[EI_VERSION], EV_CURRENT); in elfhdr_get()
|
/linux/tools/perf/util/ |
H A D | genelf_debug.c | 530 d->d_version = EV_CURRENT; in jit_add_debug_info() 564 d->d_version = EV_CURRENT; in jit_add_debug_info() 598 d->d_version = EV_CURRENT; in jit_add_debug_info()
|
H A D | symbol-minimal.c | 107 e_ident[EI_VERSION] != EV_CURRENT) in filename__read_build_id() 314 e_ident[EI_VERSION] != EV_CURRENT) in fd__is_64_bit()
|
H A D | symbol-elf.c | 2595 offset = gelf_fsize(extract.elf, ELF_T_EHDR, 1, EV_CURRENT) + in kcore_copy() 2596 gelf_fsize(extract.elf, ELF_T_PHDR, kci.phnum, EV_CURRENT); in kcore_copy() 2743 .d_buf = &buf, .d_type = ELF_T_ADDR, .d_version = EV_CURRENT, in populate_sdt_note() 2744 .d_size = gelf_fsize((*elf), ELF_T_ADDR, NR_ADDR, EV_CURRENT), in populate_sdt_note() 2749 .d_version = EV_CURRENT, .d_size = dst.d_size, .d_off = 0, in populate_sdt_note() 2988 elf_version(EV_CURRENT); in symbol__elf_init()
|
/linux/arch/powerpc/boot/ |
H A D | elf.h | 144 #define EV_CURRENT 1 macro
|
/linux/kernel/ |
H A D | kexec_elf.c | 72 } else if (ehdr->e_ident[EI_VERSION] != EV_CURRENT || in elf_is_ehdr_sane() 73 ehdr->e_version != EV_CURRENT) { in elf_is_ehdr_sane()
|
H A D | crash_core.c | 197 ehdr->e_ident[EI_VERSION] = EV_CURRENT; in crash_prepare_elf64_headers() 202 ehdr->e_version = EV_CURRENT; in crash_prepare_elf64_headers()
|
/linux/tools/objtool/ |
H A D | orc_dump.c | 32 elf_version(EV_CURRENT); in orc_dump()
|
H A D | elf.c | 1004 elf_version(EV_CURRENT); in elf_open_read()
|
/linux/drivers/remoteproc/ |
H A D | remoteproc_coredump.c | 283 elf_hdr_set_e_version(class, ehdr, EV_CURRENT); in rproc_coredump() 402 elf_hdr_set_e_version(class, ehdr, EV_CURRENT); in rproc_coredump_using_sections()
|
H A D | remoteproc_elf_helpers.h | 35 hdr->e_ident[EI_VERSION] = EV_CURRENT; in elf_hdr_init_ident()
|
/linux/arch/s390/tools/ |
H A D | relocs.c | 128 if (ehdr.e_ident[EI_VERSION] != EV_CURRENT) in read_ehdr() 153 if (ehdr.e_version != EV_CURRENT) in read_ehdr()
|
/linux/arch/powerpc/platforms/powernv/ |
H A D | opal-core.c | 362 elf->e_ident[EI_VERSION] = EV_CURRENT; in create_opalcore() 367 elf->e_version = cpu_to_be32(EV_CURRENT); in create_opalcore()
|
/linux/fs/proc/ |
H A D | kcore.c | 358 [EI_VERSION] = EV_CURRENT, in read_kcore_iter() 363 .e_version = EV_CURRENT, in read_kcore_iter()
|
H A D | vmcore.c | 1231 ehdr.e_ident[EI_VERSION] != EV_CURRENT || in parse_crash_elf64_headers() 1232 ehdr.e_version != EV_CURRENT || in parse_crash_elf64_headers() 1287 ehdr.e_ident[EI_VERSION] != EV_CURRENT || in parse_crash_elf32_headers() 1288 ehdr.e_version != EV_CURRENT || in parse_crash_elf32_headers()
|
/linux/scripts/ |
H A D | sorttable.c | 884 ehdr->e32.e_ident[EI_VERSION] != EV_CURRENT) {
|
H A D | recordmcount.c | 559 ehdr->e_ident[EI_VERSION] != EV_CURRENT) { in do_file()
|
/linux/arch/mips/boot/tools/ |
H A D | relocs.c | 220 if (ehdr.e_ident[EI_VERSION] != EV_CURRENT) in read_ehdr() 244 if (ehdr.e_version != EV_CURRENT) in read_ehdr()
|
/linux/include/uapi/linux/ |
H A D | elf.h | 361 #define EV_CURRENT 1 macro
|
/linux/tools/lib/bpf/ |
H A D | elf.c | 33 if (elf_version(EV_CURRENT) == EV_NONE) { in elf_open()
|
H A D | linker.c | 236 if (elf_version(EV_CURRENT) == EV_NONE) { in bpf_linker__new() 282 if (elf_version(EV_CURRENT) == EV_NONE) { in bpf_linker__new_fd()
|
/linux/tools/testing/selftests/bpf/ |
H A D | trace_helpers.c | 447 (void)elf_version(EV_CURRENT); in read_build_id()
|
/linux/tools/bpf/resolve_btfids/ |
H A D | main.c | 345 elf_version(EV_CURRENT); in elf_collect()
|
/linux/fs/ |
H A D | binfmt_elf_fdpic.c | 1244 elf->e_ident[EI_VERSION] = EV_CURRENT; in fill_elf_fdpic_header() 1250 elf->e_version = EV_CURRENT; in fill_elf_fdpic_header()
|
H A D | binfmt_elf.c | 1482 elf->e_ident[EI_VERSION] = EV_CURRENT; in fill_elf_header() 1487 elf->e_version = EV_CURRENT; in fill_elf_header()
|