Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/scripts/
Drecordmcount.h211 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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/remoteproc/
Dremoteproc_elf_loader.c44 struct elf32_hdr *ehdr; local
159 const void *ehdr, *phdr; local
244 const void *ehdr = elf_data; local
Dremoteproc_elf_helpers.h25 struct elf32_hdr *ehdr = (struct elf32_hdr *)fw->data; in fw_elf_get_class() local
/kernel/linux/linux-5.10/tools/perf/util/
Dsymbol-elf.c80 GElf_Ehdr *ehdr; in elf_getphdrnum() local
294 GElf_Ehdr ehdr; in dso__synthesize_plt_symbols() local
459 GElf_Ehdr ehdr; in elf_read_build_id() local
691 GElf_Ehdr ehdr; in filename__read_debuglink() local
784 bool elf__needs_adjust_symbols(GElf_Ehdr ehdr) in elf__needs_adjust_symbols()
798 GElf_Ehdr ehdr; in symsrc__init() local
1050 GElf_Ehdr ehdr; in dso__load_sym() local
1317 GElf_Ehdr ehdr; in dso__type_fd() local
1392 GElf_Ehdr ehdr; member
1397 GElf_Ehdr *ehdr; in kcore__open() local
[all …]
Dsymbol-minimal.c116 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
Dsymsrc.h22 GElf_Ehdr ehdr; member
/kernel/liteos_m/arch/arm/include/
Darch_elf.h41 #define check_arch(ehdr) ((ehdr)->e_machine == EM_ARM) argument
/kernel/linux/linux-5.10/arch/arm/kernel/
Dvdso.c113 static void * __init find_section(Elf32_Ehdr *ehdr, const char *name, in find_section()
169 static void __init patch_vdso(void *ehdr) in patch_vdso()
/kernel/linux/linux-5.10/arch/mips/kernel/
Delf.c81 } *ehdr = _ehdr; in arch_elf_pt_proc() local
140 } *ehdr = _ehdr; in arch_check_elf() local
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dkexec_file.c23 struct elfhdr ehdr; in elf_load() local
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/arch/powerpc/kexec/
Delf_64.c37 struct elfhdr ehdr; in elf64_load() local
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Delf.h284 static inline int arch_elf_pt_proc(void *ehdr, void *phdr, in arch_elf_pt_proc()
291 static inline int arch_check_elf(void *ehdr, bool has_interp, in arch_check_elf()
/kernel/linux/linux-5.10/net/tipc/
Dcrypto.c735 struct tipc_ehdr *ehdr; in tipc_aead_encrypt() local
889 struct tipc_ehdr *ehdr; in tipc_aead_decrypt() local
993 static inline int tipc_ehdr_size(struct tipc_ehdr *ehdr) in tipc_ehdr_size()
1006 struct tipc_ehdr *ehdr; in tipc_ehdr_validate() local
1039 struct tipc_ehdr *ehdr; in tipc_ehdr_build() local
1387 struct tipc_ehdr *ehdr = (struct tipc_ehdr *)skb_network_header(skb); in tipc_crypto_key_synch() local
1899 struct tipc_ehdr *ehdr; in tipc_crypto_rcv_complete() local
/kernel/linux/linux-5.10/fs/proc/
Dvmcore.c1195 Elf64_Ehdr ehdr; in parse_crash_elf64_headers() local
1251 Elf32_Ehdr ehdr; in parse_crash_elf32_headers() local
1382 Elf64_Ehdr *ehdr = (Elf64_Ehdr *)elfptr; in vmcoredd_update_program_headers() local
1402 Elf32_Ehdr *ehdr = (Elf32_Ehdr *)elfptr; in vmcoredd_update_program_headers() local
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dmodule-sections.c90 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, in module_frob_arch_sections()
/kernel/linux/linux-5.10/arch/powerpc/oprofile/cell/
Dvma_map.c112 Elf32_Ehdr ehdr; in create_vma_map() local
/kernel/linux/linux-5.10/drivers/media/platform/sti/c8sectpfe/
Dc8sectpfe-core.c958 struct elf32_hdr *ehdr; in c8sectpfe_elf_sanity_check() local
1077 Elf32_Ehdr *ehdr; in load_slim_core_fw() local
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c66 struct ethhdr *ehdr; in stmmac_test_get_udp_skb() local
255 struct ethhdr *ehdr; in stmmac_test_loopback_validate() local
720 struct ethhdr *ehdr; in stmmac_test_flowctrl_validate() local
842 struct ethhdr *ehdr; in stmmac_test_vlan_validate() local
1600 struct ethhdr *ehdr; in stmmac_test_arp_validate() local
/kernel/linux/linux-5.10/kernel/bpf/
Dstackmap.c208 Elf32_Ehdr *ehdr = (Elf32_Ehdr *)page_addr; in stack_map_get_build_id_32() local
233 Elf64_Ehdr *ehdr = (Elf64_Ehdr *)page_addr; in stack_map_get_build_id_64() local
258 Elf32_Ehdr *ehdr; in stack_map_get_build_id() local

1234