Home
last modified time | relevance | path

Searched refs:EV_CURRENT (Results 1 – 25 of 28) sorted by relevance

12

/linux/tools/testing/selftests/kvm/lib/
H A Delf.c66 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 Dgenelf_debug.c530 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 Dsymbol-minimal.c107 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 Dsymbol-elf.c2595 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 Delf.h144 #define EV_CURRENT 1 macro
/linux/kernel/
H A Dkexec_elf.c72 } 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 Dcrash_core.c197 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 Dorc_dump.c32 elf_version(EV_CURRENT); in orc_dump()
H A Delf.c1004 elf_version(EV_CURRENT); in elf_open_read()
/linux/drivers/remoteproc/
H A Dremoteproc_coredump.c283 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 Dremoteproc_elf_helpers.h35 hdr->e_ident[EI_VERSION] = EV_CURRENT; in elf_hdr_init_ident()
/linux/arch/s390/tools/
H A Drelocs.c128 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 Dopal-core.c362 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 Dkcore.c358 [EI_VERSION] = EV_CURRENT, in read_kcore_iter()
363 .e_version = EV_CURRENT, in read_kcore_iter()
H A Dvmcore.c1231 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 Dsorttable.c884 ehdr->e32.e_ident[EI_VERSION] != EV_CURRENT) {
H A Drecordmcount.c559 ehdr->e_ident[EI_VERSION] != EV_CURRENT) { in do_file()
/linux/arch/mips/boot/tools/
H A Drelocs.c220 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 Delf.h361 #define EV_CURRENT 1 macro
/linux/tools/lib/bpf/
H A Delf.c33 if (elf_version(EV_CURRENT) == EV_NONE) { in elf_open()
H A Dlinker.c236 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 Dtrace_helpers.c447 (void)elf_version(EV_CURRENT); in read_build_id()
/linux/tools/bpf/resolve_btfids/
H A Dmain.c345 elf_version(EV_CURRENT); in elf_collect()
/linux/fs/
H A Dbinfmt_elf_fdpic.c1244 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 Dbinfmt_elf.c1482 elf->e_ident[EI_VERSION] = EV_CURRENT; in fill_elf_header()
1487 elf->e_version = EV_CURRENT; in fill_elf_header()

12