| /kernel/linux/linux-5.10/kernel/ |
| 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() 327 int kexec_build_elf_info(const char *buf, size_t len, struct elfhdr *ehdr, in kexec_build_elf_info() [all …]
|
| /kernel/linux/linux-6.6/kernel/ |
| 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() 327 int kexec_build_elf_info(const char *buf, size_t len, struct elfhdr *ehdr, in kexec_build_elf_info() [all …]
|
| /kernel/linux/linux-6.6/arch/s390/kernel/ |
| 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
|
| /kernel/linux/linux-5.10/arch/s390/kernel/ |
| 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
|
| /kernel/linux/linux-6.6/drivers/soc/qcom/ |
| 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
|
| /kernel/linux/linux-6.6/scripts/ |
| 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()
|
| /kernel/linux/linux-5.10/scripts/ |
| 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()
|
| /kernel/linux/linux-6.6/lib/ |
| D | buildid.c | 72 Elf32_Ehdr *ehdr = (Elf32_Ehdr *)page_addr; in get_build_id_32() local 97 Elf64_Ehdr *ehdr = (Elf64_Ehdr *)page_addr; in get_build_id_64() local 129 Elf32_Ehdr *ehdr; in build_id_parse() local
|
| /kernel/linux/linux-5.10/drivers/soc/qcom/ |
| D | mdt_loader.c | 44 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-6.6/tools/perf/util/ |
| D | symbol-elf.c | 70 GElf_Ehdr *ehdr; in elf_getphdrnum() local 229 GElf_Ehdr ehdr; in filename__has_section() local 396 static bool addend_may_be_ifunc(GElf_Ehdr *ehdr, struct rel_info *ri) in addend_may_be_ifunc() 402 static bool get_ifunc_name(Elf *elf, struct dso *dso, GElf_Ehdr *ehdr, in get_ifunc_name() 433 static bool get_plt_sizes(struct dso *dso, GElf_Ehdr *ehdr, GElf_Shdr *shdr_plt, in get_plt_sizes() 538 static void get_rela_dyn_info(Elf *elf, GElf_Ehdr *ehdr, struct rela_dyn_info *di, Elf_Scn *scn) in get_rela_dyn_info() 633 GElf_Ehdr *ehdr, in dso__synthesize_plt_got_symbols() 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 [all …]
|
| 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
|
| /kernel/linux/linux-6.6/drivers/remoteproc/ |
| D | remoteproc_elf_loader.c | 46 struct elf32_hdr *ehdr; local 163 const void *ehdr, *phdr; local 257 const void *ehdr = elf_data; local
|
| /kernel/linux/linux-5.10/drivers/remoteproc/ |
| D | remoteproc_elf_loader.c | 44 struct elf32_hdr *ehdr; local 159 const void *ehdr, *phdr; local 244 const void *ehdr = elf_data; local
|
| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | symbol-elf.c | 80 GElf_Ehdr *ehdr; in elf_getphdrnum() local 321 GElf_Ehdr ehdr; in dso__synthesize_plt_symbols() local 486 GElf_Ehdr ehdr; in elf_read_build_id() local 718 GElf_Ehdr ehdr; in filename__read_debuglink() local 811 bool elf__needs_adjust_symbols(GElf_Ehdr ehdr) in elf__needs_adjust_symbols() 825 GElf_Ehdr ehdr; in symsrc__init() local 1077 GElf_Ehdr ehdr; in dso__load_sym() local 1367 GElf_Ehdr ehdr; in dso__type_fd() local 1442 GElf_Ehdr ehdr; member 1447 GElf_Ehdr *ehdr; in kcore__open() local [all …]
|
| 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
|
| /kernel/linux/common_modules/xpm/validator/ |
| D | elf_code_segment_info.c | 42 static uint64_t elf64_get_value(const struct elfhdr *ehdr, uint64_t value) in elf64_get_value() 53 static uint32_t elf32_get_value(const struct elfhdr *ehdr, uint32_t value) in elf32_get_value() 64 static uint16_t elf16_get_value(const struct elfhdr *ehdr, uint16_t value) in elf16_get_value()
|
| /kernel/linux/linux-6.6/arch/arm/kernel/ |
| 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()
|
| /kernel/linux/linux-6.6/arch/riscv/kernel/ |
| 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
|
| /kernel/linux/linux-6.6/tools/testing/selftests/sgx/ |
| D | load.c | 142 Elf64_Ehdr *ehdr; in encl_get_entry() local 183 Elf64_Ehdr *ehdr; in encl_load() local
|
| /kernel/linux/linux-5.10/arch/arm/kernel/ |
| D | vdso.c | 113 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/liteos_m/arch/arm/include/ |
| D | arch_elf.h | 41 #define check_arch(ehdr) ((ehdr)->e_machine == EM_ARM) argument
|
| /kernel/linux/linux-6.6/arch/mips/kernel/ |
| D | elf.c | 82 } *ehdr = _ehdr; in arch_elf_pt_proc() local 141 } *ehdr = _ehdr; in arch_check_elf() local
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
| 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()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
| 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()
|
| /kernel/linux/linux-5.10/arch/mips/kernel/ |
| D | elf.c | 81 } *ehdr = _ehdr; in arch_elf_pt_proc() local 140 } *ehdr = _ehdr; in arch_check_elf() local
|