/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | trace.c | 290 union ib_ehdrs *eh = ehdrs; in parse_everbs_hdrs() local 307 be32_to_cpu(eh->imm_data)); in parse_everbs_hdrs() 313 get_ib_reth_vaddr(&eh->rc.reth), in parse_everbs_hdrs() 314 be32_to_cpu(eh->rc.reth.rkey), in parse_everbs_hdrs() 315 be32_to_cpu(eh->rc.reth.length), in parse_everbs_hdrs() 316 be32_to_cpu(eh->rc.imm_data)); in parse_everbs_hdrs() 325 get_ib_reth_vaddr(&eh->rc.reth), in parse_everbs_hdrs() 326 be32_to_cpu(eh->rc.reth.rkey), in parse_everbs_hdrs() 327 be32_to_cpu(eh->rc.reth.length)); in parse_everbs_hdrs() 333 trace_seq_printf(p, AETH_PRN, be32_to_cpu(eh->aeth) >> 24, in parse_everbs_hdrs() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/8390/ |
D | etherh.c | 119 static inline void etherh_set_ctrl(struct etherh_priv *eh, unsigned char mask) in etherh_set_ctrl() argument 121 unsigned char ctrl = eh->ctrl | mask; in etherh_set_ctrl() 122 eh->ctrl = ctrl; in etherh_set_ctrl() 123 writeb(ctrl, eh->ctrl_port); in etherh_set_ctrl() 126 static inline void etherh_clr_ctrl(struct etherh_priv *eh, unsigned char mask) in etherh_clr_ctrl() argument 128 unsigned char ctrl = eh->ctrl & ~mask; in etherh_clr_ctrl() 129 eh->ctrl = ctrl; in etherh_clr_ctrl() 130 writeb(ctrl, eh->ctrl_port); in etherh_clr_ctrl() 133 static inline unsigned int etherh_get_stat(struct etherh_priv *eh) in etherh_get_stat() argument 135 return readb(eh->ctrl_port); in etherh_get_stat() [all …]
|
/kernel/linux/linux-5.10/net/bluetooth/bnep/ |
D | core.c | 55 if (ether_addr_equal(dst, s->eh.h_source)) in __bnep_get_session() 349 s->eh.h_proto = get_unaligned((__be16 *) (skb->data - 2)); in bnep_rx_frame() 358 if (ntohs(s->eh.h_proto) == ETH_P_8021Q) { in bnep_rx_frame() 361 s->eh.h_proto = get_unaligned((__be16 *) (skb->data - 2)); in bnep_rx_frame() 377 __skb_put_data(nskb, &s->eh, ETH_HLEN); in bnep_rx_frame() 381 __skb_put_data(nskb, s->eh.h_dest, ETH_ALEN); in bnep_rx_frame() 383 put_unaligned(s->eh.h_proto, (__be16 *) __skb_put(nskb, 2)); in bnep_rx_frame() 388 __skb_put_data(nskb, s->eh.h_source, ETH_ALEN + 2); in bnep_rx_frame() 393 put_unaligned(s->eh.h_proto, (__be16 *) __skb_put(nskb, 2)); in bnep_rx_frame() 421 struct ethhdr *eh = (void *) skb->data; in bnep_tx_frame() local [all …]
|
D | netdev.c | 124 struct ethhdr *eh = (void *) skb->data; in bnep_net_mc_filter() local 126 if ((eh->h_dest[0] & 1) && !test_bit(bnep_mc_hash(eh->h_dest), (ulong *) &s->mc_filter)) in bnep_net_mc_filter() 136 struct ethhdr *eh = (void *) skb->data; in bnep_net_eth_proto() local 137 u16 proto = ntohs(eh->h_proto); in bnep_net_eth_proto()
|
/kernel/linux/linux-5.10/arch/mips/tools/ |
D | loongson3-llsc-check.c | 239 Elf64_Ehdr *eh; in main() local 269 eh = vmlinux; in main() 270 if (memcmp(eh->e_ident, ELFMAG, SELFMAG)) { in main() 275 if (eh->e_ident[EI_CLASS] != ELFCLASS64) { in main() 280 if (eh->e_ident[EI_DATA] != ELFDATA2LSB) { in main() 285 for (i = 0; i < le16toh(eh->e_shnum); i++) { in main() 286 sh = vmlinux + le64toh(eh->e_shoff) + (i * le16toh(eh->e_shentsize)); in main()
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
D | binfmt_loader.c | 11 struct exec *eh = (struct exec *)bprm->buf; in load_binary() local 16 if (eh->fh.f_magic != 0x183 || (eh->fh.f_flags & 0x3000) != 0x3000) in load_binary() 30 bprm->taso = eh->ah.entry < 0x100000000UL; in load_binary()
|
/kernel/linux/linux-5.10/net/ethernet/ |
D | eth.c | 414 struct ethhdr *eh, *eh2; in eth_gro_receive() local 420 hlen = off_eth + sizeof(*eh); in eth_gro_receive() 421 eh = skb_gro_header_fast(skb, off_eth); in eth_gro_receive() 423 eh = skb_gro_header_slow(skb, hlen, off_eth); in eth_gro_receive() 424 if (unlikely(!eh)) in eth_gro_receive() 435 if (compare_ether_header(eh, eh2)) { in eth_gro_receive() 441 type = eh->h_proto; in eth_gro_receive() 450 skb_gro_pull(skb, sizeof(*eh)); in eth_gro_receive() 451 skb_gro_postpull_rcsum(skb, eh, sizeof(*eh)); in eth_gro_receive() 465 struct ethhdr *eh = (struct ethhdr *)(skb->data + nhoff); in eth_gro_complete() local [all …]
|
/kernel/linux/linux-5.10/net/802/ |
D | stp.c | 33 const struct ethhdr *eh = eth_hdr(skb); in stp_pdu_rcv() local 42 if (eh->h_dest[5] >= GARP_ADDR_MIN && eh->h_dest[5] <= GARP_ADDR_MAX) { in stp_pdu_rcv() 43 proto = rcu_dereference(garp_protos[eh->h_dest[5] - in stp_pdu_rcv() 46 !ether_addr_equal(eh->h_dest, proto->group_address)) in stp_pdu_rcv()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/ |
D | prestera_hw.c | 408 struct prestera_fw_event_handler *eh; in __find_event_handler() local 410 list_for_each_entry_rcu(eh, &sw->event_handlers, list) { in __find_event_handler() 411 if (eh->type == type) in __find_event_handler() 412 return eh; in __find_event_handler() 420 struct prestera_fw_event_handler *eh) in prestera_find_event_handler() argument 428 *eh = *tmp; in prestera_find_event_handler() 440 struct prestera_fw_event_handler eh; in prestera_evt_recv() local 449 err = prestera_find_event_handler(sw, msg->type, &eh); in prestera_evt_recv() 459 eh.func(sw, &evt, eh.arg); in prestera_evt_recv() 467 struct prestera_fw_event_handler eh; in prestera_pkt_recv() local [all …]
|
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/ |
D | notify.c | 298 struct scmi_event_header *eh; member 428 outs = kfifo_out(&eq->kfifo, pd->eh, in scmi_process_event_header() 438 r_evt = SCMI_GET_REVT_FROM_PD(pd, pd->eh->evt_id); in scmi_process_event_header() 467 outs = kfifo_out(&eq->kfifo, pd->eh->payld, pd->eh->payld_sz); in scmi_process_event_payload() 474 if (outs != pd->eh->payld_sz) { in scmi_process_event_payload() 483 pd->id, pd->eh->evt_id); in scmi_process_event_payload() 487 report = REVT_FILL_REPORT(r_evt, pd->eh->evt_id, pd->eh->timestamp, in scmi_process_event_payload() 488 pd->eh->payld, pd->eh->payld_sz, in scmi_process_event_payload() 493 pd->id, pd->eh->evt_id); in scmi_process_event_payload() 498 key = MAKE_ALL_SRCS_KEY(pd->id, pd->eh->evt_id); in scmi_process_event_payload() [all …]
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | extents.c | 50 struct ext4_extent_header *eh) in ext4_extent_block_csum() argument 56 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)eh, in ext4_extent_block_csum() 57 EXT4_EXTENT_TAIL_OFFSET(eh)); in ext4_extent_block_csum() 62 struct ext4_extent_header *eh) in ext4_extent_block_csum_verify() argument 69 et = find_ext4_extent_tail(eh); in ext4_extent_block_csum_verify() 70 if (et->et_checksum != ext4_extent_block_csum(inode, eh)) in ext4_extent_block_csum_verify() 76 struct ext4_extent_header *eh) in ext4_extent_block_csum_set() argument 83 et = find_ext4_extent_tail(eh); in ext4_extent_block_csum_set() 84 et->et_checksum = ext4_extent_block_csum(inode, eh); in ext4_extent_block_csum_set() 368 struct ext4_extent_header *eh, in ext4_valid_extent_entries() argument [all …]
|
D | migrate.c | 359 struct ext4_extent_header *eh; in free_ext_idx() local 366 eh = (struct ext4_extent_header *)bh->b_data; in free_ext_idx() 367 if (eh->eh_depth != 0) { in free_ext_idx() 368 ix = EXT_FIRST_INDEX(eh); in free_ext_idx() 369 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ix++) { in free_ext_idx() 394 struct ext4_extent_header *eh = (struct ext4_extent_header *)ei->i_data; in free_ext_block() local 396 if (eh->eh_depth == 0) in free_ext_block() 401 ix = EXT_FIRST_INDEX(eh); in free_ext_block() 402 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ix++) { in free_ext_block() 599 struct ext4_extent_header *eh; in ext4_ind_migrate() local [all …]
|
D | ext4_extents.h | 101 find_ext4_extent_tail(struct ext4_extent_header *eh) in find_ext4_extent_tail() argument 103 return (struct ext4_extent_tail *)(((void *)eh) + in find_ext4_extent_tail() 104 EXT4_EXTENT_TAIL_OFFSET(eh)); in find_ext4_extent_tail()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/primitives/asm/ |
D | asm-compat.h | 20 #define PPC_LLARX(t, a, b, eh) PPC_LDARX(t, a, b, eh) argument 53 #define PPC_LLARX(t, a, b, eh) PPC_LWARX(t, a, b, eh) argument
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | xt_esp.c | 38 const struct ip_esp_hdr *eh; in esp_mt() local 46 eh = skb_header_pointer(skb, par->thoff, sizeof(_esp), &_esp); in esp_mt() 47 if (eh == NULL) { in esp_mt() 56 return spi_match(espinfo->spis[0], espinfo->spis[1], ntohl(eh->spi), in esp_mt()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | asm-compat.h | 20 #define PPC_LLARX(t, a, b, eh) PPC_LDARX(t, a, b, eh) argument 53 #define PPC_LLARX(t, a, b, eh) PPC_LWARX(t, a, b, eh) argument
|
D | ppc-opcode.h | 328 #define __PPC_EH(eh) (((eh) & 0x1) << 0) argument 330 #define __PPC_EH(eh) 0 argument 339 #define PPC_RAW_LQARX(t, a, b, eh) (0x7c000228 | ___PPC_RT(t) | ___PPC_RA(a) | ___PPC_RB(b) | __PPC… argument 340 #define PPC_RAW_LDARX(t, a, b, eh) (0x7c0000a8 | ___PPC_RT(t) | ___PPC_RA(a) | ___PPC_RB(b) | __PPC… argument 341 #define PPC_RAW_LWARX(t, a, b, eh) (0x7c000028 | ___PPC_RT(t) | ___PPC_RA(a) | ___PPC_RB(b) | __PPC… argument 522 #define PPC_LQARX(t, a, b, eh) stringify_in_c(.long PPC_RAW_LQARX(t, a, b, eh)) argument 523 #define PPC_LDARX(t, a, b, eh) stringify_in_c(.long PPC_RAW_LDARX(t, a, b, eh)) argument 524 #define PPC_LWARX(t, a, b, eh) stringify_in_c(.long PPC_RAW_LWARX(t, a, b, eh)) argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | rx.c | 70 u8 *eh, int hdr_len) in efx_rx_mk_skb() argument 86 memcpy(skb->data + efx->rx_ip_align, eh - efx->rx_prefix_size, in efx_rx_mk_skb() 211 static void efx_rx_deliver(struct efx_channel *channel, u8 *eh, in efx_rx_deliver() argument 218 skb = efx_rx_mk_skb(channel, rx_buf, n_frags, eh, hdr_len); in efx_rx_deliver() 377 u8 *eh = efx_rx_buf_va(rx_buf); in __efx_rx_packet() local 384 (eh + efx->rx_packet_len_offset)); in __efx_rx_packet() 392 efx_loopback_rx_packet(efx, eh, rx_buf->len); in __efx_rx_packet() 399 if (!efx_do_xdp(efx, channel, rx_buf, &eh)) in __efx_rx_packet() 406 efx_rx_packet_gro(channel, rx_buf, channel->rx_pkt_n_frags, eh, 0); in __efx_rx_packet() 408 efx_rx_deliver(channel, eh, rx_buf, channel->rx_pkt_n_frags); in __efx_rx_packet()
|
D | rx_common.h | 26 static inline u32 efx_rx_buf_hash(struct efx_nic *efx, const u8 *eh) in efx_rx_buf_hash() argument 29 return __le32_to_cpup((const __le32 *)(eh + efx->rx_packet_hash_offset)); in efx_rx_buf_hash() 31 const u8 *data = eh + efx->rx_packet_hash_offset; in efx_rx_buf_hash() 79 unsigned int n_frags, u8 *eh, __wsum csum);
|
D | ef100_rx.c | 60 u8 *eh = efx_rx_buf_va(rx_buf); in __ef100_rx_packet() local 64 prefix = (u32 *)(eh - ESE_GZ_RX_PKT_PREFIX_LEN); in __ef100_rx_packet() 99 efx_rx_packet_gro(channel, rx_buf, channel->rx_pkt_n_frags, eh, csum); in __ef100_rx_packet()
|
/kernel/linux/linux-5.10/net/ncsi/ |
D | ncsi-cmd.c | 323 struct ethhdr *eh; in ncsi_xmit_cmd() local 377 eh = skb_push(nr->cmd, sizeof(*eh)); in ncsi_xmit_cmd() 378 eh->h_proto = htons(ETH_P_NCSI); in ncsi_xmit_cmd() 379 eth_broadcast_addr(eh->h_dest); in ncsi_xmit_cmd() 386 memcpy(eh->h_source, nca->ndp->ndev.dev->dev_addr, ETH_ALEN); in ncsi_xmit_cmd() 388 eth_broadcast_addr(eh->h_source); in ncsi_xmit_cmd()
|
/kernel/linux/linux-5.10/Documentation/filesystems/ext4/ |
D | ifork.rst | 58 (``eh.eh_depth`` > 0), the header is followed by ``eh.eh_entries`` 61 is a leaf node (``eh.eh_depth == 0``), then the header is followed by 62 ``eh.eh_entries`` instances of ``struct ext4_extent``; these instances 80 - eh\_magic 84 - eh\_entries 88 - eh\_max 92 - eh\_depth 100 - eh\_generation
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
D | rx.c | 62 static inline u32 ef4_rx_buf_hash(struct ef4_nic *efx, const u8 *eh) in ef4_rx_buf_hash() argument 65 return __le32_to_cpup((const __le32 *)(eh + efx->rx_packet_hash_offset)); in ef4_rx_buf_hash() 67 const u8 *data = eh + efx->rx_packet_hash_offset; in ef4_rx_buf_hash() 431 unsigned int n_frags, u8 *eh) in ef4_rx_packet_gro() argument 447 skb_set_hash(skb, ef4_rx_buf_hash(efx, eh), in ef4_rx_packet_gro() 476 u8 *eh, int hdr_len) in ef4_rx_mk_skb() argument 492 memcpy(skb->data + efx->rx_ip_align, eh - efx->rx_prefix_size, in ef4_rx_mk_skb() 617 static void ef4_rx_deliver(struct ef4_channel *channel, u8 *eh, in ef4_rx_deliver() argument 624 skb = ef4_rx_mk_skb(channel, rx_buf, n_frags, eh, hdr_len); in ef4_rx_deliver() 653 u8 *eh = ef4_rx_buf_va(rx_buf); in __ef4_rx_packet() local [all …]
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ip_tunnel_core.c | 101 struct ethhdr *eh; in __iptunnel_pull_header() local 106 eh = (struct ethhdr *)skb->data; in __iptunnel_pull_header() 107 if (likely(eth_proto_is_802_3(eh->h_proto))) in __iptunnel_pull_header() 108 skb->protocol = eh->h_proto; in __iptunnel_pull_header() 200 struct ethhdr eh; in iptunnel_pmtud_build_icmp() local 206 skb_copy_bits(skb, skb_mac_offset(skb), &eh, ETH_HLEN); in iptunnel_pmtud_build_icmp() 248 eth_header(skb, skb->dev, htons(eh.h_proto), eh.h_source, eh.h_dest, 0); in iptunnel_pmtud_build_icmp() 293 struct ethhdr eh; in iptunnel_pmtud_build_icmpv6() local 300 skb_copy_bits(skb, skb_mac_offset(skb), &eh, ETH_HLEN); in iptunnel_pmtud_build_icmpv6() 341 eth_header(skb, skb->dev, htons(eh.h_proto), eh.h_source, eh.h_dest, 0); in iptunnel_pmtud_build_icmpv6()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sgi/ |
D | ioc3-eth.c | 299 struct ethhdr *eh = eth_hdr(skb); in ioc3_tcpudp_checksum() local 319 if (eh->h_proto != htons(ETH_P_IP)) in ioc3_tcpudp_checksum() 322 ih = (struct iphdr *)((char *)eh + ETH_HLEN); in ioc3_tcpudp_checksum() 338 ew = (u16 *)eh; in ioc3_tcpudp_checksum() 349 cp = (char *)eh + len; /* points at trailing CRC */ in ioc3_tcpudp_checksum() 1002 u16 *eh; in ioc3_start_xmit() local 1007 eh = (u16 *)skb->data; in ioc3_start_xmit() 1010 ehsum = eh[0] + eh[1] + eh[2] + eh[3] + eh[4] + eh[5] + eh[6]; in ioc3_start_xmit()
|