/openbmc/linux/kernel/ |
H A D | kexec_elf.c | 24 static inline bool elf_is_elf_file(const struct elfhdr *ehdr) in elf_is_elf_file() 29 static uint64_t elf64_to_cpu(const struct elfhdr *ehdr, uint64_t value) in elf64_to_cpu() 39 static uint32_t elf32_to_cpu(const struct elfhdr *ehdr, uint32_t value) in elf32_to_cpu() 49 static uint16_t elf16_to_cpu(const struct elfhdr *ehdr, uint16_t value) in elf16_to_cpu() 63 static bool elf_is_ehdr_sane(const struct elfhdr *ehdr, size_t buf_len) in elf_is_ehdr_sane() 119 static int elf_read_ehdr(const char *buf, size_t len, struct elfhdr *ehdr) in elf_read_ehdr() 208 const struct elfhdr *ehdr = elf_info->ehdr; in elf_read_phdr() local 255 const struct elfhdr *ehdr = elf_info->ehdr; in elf_read_phdrs() local 297 struct elfhdr *ehdr, in elf_read_from_buffer() 367 struct elfhdr ehdr; in kexec_elf_probe() local [all …]
|
/openbmc/u-boot/cmd/ |
H A D | elf.c | 37 Elf64_Ehdr *ehdr; /* Elf header structure pointer */ in load_elf64_image_phdr() local 78 Elf64_Ehdr *ehdr; /* Elf header structure pointer */ in load_elf64_image_shdr() local 149 Elf32_Ehdr *ehdr; /* Elf header structure pointer */ in load_elf_image_phdr() local 181 Elf32_Ehdr *ehdr; /* Elf header structure pointer */ in load_elf_image_shdr() local 255 Elf32_Ehdr *ehdr; /* Elf header structure pointer */ in valid_elf_image() local
|
/openbmc/linux/arch/s390/kernel/ |
H A D | kexec_elf.c | 20 const Elf_Ehdr *ehdr; in kexec_file_add_kernel_elf() local 71 const Elf_Ehdr *ehdr; in s390_elf_load() local 112 const Elf_Ehdr *ehdr; in s390_elf_probe() local
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | mdt_loader.c | 82 const struct elf32_hdr *ehdr; in qcom_mdt_get_size() local 130 const struct elf32_hdr *ehdr; in qcom_mdt_read_metadata() local 210 const struct elf32_hdr *ehdr; in qcom_mdt_pas_init() local 270 const struct elf32_hdr *ehdr; in qcom_mdt_bins_are_split() local 302 const struct elf32_hdr *ehdr; in __qcom_mdt_load() local
|
/openbmc/linux/scripts/ |
H A D | recordmcount.h | 211 static unsigned int get_shnum(Elf_Ehdr const *ehdr, Elf_Shdr const *shdr0) in get_shnum() 219 static void set_shnum(Elf_Ehdr *ehdr, Elf_Shdr *shdr0, unsigned int new_shnum) in set_shnum() 228 static int get_shstrndx(Elf_Ehdr const *ehdr, Elf_Shdr const *shdr0) in get_shstrndx() 236 static void find_symtab(Elf_Ehdr *const ehdr, Elf_Shdr const *shdr0, in find_symtab() 258 static int append_func(Elf_Ehdr *const ehdr, in append_func() 373 Elf_Ehdr const *const ehdr, in get_sym_str_and_relp() 404 Elf_Ehdr const *const ehdr, in sift_rel_mcount() 452 Elf_Ehdr const *const ehdr, in nop_mcount() 523 Elf_Ehdr const *const ehdr) in find_secsym_ndx() 606 static int do_func(Elf_Ehdr *const ehdr, char const *const fname, in do_func()
|
/openbmc/qemu/contrib/elf2dmp/ |
H A D | qemu_elf.c | 26 Elf64_Ehdr *ehdr = map; in elf64_getphdr() local 34 Elf64_Ehdr *ehdr = map; in elf_getphdrnum() local 134 Elf64_Ehdr *ehdr = qe->map; in check_ehdr() local
|
/openbmc/linux/lib/ |
H A D | buildid.c | 78 Elf32_Ehdr *ehdr = (Elf32_Ehdr *)page_addr; in get_build_id_32() local 111 Elf64_Ehdr *ehdr = (Elf64_Ehdr *)page_addr; in get_build_id_64() local 151 Elf32_Ehdr *ehdr; in build_id_parse() local
|
/openbmc/linux/tools/perf/util/ |
H A D | symbol-elf.c | 70 GElf_Ehdr *ehdr; in elf_getphdrnum() local 229 GElf_Ehdr ehdr; in filename__has_section() local 681 GElf_Ehdr ehdr; in dso__synthesize_plt_symbols() local 859 GElf_Ehdr ehdr; in elf_read_build_id() local 1124 GElf_Ehdr ehdr; in filename__read_debuglink() local 1231 GElf_Ehdr ehdr; in symsrc__init() local 1493 GElf_Ehdr ehdr; in dso__load_sym_internal() local 1843 GElf_Ehdr ehdr; in dso__type_fd() local 1918 GElf_Ehdr ehdr; member 2659 GElf_Ehdr ehdr; in populate_sdt_note() local [all …]
|
H A D | symbol-minimal.c | 116 Elf32_Ehdr ehdr; in filename__read_build_id() local 167 Elf64_Ehdr ehdr; in filename__read_build_id() local 320 Elf64_Ehdr ehdr; in dso__type_fd() local
|
H A D | symsrc.h | 22 GElf_Ehdr ehdr; member
|
/openbmc/linux/drivers/remoteproc/ |
H A D | remoteproc_elf_loader.c | 46 struct elf32_hdr *ehdr; local 163 const void *ehdr, *phdr; local 257 const void *ehdr = elf_data; local
|
H A D | remoteproc_coredump.c | 239 void *ehdr; in rproc_coredump() local 349 void *ehdr; in rproc_coredump_using_sections() local
|
H A D | remoteproc_elf_helpers.h | 25 struct elf32_hdr *ehdr = (struct elf32_hdr *)fw->data; in fw_elf_get_class() local
|
/openbmc/linux/arch/arm/kernel/ |
H A D | vdso.c | 104 static void * __init find_section(Elf32_Ehdr *ehdr, const char *name, in find_section() 160 static void __init patch_vdso(void *ehdr) in patch_vdso()
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | elf_kexec.c | 36 static int riscv_kexec_elf_load(struct kimage *image, struct elfhdr *ehdr, in riscv_kexec_elf_load() 76 struct elfhdr *ehdr, struct kexec_elf_info *elf_info, in elf_find_pbase() 205 struct elfhdr ehdr; in elf_kexec_load() local
|
/openbmc/linux/tools/testing/selftests/sgx/ |
H A D | load.c | 142 Elf64_Ehdr *ehdr; in encl_get_entry() local 183 Elf64_Ehdr *ehdr; in encl_load() local
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | rammap.c | 147 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx, u8 *ver, u8 *hdr) in nvbios_rammapSe() 191 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx, in nvbios_rammapSp()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | elf.c | 82 } *ehdr = _ehdr; in arch_elf_pt_proc() local 141 } *ehdr = _ehdr; in arch_check_elf() local
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | kexec_file.c | 23 struct elfhdr ehdr; in elf_load() local
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | elf.h | 192 #define arch_check_elf(ehdr, interp, interp_ehdr, state) (0) argument 194 #define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ argument 209 #define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ argument
|
/openbmc/linux/arch/powerpc/kexec/ |
H A D | elf_64.c | 37 struct elfhdr ehdr; in elf64_load() local
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | elf.h | 282 static inline int arch_elf_pt_proc(void *ehdr, void *phdr, in arch_elf_pt_proc() 289 static inline int arch_check_elf(void *ehdr, bool has_interp, in arch_check_elf()
|
/openbmc/linux/net/tipc/ |
H A D | crypto.c | 742 struct tipc_ehdr *ehdr; in tipc_aead_encrypt() local 885 struct tipc_ehdr *ehdr; in tipc_aead_decrypt() local 989 static inline int tipc_ehdr_size(struct tipc_ehdr *ehdr) in tipc_ehdr_size() 1002 struct tipc_ehdr *ehdr; in tipc_ehdr_validate() local 1035 struct tipc_ehdr *ehdr; in tipc_ehdr_build() local 1383 struct tipc_ehdr *ehdr = (struct tipc_ehdr *)skb_network_header(skb); in tipc_crypto_key_synch() local 1895 struct tipc_ehdr *ehdr; in tipc_crypto_rcv_complete() local
|
/openbmc/linux/net/core/ |
H A D | selftests.c | 61 struct ethhdr *ehdr; in net_test_get_skb() local 179 struct ethhdr *ehdr; in net_test_loopback_validate() local
|
/openbmc/linux/fs/proc/ |
H A D | vmcore.c | 1214 Elf64_Ehdr ehdr; in parse_crash_elf64_headers() local 1270 Elf32_Ehdr ehdr; in parse_crash_elf32_headers() local 1401 Elf64_Ehdr *ehdr = (Elf64_Ehdr *)elfptr; in vmcoredd_update_program_headers() local 1421 Elf32_Ehdr *ehdr = (Elf32_Ehdr *)elfptr; in vmcoredd_update_program_headers() local
|