Searched refs:ehdr (Results 76 - 100 of 105) sorted by relevance

12345

/linux-master/tools/testing/selftests/bpf/
H A Dveristat.c375 Elf64_Ehdr *ehdr; local
393 ehdr = elf64_getehdr(elf);
395 if (!ehdr || ehdr->e_type != ET_REL || (ehdr->e_machine && ehdr->e_machine != EM_BPF))
/linux-master/net/mac80211/
H A Drx.c2522 struct ethhdr *ehdr; local
2546 ehdr = (struct ethhdr *) rx->skb->data;
2547 if (ehdr->h_proto == rx->sdata->control_port_protocol)
2591 struct ethhdr *ehdr = (struct ethhdr *) rx->skb->data; local
2598 if (unlikely(ehdr->h_proto == rx->sdata->control_port_protocol))
2599 return ieee80211_is_our_addr(rx->sdata, ehdr->h_dest, NULL) ||
2600 ether_addr_equal(ehdr->h_dest, pae_group_addr);
2625 struct ethhdr *ehdr = (void *)skb_mac_header(skb); local
2645 !ether_addr_equal(ehdr->h_dest, sdata->vif.addr)))
2646 ether_addr_copy(ehdr
2665 struct ethhdr *ehdr = (struct ethhdr *) rx->skb->data; local
[all...]
H A Dtx.c4691 struct ethhdr *ehdr = (struct ethhdr *)skb->data; local
4709 sdata->control_port_protocol == ehdr->h_proto))
6144 struct ethhdr *ehdr; local
6180 ehdr = skb_push(skb, sizeof(struct ethhdr));
6181 memcpy(ehdr->h_dest, dest, ETH_ALEN);
6187 memcpy(ehdr->h_source, sdata->vif.addr, ETH_ALEN);
6201 memcpy(ehdr->h_source, link_conf->addr, ETH_ALEN);
6205 ehdr->h_proto = proto;
6237 memcpy(ehdr->h_source, sdata->vif.addr, ETH_ALEN);
/linux-master/tools/objtool/arch/x86/
H A Ddecode.c33 switch (elf->ehdr.e_machine) {
39 WARN("unexpected ELF machine type %d", elf->ehdr.e_machine);
/linux-master/fs/proc/
H A Dkcore.c339 struct elfhdr ehdr = { local
361 if (copy_to_iter((char *)&ehdr + *fpos, tsz, iter) != tsz) {
/linux-master/arch/powerpc/kexec/
H A Dfile_load_64.c764 * @ehdr: ELF core header.
771 static void update_backup_region_phdr(struct kimage *image, Elf64_Ehdr *ehdr) argument
776 phdr = (Elf64_Phdr *)(ehdr + 1);
777 for (i = 0; i < ehdr->e_phnum; i++) {
/linux-master/drivers/net/wireless/ath/ath12k/
H A Ddp_rx.c2142 struct ethhdr *ehdr; local
2155 ehdr = (struct ethhdr *)msdu->data;
2158 if (ehdr->h_proto == cpu_to_be16(ETH_P_PAE)) {
3130 u8 *ehdr; local
3134 ehdr = skb->data + hal_rx_desc_sz + ieee80211_hdrlen(hdr->frame_control);
3136 pn = ehdr[0];
3137 pn |= (u64)ehdr[1] << 8;
3138 pn |= (u64)ehdr[4] << 16;
3139 pn |= (u64)ehdr[5] << 24;
3140 pn |= (u64)ehdr[
[all...]
/linux-master/tools/lib/bpf/
H A Dlinker.c552 Elf64_Ehdr *ehdr; local
574 ehdr = elf64_getehdr(obj->elf);
575 if (!ehdr) {
580 if (ehdr->e_ident[EI_DATA] != host_endianness) {
585 if (ehdr->e_type != ET_REL
586 || ehdr->e_machine != EM_BPF
587 || ehdr->e_ident[EI_CLASS] != ELFCLASS64) {
H A Dlibbpf.c631 Elf64_Ehdr *ehdr; member in struct:elf_state
1464 Elf64_Ehdr *ehdr; local
1510 obj->efile.ehdr = ehdr = elf64_getehdr(elf);
1511 if (!obj->efile.ehdr) {
1533 if (ehdr->e_type != ET_REL || (ehdr->e_machine && ehdr->e_machine != EM_BPF)) {
1548 if (obj->efile.ehdr->e_ident[EI_DATA] == ELFDATA2LSB)
1551 if (obj->efile.ehdr
12793 struct perf_event_header *ehdr; local
[all...]
/linux-master/drivers/message/fusion/
H A Dmptsas.c1387 cfg.cfghdr.ehdr = &hdr;
2048 cfg.cfghdr.ehdr = &hdr;
2400 cfg.cfghdr.ehdr = &hdr;
2474 cfg.cfghdr.ehdr = &hdr;
2477 cfg.cfghdr.ehdr->PageType = MPI_CONFIG_PAGETYPE_EXTENDED;
2478 cfg.cfghdr.ehdr->ExtPageType = MPI_CONFIG_EXTPAGETYPE_SAS_IO_UNIT;
2479 cfg.cfghdr.ehdr->PageVersion = MPI_SASIOUNITPAGE1_PAGEVERSION;
2480 cfg.cfghdr.ehdr->PageNumber = 1;
2536 cfg.cfghdr.ehdr = &hdr;
2601 cfg.cfghdr.ehdr
[all...]
H A Dmptbase.h894 ConfigExtendedPageHeader_t *ehdr; member in union:_x_config_parms::__anon521
/linux-master/tools/perf/util/
H A Dprobe-finder.c1128 GElf_Ehdr ehdr; local
1138 if (gelf_getehdr(elf, &ehdr) == NULL)
1141 pf->machine = ehdr.e_machine;
1147 if (elf_section_by_name(elf, &ehdr, &shdr, ".eh_frame", NULL) &&
H A Dprobe-event.c295 GElf_Ehdr ehdr; local
310 if (gelf_getehdr(elf, &ehdr) == NULL)
313 sec = elf_section_by_name(elf, &ehdr, &shdr,
331 if (ehdr.e_ident[EI_CLASS] == ELFCLASS32)
620 GElf_Ehdr ehdr; local
637 if (gelf_getehdr(elf, &ehdr) == NULL)
640 if (!elf_section_by_name(elf, &ehdr, &shdr, ".text", NULL))
/linux-master/drivers/net/wireless/ath/ath11k/
H A Ddp_rx.c2181 struct ethhdr *ehdr; local
2196 ehdr = (struct ethhdr *)msdu->data;
2199 if (ehdr->h_proto == cpu_to_be16(ETH_P_PAE)) {
3512 u8 *ehdr; local
3516 ehdr = skb->data + hal_rx_desc_sz + ieee80211_hdrlen(hdr->frame_control);
3518 pn = ehdr[0];
3519 pn |= (u64)ehdr[1] << 8;
3520 pn |= (u64)ehdr[4] << 16;
3521 pn |= (u64)ehdr[5] << 24;
3522 pn |= (u64)ehdr[
[all...]
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dhtt_rx.c1852 u8 *ehdr; local
1855 ehdr = skb->data + ieee80211_hdrlen(hdr->frame_control);
1858 pn = ehdr[0];
1859 pn |= (u64)ehdr[1] << 8;
1860 pn |= (u64)ehdr[4] << 16;
1861 pn |= (u64)ehdr[5] << 24;
1862 pn |= (u64)ehdr[6] << 32;
1863 pn |= (u64)ehdr[7] << 40;
/linux-master/tools/testing/selftests/sgx/
H A Dmain.c48 Elf64_Ehdr *ehdr = addr; local
49 Elf64_Phdr *phdrtab = addr + ehdr->e_phoff;
52 for (i = 0; i < ehdr->e_phnum; i++)
/linux-master/net/wireless/
H A Dutil.c599 int ieee80211_data_to_8023_exthdr(struct sk_buff *skb, struct ethhdr *ehdr, argument
672 if (!ehdr)
673 ehdr = skb_push(skb, sizeof(struct ethhdr));
674 memcpy(ehdr, &tmp, sizeof(tmp));
/linux-master/net/tipc/
H A Dnode.c2094 struct tipc_ehdr *ehdr; local
2100 ehdr = (struct tipc_ehdr *)skb->data;
2101 if (likely(ehdr->user != LINK_CONFIG)) {
2102 n = tipc_node_find(net, ntohl(ehdr->addr));
2106 n = tipc_node_find_by_id(net, ehdr->id);
/linux-master/fs/
H A Dbinfmt_elf.c561 * @ehdr: The main ELF header
577 static inline int arch_elf_pt_proc(struct elfhdr *ehdr, argument
588 * @ehdr: The main ELF header
601 static inline int arch_check_elf(struct elfhdr *ehdr, bool has_interp, argument
/linux-master/net/key/
H A Daf_key.c515 const struct sadb_ext *ehdr = (const struct sadb_ext *) p; local
519 if (len < sizeof(*ehdr))
522 ext_len = ehdr->sadb_ext_len;
524 ext_type = ehdr->sadb_ext_type;
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/
H A Dr535.c2151 const struct elf64_hdr *ehdr = (const struct elf64_hdr *)img; local
2152 const struct elf64_shdr *shdr = (const struct elf64_shdr *)&img[ehdr->e_shoff];
2153 const char *names = &img[shdr[ehdr->e_shstrndx].sh_offset];
2155 for (int i = 0; i < ehdr->e_shnum; i++, shdr++) {
/linux-master/tools/objtool/
H A Delf.c1030 if (!gelf_getehdr(elf->elf, &elf->ehdr)) {
/linux-master/include/linux/
H A Dphy.h620 * @ehdr: nNtlink header for cable diagnostics
747 void *ehdr; member in struct:phy_device
/linux-master/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c4241 struct ethhdr *ehdr; local
4298 ehdr = (struct ethhdr *)pmConf->filters[i].pattern;
4299 ehdr->h_proto = htons(ETH_P_ARP);
/linux-master/drivers/net/ethernet/sun/
H A Dniu.c6558 static u64 niu_compute_tx_flags(struct sk_buff *skb, struct ethhdr *ehdr, argument
6566 eth_proto = be16_to_cpu(ehdr->h_proto);
6569 struct vlan_ethhdr *vp = (struct vlan_ethhdr *) ehdr;
6632 struct ethhdr *ehdr; local
6665 ehdr = (struct ethhdr *) skb->data;
6669 tp->flags = cpu_to_le64(niu_compute_tx_flags(skb, ehdr, align, len));

Completed in 438 milliseconds

12345