Home
last modified time | relevance | path

Searched refs:EI_DATA (Results 1 - 25 of 73) sorted by relevance

123

/kernel/linux/linux-5.10/arch/powerpc/boot/
H A Delf_util.c26 elf64->e_ident[EI_DATA] == ELFDATA2LSB && in parse_elf64()
28 elf64->e_ident[EI_DATA] == ELFDATA2MSB && in parse_elf64()
61 elf32->e_ident[EI_DATA] == ELFDATA2MSB && in parse_elf32()
H A Daddnote.c102 #define EI_DATA 5 macro
145 e_data = buf[E_IDENT+EI_DATA]; in main()
H A Delf.h122 #define EI_DATA 5 macro
139 #define ELFDATANONE 0 /* e_ident[EI_DATA] */
/kernel/linux/linux-6.6/arch/powerpc/boot/
H A Delf_util.c26 elf64->e_ident[EI_DATA] == ELFDATA2LSB && in parse_elf64()
28 elf64->e_ident[EI_DATA] == ELFDATA2MSB && in parse_elf64()
61 elf32->e_ident[EI_DATA] == ELFDATA2MSB && in parse_elf32()
H A Daddnote.c102 #define EI_DATA 5 macro
145 e_data = buf[E_IDENT+EI_DATA]; in main()
H A Delf.h122 #define EI_DATA 5 macro
139 #define ELFDATANONE 0 /* e_ident[EI_DATA] */
/kernel/linux/linux-5.10/kernel/
H A Dkexec_elf.c31 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf64_to_cpu()
33 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf64_to_cpu()
41 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf32_to_cpu()
43 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf32_to_cpu()
51 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf16_to_cpu()
53 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf16_to_cpu()
138 } else if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB && in elf_read_ehdr()
139 ehdr->e_ident[EI_DATA] != ELFDATA2MSB) { in elf_read_ehdr()
/kernel/linux/linux-6.6/kernel/
H A Dkexec_elf.c31 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf64_to_cpu()
33 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf64_to_cpu()
41 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf32_to_cpu()
43 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf32_to_cpu()
51 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf16_to_cpu()
53 else if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf16_to_cpu()
138 } else if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB && in elf_read_ehdr()
139 ehdr->e_ident[EI_DATA] != ELFDATA2MSB) { in elf_read_ehdr()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/
H A Delf.c53 && (ident[EI_DATA] == ELFDATA2LSB)) in elfhdr_get()
55 && (ident[EI_DATA] == ELFDATA2MSB)), "Current " in elfhdr_get()
62 " ident[EI_DATA]: %u\n" in elfhdr_get()
66 ident[EI_DATA], ELFDATA2LSB, ELFDATA2MSB); in elfhdr_get()
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/lib/
H A Delf.c52 && (ident[EI_DATA] == ELFDATA2LSB)) in elfhdr_get()
54 && (ident[EI_DATA] == ELFDATA2MSB)), "Current " in elfhdr_get()
61 " ident[EI_DATA]: %u\n" in elfhdr_get()
65 ident[EI_DATA], ELFDATA2LSB, ELFDATA2MSB); in elfhdr_get()
/kernel/linux/linux-5.10/arch/mips/tools/
H A Delf-entry.c65 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main()
82 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main()
/kernel/linux/linux-6.6/arch/mips/tools/
H A Delf-entry.c65 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main()
82 switch (hdr.ehdr32.e_ident[EI_DATA]) { in main()
/kernel/linux/common_modules/xpm/validator/
H A Delf_code_segment_info.c44 if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf64_get_value()
47 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf64_get_value()
55 if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf32_get_value()
58 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf32_get_value()
66 if (ehdr->e_ident[EI_DATA] == ELFDATA2MSB) in elf16_get_value()
69 if (ehdr->e_ident[EI_DATA] == ELFDATA2LSB) in elf16_get_value()
/kernel/linux/linux-5.10/arch/mips/boot/tools/
H A Drelocs.c163 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB) in elf16_to_cpu()
171 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB) in elf32_to_cpu()
179 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB) in cpu_to_elf32()
191 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB) in elf64_to_cpu()
216 if ((ehdr.e_ident[EI_DATA] != ELFDATA2LSB) && in read_ehdr()
217 (ehdr.e_ident[EI_DATA] != ELFDATA2MSB)) in read_ehdr()
/kernel/linux/linux-6.6/arch/mips/boot/tools/
H A Drelocs.c163 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB) in elf16_to_cpu()
171 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB) in elf32_to_cpu()
179 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB) in cpu_to_elf32()
191 if (ehdr.e_ident[EI_DATA] == ELFDATA2LSB) in elf64_to_cpu()
216 if ((ehdr.e_ident[EI_DATA] != ELFDATA2LSB) && in read_ehdr()
217 (ehdr.e_ident[EI_DATA] != ELFDATA2MSB)) in read_ehdr()
/kernel/linux/linux-5.10/scripts/mod/
H A Dmk_elfconfig.c31 switch (ei[EI_DATA]) { in main()
/kernel/linux/linux-6.6/tools/objtool/include/objtool/
H A Dendianness.h18 (elf->ehdr.e_ident[EI_DATA] == ELFDATA2LSB); in need_bswap()
/kernel/linux/linux-6.6/scripts/mod/
H A Dmk_elfconfig.c31 switch (ei[EI_DATA]) { in main()
/kernel/linux/linux-5.10/arch/mips/vdso/
H A Dgenvdso.c160 switch (ehdr->e_ident[EI_DATA]) { in map_vdso()
163 need_swap = ehdr->e_ident[EI_DATA] != HOST_ORDER; in map_vdso()
/kernel/linux/linux-6.6/arch/mips/vdso/
H A Dgenvdso.c160 switch (ehdr->e_ident[EI_DATA]) { in map_vdso()
163 need_swap = ehdr->e_ident[EI_DATA] != HOST_ORDER; in map_vdso()
/kernel/linux/linux-5.10/scripts/
H A Dsorttable.c335 switch (ehdr->e_ident[EI_DATA]) { in do_file()
354 ehdr->e_ident[EI_DATA], fname); in do_file()
/kernel/linux/linux-5.10/drivers/remoteproc/
H A Dremoteproc_elf_loader.c80 if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) {
82 if (ehdr->e_ident[EI_DATA] != ELFDATA2MSB) {
H A Dremoteproc_elf_helpers.h34 hdr->e_ident[EI_DATA] = ELFDATA2LSB; in elf_hdr_init_ident()
/kernel/linux/linux-6.6/drivers/remoteproc/
H A Dremoteproc_elf_loader.c82 if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) {
84 if (ehdr->e_ident[EI_DATA] != ELFDATA2MSB) {
/kernel/linux/linux-6.6/scripts/
H A Dsorttable.c274 switch (ehdr->e_ident[EI_DATA]) { in do_file()
293 ehdr->e_ident[EI_DATA], fname); in do_file()

Completed in 12 milliseconds

123