Searched refs:ehdr (Results 51 - 75 of 105) sorted by relevance

12345

/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_selftests.c66 struct ethhdr *ehdr; local
92 ehdr = skb_push(skb, ETH_HLEN + 8);
94 ehdr = skb_push(skb, ETH_HLEN + 4);
96 ehdr = skb_push(skb, ETH_HLEN - 6);
98 ehdr = skb_push(skb, ETH_HLEN);
111 eth_zero_addr(ehdr->h_source);
112 eth_zero_addr(ehdr->h_dest);
114 ether_addr_copy(ehdr->h_source, attr->src);
116 ether_addr_copy(ehdr->h_dest, attr->dst);
119 ehdr
255 struct ethhdr *ehdr; local
720 struct ethhdr *ehdr; local
842 struct ethhdr *ehdr; local
1599 struct ethhdr *ehdr; local
[all...]
/linux-master/arch/arm64/include/asm/
H A Delf.h282 static inline int arch_elf_pt_proc(void *ehdr, void *phdr, argument
289 static inline int arch_check_elf(void *ehdr, bool has_interp, argument
/linux-master/arch/arm64/kernel/
H A Dmodule-plts.c280 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, argument
293 for (i = 0; i < ehdr->e_shnum; i++) {
314 for (i = 0; i < ehdr->e_shnum; i++) {
315 Elf64_Rela *rels = (void *)ehdr + sechdrs[i].sh_offset;
/linux-master/arch/s390/include/asm/
H A Delf.h192 #define arch_check_elf(ehdr, interp, interp_ehdr, state) (0)
194 #define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \
209 #define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \
/linux-master/drivers/net/wireless/quantenna/qtnfmac/
H A Dqlink.h1270 struct qlink_event ehdr; member in struct:qlink_event_sta_assoc
1283 struct qlink_event ehdr; member in struct:qlink_event_sta_deauth
1296 struct qlink_event ehdr; member in struct:qlink_event_bss_join
1309 struct qlink_event ehdr; member in struct:qlink_event_bss_leave
1320 struct qlink_event ehdr; member in struct:qlink_event_freq_change
1337 struct qlink_event ehdr; member in struct:qlink_event_rxmgmt
1360 struct qlink_event ehdr; member in struct:qlink_event_scan_result
1391 struct qlink_event ehdr; member in struct:qlink_event_scan_complete
1411 struct qlink_event ehdr; member in struct:qlink_event_radar
1427 struct qlink_event ehdr; member in struct:qlink_event_external_auth
1443 struct qlink_event ehdr; member in struct:qlink_event_mic_failure
1456 struct qlink_event ehdr; member in struct:qlink_event_update_owe
[all...]
/linux-master/tools/lib/bpf/
H A Delf.c101 GElf_Ehdr ehdr; local
106 if (!gelf_getehdr(elf, &ehdr)) {
107 pr_warn("elf: failed to get ehdr from %s: %s\n", binary_path, elf_errmsg(-1));
283 GElf_Ehdr ehdr; local
285 if (!gelf_getehdr(elf, &ehdr)) {
286 pr_warn("elf: failed to get ehdr from %s: %s\n", binary_path, elf_errmsg(-1));
291 is_shared_lib = ehdr.e_type == ET_DYN;
H A Dusdt.c307 GElf_Ehdr ehdr; local
333 if (!gelf_getehdr(elf, &ehdr))
336 if (ehdr.e_type != ET_EXEC && ehdr.e_type != ET_DYN) {
338 path, ehdr.e_type);
349 if (endianness != ehdr.e_ident[EI_DATA]) {
588 GElf_Ehdr ehdr; local
602 if (notes_shdr.sh_type != SHT_NOTE || !gelf_getehdr(elf, &ehdr)) {
687 if (ehdr.e_type == ET_DYN && !man->has_bpf_cookie) {
729 usdt_provider, usdt_name, ehdr
[all...]
/linux-master/tools/perf/util/
H A Dunwind-libunwind-local.c175 GElf_Ehdr ehdr; local
183 if (gelf_getehdr(elf, &ehdr) == NULL)
186 if (!elf_section_by_name(elf, &ehdr, &shdr, name, NULL))
235 GElf_Ehdr ehdr; local
241 if (gelf_getehdr(elf, &ehdr) == NULL)
244 retval = (ehdr.e_type == ET_EXEC);
H A Dsymbol.h220 bool elf__needs_adjust_symbols(GElf_Ehdr ehdr);
/linux-master/arch/arm/kernel/
H A Dmodule-plts.c209 int module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, argument
214 Elf32_Shdr *s, *sechdrs_end = sechdrs + ehdr->e_shnum;
240 Elf32_Rel *rels = (void *)ehdr + s->sh_offset;
/linux-master/tools/testing/selftests/bpf/
H A Dtrace_helpers.c339 GElf_Ehdr ehdr; local
356 if (!gelf_getehdr(elf, &ehdr))
359 for (i = 0; i < ehdr.e_phnum; i++) {
/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_ringbufs.c482 struct perf_event_header *ehdr; local
505 ehdr = base + (data_tail & mmap_mask);
506 ehdr_size = ehdr->size;
508 if (ehdr->type == PERF_RECORD_SAMPLE)
/linux-master/drivers/remoteproc/
H A Dqcom_common.c279 const struct elf32_hdr *ehdr; local
283 ehdr = (struct elf32_hdr *)fw->data;
284 phdrs = (struct elf32_phdr *)(ehdr + 1);
286 for (i = 0; i < ehdr->e_phnum; i++) {
H A Dpru_rproc.c805 struct elf32_hdr *ehdr; local
810 ehdr = (struct elf32_hdr *)elf_data;
811 phdr = (struct elf32_phdr *)(elf_data + ehdr->e_phoff);
814 for (i = 0; i < ehdr->e_phnum; i++, phdr++) {
875 struct elf32_hdr *ehdr = (struct elf32_hdr *)elf_data; local
876 u16 shnum = ehdr->e_shnum;
877 u16 shstrndx = ehdr->e_shstrndx;
881 shdr = (struct elf32_shdr *)(elf_data + ehdr->e_shoff);
H A Dmtk_scp.c287 struct elf32_hdr *ehdr; local
292 ehdr = (struct elf32_hdr *)elf_data;
293 phdr = (struct elf32_phdr *)(elf_data + ehdr->e_phoff);
296 for (i = 0; i < ehdr->e_phnum; i++, phdr++) {
344 struct elf32_hdr *ehdr; local
350 ehdr = (struct elf32_hdr *)elf_data;
351 shdr = (struct elf32_shdr *)(elf_data + ehdr->e_shoff);
352 shdr_strtab = shdr + ehdr->e_shstrndx;
355 for (i = 0; i < ehdr->e_shnum; i++, shdr++) {
H A Dimx_dsp_rproc.c843 const void *ehdr, *phdr; local
850 ehdr = elf_data;
851 phnum = elf_hdr_get_e_phnum(class, ehdr);
852 phdr = elf_data + elf_hdr_get_e_phoff(class, ehdr);
H A Dqcom_q6v5_mss.c1334 struct elf32_hdr *ehdr; local
1370 ehdr = (struct elf32_hdr *)fw->data;
1371 phdrs = (struct elf32_phdr *)(ehdr + 1);
1373 for (i = 0; i < ehdr->e_phnum; i++) {
1418 for (i = 0; i < ehdr->e_phnum; i++) {
1640 const struct elf32_hdr *ehdr; local
1654 ehdr = (struct elf32_hdr *)fw->data;
1655 phdrs = (struct elf32_phdr *)(ehdr + 1);
1658 for (i = 0; i < ehdr->e_phnum; i++) {
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_fdir.c119 struct virtchnl_proto_hdr *ehdr = NULL; /* Extension Header if it exists */ local
157 if (!ehdr)
158 ehdr = &proto_hdrs->proto_hdr[proto_hdrs->count++];
159 VIRTCHNL_SET_PROTO_HDR_TYPE(ehdr, GTPU_EH);
162 if (!ehdr)
164 ehdr->buffer[IAVF_GTPU_EH_QFI_IDX] =
167 VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(ehdr, GTPU_EH, QFI);
570 struct ethhdr *ehdr = (struct ethhdr *)hdr->buffer; local
579 ehdr->h_proto = fltr->eth_data.etype;
/linux-master/arch/loongarch/include/asm/
H A Delf.h334 extern int arch_elf_pt_proc(void *ehdr, void *phdr, struct file *elf,
337 extern int arch_check_elf(void *ehdr, bool has_interpreter, void *interp_ehdr,
/linux-master/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)
150 data = data + ehdr + (idx * elen);
191 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx,
194 data = nvbios_rammapSe(bios, data, ever, ehdr, ecnt, elen, idx, ver, hdr);
146 nvbios_rammapSe(struct nvkm_bios *bios, u32 data, u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx, u8 *ver, u8 *hdr) argument
190 nvbios_rammapSp(struct nvkm_bios *bios, u32 data, u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx, u8 *ver, u8 *hdr, struct nvbios_ramcfg *p) argument
/linux-master/arch/mips/include/asm/
H A Delf.h488 extern int arch_elf_pt_proc(void *ehdr, void *phdr, struct file *elf,
491 extern int arch_check_elf(void *ehdr, bool has_interpreter, void *interp_ehdr,
/linux-master/tools/objtool/arch/loongarch/
H A Ddecode.c66 if (elf->ehdr.e_machine == EM_LOONGARCH)
69 WARN("unexpected ELF machine type %d", elf->ehdr.e_machine);
/linux-master/tools/objtool/include/objtool/
H A Delf.h84 GElf_Ehdr ehdr; member in struct:elf
159 return elf->ehdr.e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8;
/linux-master/net/ethtool/
H A Dnetlink.c449 void *ehdr; local
452 ehdr = genlmsg_put(skb, info->snd_portid, info->snd_seq,
455 if (!ehdr)
474 genlmsg_cancel(skb, ehdr);
476 genlmsg_end(skb, ehdr);
/linux-master/tools/bpf/resolve_btfids/
H A Dmain.c332 GElf_Ehdr ehdr; local
364 if (gelf_getehdr(obj->efile.elf, &ehdr) == NULL) {
369 obj->efile.encoding = ehdr.e_ident[EI_DATA];

Completed in 226 milliseconds

12345