Home
last modified time | relevance | path

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

123

/linux/scripts/
H A Dtracepoint-update.c34 Elf_Ehdr *ehdr; member
74 #define for_each_shdr_str(len, ehdr, sec) \ argument
83 Elf_Ehdr *ehdr = etrace->ehdr; in make_trace_array() local
119 Elf_Ehdr *ehdr = etrace->ehdr; in check_tracepoints() local
156 Elf_Ehdr *ehdr = addr; in process_tracepoints() local
H A Delf-parse.c57 Elf_Ehdr *ehdr = addr; in elf_parse() local
165 Elf_Ehdr *ehdr = addr; in elf_map_machine() local
172 Elf_Ehdr *ehdr = addr; in elf_map_long_size() local
H A 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()
H A Dsorttable.c353 Elf_Ehdr *ehdr; member
360 static int fill_relocs(void *ptr, uint64_t size, Elf_Ehdr *ehdr, uint64_t start_loc) in fill_relocs()
417 static void replace_relocs(void *ptr, uint64_t size, Elf_Ehdr *ehdr, uint64_t start_loc) in replace_relocs()
489 Elf_Ehdr *ehdr = emloc->ehdr; in sort_mcount_loc() local
590 static int do_sort(Elf_Ehdr *ehdr, in do_sort()
890 Elf_Ehdr *ehdr = addr; in do_file() local
H A Delf-parse.h60 static inline uint64_t ehdr64_shoff(Elf_Ehdr *ehdr) in ehdr64_shoff()
65 static inline uint64_t ehdr32_shoff(Elf_Ehdr *ehdr) in ehdr32_shoff()
70 static inline uint64_t ehdr_shoff(Elf_Ehdr *ehdr) in ehdr_shoff()
/linux/arch/s390/kernel/
H A Dkexec_elf.c20 const Elf_Ehdr *ehdr; in kexec_file_add_kernel_elf() local
73 const Elf_Ehdr *ehdr; in s390_elf_load() local
114 const Elf_Ehdr *ehdr; in s390_elf_probe() local
/linux/arch/riscv/kernel/
H A Dkexec_elf.c24 static int riscv_kexec_elf_load(struct kimage *image, struct elfhdr *ehdr, in riscv_kexec_elf_load()
64 struct elfhdr *ehdr, struct kexec_elf_info *elf_info, in elf_find_pbase()
117 struct elfhdr ehdr; in elf_kexec_load() local
/linux/tools/perf/util/
H A Dsymbol-elf.c57 GElf_Ehdr *ehdr; in elf_getphdrnum() local
216 GElf_Ehdr ehdr; in filename__has_section() local
329 static bool addend_may_be_ifunc(GElf_Ehdr *ehdr, struct rel_info *ri) in addend_may_be_ifunc() argument
335 static bool get_ifunc_name(Elf *elf, struct dso *dso, GElf_Ehdr *ehdr, in get_ifunc_name() argument
366 get_plt_sizes(struct dso * dso,GElf_Ehdr * ehdr,GElf_Shdr * shdr_plt,u64 * plt_header_size,u64 * plt_entry_size) get_plt_sizes() argument
471 get_rela_dyn_info(Elf * elf,GElf_Ehdr * ehdr,struct rela_dyn_info * di,Elf_Scn * scn) get_rela_dyn_info() argument
566 dso__synthesize_plt_got_symbols(struct dso * dso,Elf * elf,GElf_Ehdr * ehdr,char * buf,size_t buf_sz) dso__synthesize_plt_got_symbols() argument
614 GElf_Ehdr ehdr; dso__synthesize_plt_symbols() local
787 GElf_Ehdr ehdr; elf_read_build_id() local
989 GElf_Ehdr ehdr; filename__read_debuglink() local
1057 elf__needs_adjust_symbols(GElf_Ehdr ehdr) elf__needs_adjust_symbols() argument
1071 GElf_Ehdr ehdr; read_gnu_debugdata() local
1146 GElf_Ehdr ehdr; symsrc__init() local
1271 max_text_section(Elf * elf,GElf_Ehdr * ehdr) max_text_section() argument
1480 GElf_Ehdr ehdr; dso__load_sym_internal() local
1864 GElf_Ehdr ehdr; dso__type_fd() local
1939 GElf_Ehdr ehdr; global() member
1944 GElf_Ehdr *ehdr; kcore__open() local
2010 GElf_Ehdr *ehdr = &to->ehdr; kcore__copy_hdr() local
2680 GElf_Ehdr ehdr; populate_sdt_note() local
2809 GElf_Ehdr ehdr; construct_sdt_notes_list() local
[all...]
H A Dsymsrc.h22 GElf_Ehdr ehdr; member
/linux/drivers/remoteproc/
H A Dremoteproc_elf_loader.c46 struct elf32_hdr *ehdr; local
163 const void *ehdr, *phdr; local
257 const void *ehdr = elf_data; local
H A Dremoteproc_coredump.c239 void *ehdr; in rproc_coredump() local
349 void *ehdr; in rproc_coredump_using_sections() local
H A Dremoteproc_elf_helpers.h25 struct elf32_hdr *ehdr = (struct elf32_hdr *)fw->data; in fw_elf_get_class() local
/linux/arch/loongarch/kernel/
H A Dkexec_elf.c21 struct elfhdr *ehdr, struct kexec_elf_info *elf_info, in _elf_kexec_load()
61 struct elfhdr ehdr; in elf_kexec_load() local
/linux/lib/
H A Dbuildid.c208 const Elf32_Ehdr *ehdr; in get_build_id_32() local
244 const Elf64_Ehdr *ehdr; in get_build_id_64() local
285 const Elf32_Ehdr *ehdr; in __build_id_parse() local
/linux/arch/arm/kernel/
H A Dvdso.c89 static void * __init find_section(Elf32_Ehdr *ehdr, const char *name, in find_section()
145 static void __init patch_vdso(void *ehdr) in patch_vdso()
/linux/tools/testing/selftests/sgx/
H A Dload.c142 Elf64_Ehdr *ehdr; in encl_get_entry() local
183 Elf64_Ehdr *ehdr; in encl_load() local
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A 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/arch/mips/kernel/
H A Delf.c82 } *ehdr = _ehdr; in arch_elf_pt_proc() local
141 } *ehdr = _ehdr; in arch_check_elf() local
/linux/net/core/
H A Dselftests.c26 struct ethhdr *ehdr; in net_test_get_skb() local
168 struct ethhdr *ehdr; in net_test_loopback_validate() local
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/
H A Dgh100.c198 const struct elf32_hdr *ehdr = elf; in elf_validate_sections() local
248 const struct elf32_hdr *ehdr = elf; in elf_section() local
/linux/arch/parisc/kernel/
H A Dkexec_file.c23 struct elfhdr ehdr; in elf_load() local
/linux/net/tipc/
H A Dcrypto.c742 struct tipc_ehdr *ehdr; tipc_aead_encrypt() local
894 struct tipc_ehdr *ehdr; tipc_aead_decrypt() local
998 tipc_ehdr_size(struct tipc_ehdr * ehdr) tipc_ehdr_size() argument
1011 struct tipc_ehdr *ehdr; tipc_ehdr_validate() local
1044 struct tipc_ehdr *ehdr; tipc_ehdr_build() local
1392 struct tipc_ehdr *ehdr = (struct tipc_ehdr *)skb_network_header(skb); tipc_crypto_key_synch() local
1904 struct tipc_ehdr *ehdr; tipc_crypto_rcv_complete() local
[all...]
/linux/arch/arm64/kernel/pi/
H A Drelacheck.c24 static Elf64_Ehdr *ehdr; variable
/linux/drivers/net/ethernet/stmicro/stmmac/
H A 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
1599 struct ethhdr *ehdr; in stmmac_test_arp_validate() local
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_fdir.c119 struct virtchnl_proto_hdr *ehdr = NULL; /* Extension Header if it exists */ in iavf_fill_fdir_gtpu_hdr() local
570 struct ethhdr *ehdr = (struct ethhdr *)hdr->buffer; in iavf_fill_fdir_eth_hdr() local

123