Home
last modified time | relevance | path

Searched defs:ehdr (Results 1 – 25 of 65) sorted by relevance

123

/Linux-v5.4/kernel/
Dkexec_elf.c24 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()
327 int kexec_build_elf_info(const char *buf, size_t len, struct elfhdr *ehdr, in kexec_build_elf_info()
[all …]
/Linux-v5.4/drivers/remoteproc/
Dremoteproc_elf_loader.c38 struct elf32_hdr *ehdr; local
107 struct elf32_hdr *ehdr = (struct elf32_hdr *)fw->data; local
140 struct elf32_hdr *ehdr; local
204 find_table(struct device *dev, struct elf32_hdr *ehdr, size_t fw_size)
273 struct elf32_hdr *ehdr; local
320 struct elf32_hdr *ehdr = (struct elf32_hdr *)fw->data; local
/Linux-v5.4/arch/s390/kernel/
Dkexec_elf.c20 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
/Linux-v5.4/drivers/soc/qcom/
Dmdt_loader.c44 const struct elf32_hdr *ehdr; in qcom_mdt_get_size() local
89 const struct elf32_hdr *ehdr; in qcom_mdt_read_metadata() local
136 const struct elf32_hdr *ehdr; in __qcom_mdt_load() local
/Linux-v5.4/scripts/
Drecordmcount.h177 static int append_func(Elf_Ehdr *const ehdr, in append_func()
289 Elf_Ehdr const *const ehdr, in get_sym_str_and_relp()
320 Elf_Ehdr const *const ehdr, in sift_rel_mcount()
368 Elf_Ehdr const *const ehdr, in nop_mcount()
437 Elf_Ehdr const *const ehdr) in find_secsym_ndx()
521 static int do_func(Elf_Ehdr *const ehdr, char const *const fname, in do_func()
/Linux-v5.4/tools/perf/util/
Dsymbol-elf.c78 GElf_Ehdr *ehdr; in elf_getphdrnum() local
292 GElf_Ehdr ehdr; in dso__synthesize_plt_symbols() local
457 GElf_Ehdr ehdr; in elf_read_build_id() local
616 GElf_Ehdr ehdr; in filename__read_debuglink() local
707 bool __weak elf__needs_adjust_symbols(GElf_Ehdr ehdr) in elf__needs_adjust_symbols()
715 GElf_Ehdr ehdr; in symsrc__init() local
960 GElf_Ehdr ehdr; in dso__load_sym() local
1227 GElf_Ehdr ehdr; in dso__type_fd() local
1302 GElf_Ehdr ehdr; member
1307 GElf_Ehdr *ehdr; in kcore__open() local
[all …]
Dsymbol-minimal.c114 Elf32_Ehdr ehdr; in filename__read_build_id() local
165 Elf64_Ehdr ehdr; in filename__read_build_id() local
318 Elf64_Ehdr ehdr; in dso__type_fd() local
Dsymsrc.h22 GElf_Ehdr ehdr; member
/Linux-v5.4/tools/perf/arch/arm64/util/
Dsym-handling.c12 bool elf__needs_adjust_symbols(GElf_Ehdr ehdr) in elf__needs_adjust_symbols()
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Drammap.c147 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()
/Linux-v5.4/arch/mips/kernel/
Delf.c81 } *ehdr = _ehdr; in arch_elf_pt_proc() local
140 } *ehdr = _ehdr; in arch_check_elf() local
/Linux-v5.4/arch/arm/kernel/
Dvdso.c109 static void * __init find_section(Elf32_Ehdr *ehdr, const char *name, in find_section()
165 static void __init patch_vdso(void *ehdr) in patch_vdso()
/Linux-v5.4/arch/s390/include/asm/
Delf.h168 #define arch_check_elf(ehdr, interp, interp_ehdr, state) (0) argument
170 #define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ argument
185 #define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ argument
/Linux-v5.4/arch/parisc/kernel/
Dkexec_file.c23 struct elfhdr ehdr; in elf_load() local
/Linux-v5.4/kernel/bpf/
Dstackmap.c201 Elf32_Ehdr *ehdr = (Elf32_Ehdr *)page_addr; in stack_map_get_build_id_32() local
224 Elf64_Ehdr *ehdr = (Elf64_Ehdr *)page_addr; in stack_map_get_build_id_64() local
247 Elf32_Ehdr *ehdr; in stack_map_get_build_id() local
/Linux-v5.4/arch/powerpc/kernel/
Dkexec_elf_64.c37 struct elfhdr ehdr; in elf64_load() local
Dvdso.c232 static void * __init find_section32(Elf32_Ehdr *ehdr, const char *secname, in find_section32()
337 static void * __init find_section64(Elf64_Ehdr *ehdr, const char *secname, in find_section64()
/Linux-v5.4/tools/perf/arch/powerpc/util/
Dsym-handling.c14 bool elf__needs_adjust_symbols(GElf_Ehdr ehdr) in elf__needs_adjust_symbols()
/Linux-v5.4/fs/proc/
Dvmcore.c1191 Elf64_Ehdr ehdr; in parse_crash_elf64_headers() local
1247 Elf32_Ehdr ehdr; in parse_crash_elf32_headers() local
1378 Elf64_Ehdr *ehdr = (Elf64_Ehdr *)elfptr; in vmcoredd_update_program_headers() local
1398 Elf32_Ehdr *ehdr = (Elf32_Ehdr *)elfptr; in vmcoredd_update_program_headers() local
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c64 struct ethhdr *ehdr; in stmmac_test_get_udp_skb() local
248 struct ethhdr *ehdr; in stmmac_test_loopback_validate() local
710 struct ethhdr *ehdr; in stmmac_test_flowctrl_validate() local
832 struct ethhdr *ehdr; in stmmac_test_vlan_validate() local
1541 struct ethhdr *ehdr; in stmmac_test_arp_validate() local
/Linux-v5.4/arch/riscv/kernel/
Dmodule-sections.c90 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
/Linux-v5.4/samples/bpf/
Dbpf_load.c316 static int get_sec(Elf *elf, int i, GElf_Ehdr *ehdr, char **shname, in get_sec()
512 GElf_Ehdr ehdr; in do_load_bpf_file() local
/Linux-v5.4/drivers/media/platform/sti/c8sectpfe/
Dc8sectpfe-core.c960 struct elf32_hdr *ehdr; in c8sectpfe_elf_sanity_check() local
1079 Elf32_Ehdr *ehdr; in load_slim_core_fw() local
/Linux-v5.4/arch/powerpc/oprofile/cell/
Dvma_map.c112 Elf32_Ehdr ehdr; in create_vma_map() local
/Linux-v5.4/drivers/s390/crypto/
Dzcrypt_error.h82 struct error_hdr *ehdr = reply->message; in convert_error() local

123