Home
last modified time | relevance | path

Searched refs:eh (Results 1 – 56 of 56) sorted by relevance

/linux-4.4.14/drivers/staging/rdma/hfi1/
Dtrace.c87 union ib_ehdrs *eh = ehdrs; in parse_everbs_hdrs() local
99 be32_to_cpu(eh->imm_data)); in parse_everbs_hdrs()
106 (__be32 *)&eh->rc.reth.vaddr), in parse_everbs_hdrs()
107 be32_to_cpu(eh->rc.reth.rkey), in parse_everbs_hdrs()
108 be32_to_cpu(eh->rc.reth.length), in parse_everbs_hdrs()
109 be32_to_cpu(eh->rc.imm_data)); in parse_everbs_hdrs()
119 (__be32 *)&eh->rc.reth.vaddr), in parse_everbs_hdrs()
120 be32_to_cpu(eh->rc.reth.rkey), in parse_everbs_hdrs()
121 be32_to_cpu(eh->rc.reth.length)); in parse_everbs_hdrs()
128 be32_to_cpu(eh->aeth) >> 24, in parse_everbs_hdrs()
[all …]
/linux-4.4.14/drivers/net/ethernet/8390/
Detherh.c124 static inline void etherh_set_ctrl(struct etherh_priv *eh, unsigned char mask) in etherh_set_ctrl() argument
126 unsigned char ctrl = eh->ctrl | mask; in etherh_set_ctrl()
127 eh->ctrl = ctrl; in etherh_set_ctrl()
128 writeb(ctrl, eh->ctrl_port); in etherh_set_ctrl()
131 static inline void etherh_clr_ctrl(struct etherh_priv *eh, unsigned char mask) in etherh_clr_ctrl() argument
133 unsigned char ctrl = eh->ctrl & ~mask; in etherh_clr_ctrl()
134 eh->ctrl = ctrl; in etherh_clr_ctrl()
135 writeb(ctrl, eh->ctrl_port); in etherh_clr_ctrl()
138 static inline unsigned int etherh_get_stat(struct etherh_priv *eh) in etherh_get_stat() argument
140 return readb(eh->ctrl_port); in etherh_get_stat()
[all …]
/linux-4.4.14/net/ethernet/
Deth.c400 struct ethhdr *eh, *eh2; in eth_gro_receive() local
407 hlen = off_eth + sizeof(*eh); in eth_gro_receive()
408 eh = skb_gro_header_fast(skb, off_eth); in eth_gro_receive()
410 eh = skb_gro_header_slow(skb, hlen, off_eth); in eth_gro_receive()
411 if (unlikely(!eh)) in eth_gro_receive()
422 if (compare_ether_header(eh, eh2)) { in eth_gro_receive()
428 type = eh->h_proto; in eth_gro_receive()
437 skb_gro_pull(skb, sizeof(*eh)); in eth_gro_receive()
438 skb_gro_postpull_rcsum(skb, eh, sizeof(*eh)); in eth_gro_receive()
452 struct ethhdr *eh = (struct ethhdr *)(skb->data + nhoff); in eth_gro_complete() local
[all …]
/linux-4.4.14/net/bluetooth/bnep/
Dcore.c55 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 memcpy(__skb_put(nskb, ETH_HLEN), &s->eh, ETH_HLEN); in bnep_rx_frame()
381 memcpy(__skb_put(nskb, ETH_ALEN), 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()
389 memcpy(__skb_put(nskb, ETH_ALEN + 2), s->eh.h_source, in bnep_rx_frame()
396 put_unaligned(s->eh.h_proto, (__be16 *) __skb_put(nskb, 2)); in bnep_rx_frame()
424 struct ethhdr *eh = (void *) skb->data; in bnep_tx_frame() local
[all …]
Dnetdev.c124 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()
Dbnep.h164 struct ethhdr eh; member
/linux-4.4.14/drivers/usb/usbip/
Dusbip_event.c86 ud->eh = kthread_run(event_handler_loop, ud, "usbip_eh"); in usbip_start_eh()
87 if (IS_ERR(ud->eh)) { in usbip_start_eh()
89 return PTR_ERR(ud->eh); in usbip_start_eh()
98 if (ud->eh == current) in usbip_stop_eh()
101 kthread_stop(ud->eh); in usbip_stop_eh()
Dstub_dev.c391 kthread_stop_put(sdev->ud.eh); in stub_probe()
452 if (busid_priv->sdev->ud.eh == current) in stub_disconnect()
Dusbip_common.h270 struct task_struct *eh; member
/linux-4.4.14/arch/alpha/kernel/
Dbinfmt_loader.c10 struct exec *eh = (struct exec *)bprm->buf; in load_binary() local
15 if (eh->fh.f_magic != 0x183 || (eh->fh.f_flags & 0x3000) != 0x3000) in load_binary()
33 bprm->taso = eh->ah.entry < 0x100000000UL; in load_binary()
/linux-4.4.14/net/802/
Dstp.c36 const struct ethhdr *eh = eth_hdr(skb); in stp_pdu_rcv() local
45 if (eh->h_dest[5] >= GARP_ADDR_MIN && eh->h_dest[5] <= GARP_ADDR_MAX) { in stp_pdu_rcv()
46 proto = rcu_dereference(garp_protos[eh->h_dest[5] - in stp_pdu_rcv()
49 !ether_addr_equal(eh->h_dest, proto->group_address)) in stp_pdu_rcv()
/linux-4.4.14/fs/ext4/
Dextents.c61 struct ext4_extent_header *eh) in ext4_extent_block_csum() argument
67 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)eh, in ext4_extent_block_csum()
68 EXT4_EXTENT_TAIL_OFFSET(eh)); in ext4_extent_block_csum()
73 struct ext4_extent_header *eh) in ext4_extent_block_csum_verify() argument
80 et = find_ext4_extent_tail(eh); in ext4_extent_block_csum_verify()
81 if (et->et_checksum != ext4_extent_block_csum(inode, eh)) in ext4_extent_block_csum_verify()
87 struct ext4_extent_header *eh) in ext4_extent_block_csum_set() argument
94 et = find_ext4_extent_tail(eh); in ext4_extent_block_csum_set()
95 et->et_checksum = ext4_extent_block_csum(inode, eh); in ext4_extent_block_csum_set()
395 struct ext4_extent_header *eh, in ext4_valid_extent_entries() argument
[all …]
Dmigrate.c389 struct ext4_extent_header *eh; in free_ext_idx() local
396 eh = (struct ext4_extent_header *)bh->b_data; in free_ext_idx()
397 if (eh->eh_depth != 0) { in free_ext_idx()
398 ix = EXT_FIRST_INDEX(eh); in free_ext_idx()
399 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ix++) { in free_ext_idx()
419 struct ext4_extent_header *eh = (struct ext4_extent_header *)ei->i_data; in free_ext_block() local
421 if (eh->eh_depth == 0) in free_ext_block()
426 ix = EXT_FIRST_INDEX(eh); in free_ext_block()
427 for (i = 0; i < le16_to_cpu(eh->eh_entries); i++, ix++) { in free_ext_block()
617 struct ext4_extent_header *eh; in ext4_ind_migrate() local
[all …]
Dext4_extents.h112 find_ext4_extent_tail(struct ext4_extent_header *eh) in find_ext4_extent_tail() argument
114 return (struct ext4_extent_tail *)(((void *)eh) + in find_ext4_extent_tail()
115 EXT4_EXTENT_TAIL_OFFSET(eh)); in find_ext4_extent_tail()
/linux-4.4.14/net/netfilter/
Dxt_esp.c41 const struct ip_esp_hdr *eh; in esp_mt() local
49 eh = skb_header_pointer(skb, par->thoff, sizeof(_esp), &_esp); in esp_mt()
50 if (eh == NULL) { in esp_mt()
59 return spi_match(espinfo->spis[0], espinfo->spis[1], ntohl(eh->spi), in esp_mt()
/linux-4.4.14/tools/testing/selftests/powerpc/primitives/asm/
Dasm-compat.h31 #define PPC_LLARX(t, a, b, eh) PPC_LDARX(t, a, b, eh) argument
62 #define PPC_LLARX(t, a, b, eh) PPC_LWARX(t, a, b, eh) argument
/linux-4.4.14/arch/powerpc/include/asm/
Dasm-compat.h31 #define PPC_LLARX(t, a, b, eh) PPC_LDARX(t, a, b, eh) argument
62 #define PPC_LLARX(t, a, b, eh) PPC_LWARX(t, a, b, eh) argument
Dppc-opcode.h282 #define __PPC_EH(eh) (((eh) & 0x1) << 0) argument
284 #define __PPC_EH(eh) 0 argument
292 #define PPC_LDARX(t, a, b, eh) stringify_in_c(.long PPC_INST_LDARX | \ argument
294 ___PPC_RB(b) | __PPC_EH(eh))
295 #define PPC_LWARX(t, a, b, eh) stringify_in_c(.long PPC_INST_LWARX | \ argument
297 ___PPC_RB(b) | __PPC_EH(eh))
Dbitops.h102 #define DEFINE_TESTOP(fn, op, prefix, postfix, eh) \ argument
111 "1:" PPC_LLARX(%0,0,%3,eh) "\n" \
/linux-4.4.14/Documentation/DocBook/
Dscsi.xml.db19 API-scsi-schedule-eh
21 API-scsi-eh-prep-cmnd
22 API-scsi-eh-restore-cmnd
23 API-scsi-eh-finish-cmd
24 API-scsi-eh-get-sense
25 API-scsi-eh-ready-devs
26 API-scsi-eh-flush-done-q
99 API-fc-block-scsi-eh
110 API-iscsi-block-scsi-eh
/linux-4.4.14/drivers/net/ethernet/sfc/
Drx.c65 static inline u32 efx_rx_buf_hash(struct efx_nic *efx, const u8 *eh) in efx_rx_buf_hash() argument
68 return __le32_to_cpup((const __le32 *)(eh + efx->rx_packet_hash_offset)); in efx_rx_buf_hash()
70 const u8 *data = eh + efx->rx_packet_hash_offset; in efx_rx_buf_hash()
427 unsigned int n_frags, u8 *eh) in efx_rx_packet_gro() argument
444 skb_set_hash(skb, efx_rx_buf_hash(efx, eh), in efx_rx_packet_gro()
476 u8 *eh, int hdr_len) in efx_rx_mk_skb() argument
492 memcpy(skb->data + efx->rx_ip_align, eh - efx->rx_prefix_size, in efx_rx_mk_skb()
617 static void efx_rx_deliver(struct efx_channel *channel, u8 *eh, in efx_rx_deliver() argument
624 skb = efx_rx_mk_skb(channel, rx_buf, n_frags, eh, hdr_len); in efx_rx_deliver()
655 u8 *eh = efx_rx_buf_va(rx_buf); in __efx_rx_packet() local
[all …]
Dptp.c1731 static inline u32 efx_rx_buf_timestamp_minor(struct efx_nic *efx, const u8 *eh) in efx_rx_buf_timestamp_minor() argument
1734 return __le32_to_cpup((const __le32 *)(eh + efx->rx_packet_ts_offset)); in efx_rx_buf_timestamp_minor()
1736 const u8 *data = eh + efx->rx_packet_ts_offset; in efx_rx_buf_timestamp_minor()
/linux-4.4.14/drivers/bluetooth/
Dhci_ll.c377 struct hci_event_hdr *eh; in ll_recv() local
404 eh = hci_event_hdr(ll->rx_skb); in ll_recv()
406 BT_DBG("Event header: evt 0x%2.2x plen %d", eh->evt, eh->plen); in ll_recv()
408 ll_check_data_len(hu->hdev, ll, eh->plen); in ll_recv()
Dbtuart_cs.c241 struct hci_event_hdr *eh; in btuart_receive() local
249 eh = hci_event_hdr(info->rx_skb); in btuart_receive()
251 info->rx_count = eh->plen; in btuart_receive()
Dbt3c_cs.c291 struct hci_event_hdr *eh; in bt3c_receive() local
298 eh = hci_event_hdr(info->rx_skb); in bt3c_receive()
300 info->rx_count = eh->plen; in bt3c_receive()
Dbluecard_cs.c456 struct hci_event_hdr *eh; in bluecard_receive() local
463 eh = hci_event_hdr(info->rx_skb); in bluecard_receive()
465 info->rx_count = eh->plen; in bluecard_receive()
/linux-4.4.14/drivers/scsi/fnic/
Dfnic_fcs.c574 struct ethhdr *eh; in fnic_handle_fip_frame() local
594 eh = (struct ethhdr *)skb->data; in fnic_handle_fip_frame()
595 if (eh->h_proto == htons(ETH_P_FIP)) { in fnic_handle_fip_frame()
596 skb_pull(skb, sizeof(*eh)); in fnic_handle_fip_frame()
630 struct ethhdr *eh; in fnic_import_rq_eth_pkt() local
637 eh = (struct ethhdr *)skb->data; in fnic_import_rq_eth_pkt()
638 if (eh->h_proto == htons(ETH_P_8021Q)) { in fnic_import_rq_eth_pkt()
639 memmove((u8 *)eh + VLAN_HLEN, eh, ETH_ALEN * 2); in fnic_import_rq_eth_pkt()
640 eh = (struct ethhdr *)skb_pull(skb, VLAN_HLEN); in fnic_import_rq_eth_pkt()
643 if (eh->h_proto == htons(ETH_P_FIP)) { in fnic_import_rq_eth_pkt()
[all …]
/linux-4.4.14/net/ipv4/netfilter/
Dnf_log_ipv4.c226 const struct ip_esp_hdr *eh; in dump_ipv4_packet() local
235 eh = skb_header_pointer(skb, iphoff+ih->ihl*4, in dump_ipv4_packet()
237 if (eh == NULL) { in dump_ipv4_packet()
244 nf_log_buf_add(m, "SPI=0x%x ", ntohl(eh->spi)); in dump_ipv4_packet()
/linux-4.4.14/net/ipv6/netfilter/
Dnf_log_ipv6.c166 const struct ip_esp_hdr *eh; in dump_ipv6_packet() local
179 eh = skb_header_pointer(skb, ptr, sizeof(_esph), in dump_ipv6_packet()
181 if (eh == NULL) { in dump_ipv6_packet()
189 ntohl(eh->spi)); in dump_ipv6_packet()
/linux-4.4.14/drivers/net/ethernet/sgi/
Dioc3-eth.c509 struct ethhdr *eh = eth_hdr(skb); in ioc3_tcpudp_checksum() local
530 if (eh->h_proto != htons(ETH_P_IP)) in ioc3_tcpudp_checksum()
533 ih = (struct iphdr *) ((char *)eh + ETH_HLEN); in ioc3_tcpudp_checksum()
549 ew = (uint16_t *) eh; in ioc3_tcpudp_checksum()
559 cp = (char *)eh + len; /* points at trailing CRC */ in ioc3_tcpudp_checksum()
1423 uint16_t *eh; in ioc3_start_xmit() local
1427 eh = (uint16_t *) skb->data; in ioc3_start_xmit()
1430 ehsum = eh[0] + eh[1] + eh[2] + eh[3] + eh[4] + eh[5] + eh[6]; in ioc3_start_xmit()
/linux-4.4.14/drivers/parisc/
Deisa_enumerator.c489 struct eeprom_header *eh; in eisa_enumerator() local
498 eh = (struct eeprom_header*)(eeprom_buf); in eisa_enumerator()
499 for (i=0;i<eh->num_slots;i++) { in eisa_enumerator()
519 return eh->num_slots; in eisa_enumerator()
/linux-4.4.14/net/ipv4/
Dip_tunnel_core.c97 struct ethhdr *eh; in iptunnel_pull_header() local
102 eh = (struct ethhdr *)skb->data; in iptunnel_pull_header()
103 if (likely(eth_proto_is_802_3(eh->h_proto))) in iptunnel_pull_header()
104 skb->protocol = eh->h_proto; in iptunnel_pull_header()
/linux-4.4.14/drivers/scsi/fcoe/
Dfcoe.c1437 struct ethhdr *eh; in fcoe_rcv() local
1462 eh = eth_hdr(skb); in fcoe_rcv()
1465 !ether_addr_equal(eh->h_source, ctlr->dest_addr)) { in fcoe_rcv()
1467 eh->h_source); in fcoe_rcv()
1482 if (ntoh24(&eh->h_dest[3]) != ntoh24(fh->fh_d_id)) { in fcoe_rcv()
1484 eh->h_dest); in fcoe_rcv()
1589 struct ethhdr *eh; in fcoe_xmit() local
1678 eh = eth_hdr(skb); in fcoe_xmit()
1679 eh->h_proto = htons(ETH_P_FCOE); in fcoe_xmit()
1680 memcpy(eh->h_dest, ctlr->dest_addr, ETH_ALEN); in fcoe_xmit()
[all …]
Dfcoe_ctlr.c1513 struct ethhdr *eh; in fcoe_ctlr_recv_handler() local
1522 eh = eth_hdr(skb); in fcoe_ctlr_recv_handler()
1524 if (!ether_addr_equal(eh->h_dest, fip->ctl_src_addr) && in fcoe_ctlr_recv_handler()
1525 !ether_addr_equal(eh->h_dest, fcoe_all_vn2vn) && in fcoe_ctlr_recv_handler()
1526 !ether_addr_equal(eh->h_dest, fcoe_all_p2p)) in fcoe_ctlr_recv_handler()
1528 } else if (!ether_addr_equal(eh->h_dest, fip->ctl_src_addr) && in fcoe_ctlr_recv_handler()
1529 !ether_addr_equal(eh->h_dest, fcoe_all_enode)) in fcoe_ctlr_recv_handler()
/linux-4.4.14/tools/perf/util/
Dparse-events.c1075 int eh; member
1091 int eh = evsel ? evsel->attr.exclude_hv : 0; in get_event_modifier() local
1100 int exclude = eu | ek | eh; in get_event_modifier()
1108 exclude = eu = ek = eh = 1; in get_event_modifier()
1112 exclude = eu = ek = eh = 1; in get_event_modifier()
1116 exclude = eu = ek = eh = 1; in get_event_modifier()
1117 eh = 0; in get_event_modifier()
1160 mod->eh = eh; in get_event_modifier()
1214 evsel->attr.exclude_hv = mod.eh; in parse_events__modifier_event()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dcore.c214 struct ethhdr *eh = (struct ethhdr *)(skb->data); in brcmf_netdev_start_xmit() local
254 if (skb->len < sizeof(*eh)) { in brcmf_netdev_start_xmit()
260 if (eh->h_proto == htons(ETH_P_PAE)) in brcmf_netdev_start_xmit()
565 struct ethhdr *eh; in brcmf_txfinalize() local
568 eh = (struct ethhdr *)(txp->data); in brcmf_txfinalize()
569 type = ntohs(eh->h_proto); in brcmf_txfinalize()
Dmsgbuf.c652 struct ethhdr *eh = (struct ethhdr *)(skb->data); in brcmf_msgbuf_flowring_create() local
660 flowid = brcmf_flowring_create(msgbuf->flow, eh->h_dest, in brcmf_msgbuf_flowring_create()
669 memcpy(create->sa, eh->h_source, ETH_ALEN); in brcmf_msgbuf_flowring_create()
670 memcpy(create->da, eh->h_dest, ETH_ALEN); in brcmf_msgbuf_flowring_create()
787 struct ethhdr *eh = (struct ethhdr *)(skb->data); in brcmf_msgbuf_txdata() local
792 flowid = brcmf_flowring_lookup(flow, eh->h_dest, skb->priority, ifidx); in brcmf_msgbuf_txdata()
Dfwsignal.c1890 struct ethhdr *eh = (struct ethhdr *)(skb->data); in brcmf_fws_process_skb() local
1892 bool multicast = is_multicast_ether_addr(eh->h_dest); in brcmf_fws_process_skb()
1895 brcmf_dbg(DATA, "tx proto=0x%X\n", ntohs(eh->h_proto)); in brcmf_fws_process_skb()
1921 skcb->mac = brcmf_fws_macdesc_find(fws, ifp, eh->h_dest); in brcmf_fws_process_skb()
1923 eh->h_dest, multicast, fifo); in brcmf_fws_process_skb()
/linux-4.4.14/drivers/scsi/
Dsr.c199 struct event_header *eh = (void *)buf; in sr_get_events() local
209 if (result || be16_to_cpu(eh->data_len) < sizeof(*med)) in sr_get_events()
212 if (eh->nea || eh->notification_class != 0x4) in sr_get_events()
/linux-4.4.14/arch/ia64/kernel/
Dunaligned.c1299 const struct exception_table_entry *eh = NULL; in ia64_handle_unaligned() local
1319 eh = search_exception_tables(regs->cr_iip + ia64_psr(regs)->ri); in ia64_handle_unaligned()
1320 if (user_mode(regs) || eh) { in ia64_handle_unaligned()
1524 if (eh) { in ia64_handle_unaligned()
1525 ia64_handle_exception(regs, eh); in ia64_handle_unaligned()
/linux-4.4.14/drivers/net/wireless/orinoco/
Dmain.c374 struct ethhdr *eh; in orinoco_process_xmit_skb() local
386 eh = (struct ethhdr *)skb->data; in orinoco_process_xmit_skb()
389 if (ntohs(eh->h_proto) > ETH_DATA_LEN) { /* Ethernet-II frame */ in orinoco_process_xmit_skb()
405 memcpy(&hdr.eth, eh, 2 * ETH_ALEN); in orinoco_process_xmit_skb()
410 eh = (struct ethhdr *) skb_push(skb, ENCAPS_OVERHEAD); in orinoco_process_xmit_skb()
411 memcpy(eh, &hdr, sizeof(hdr)); in orinoco_process_xmit_skb()
427 eh->h_dest, eh->h_source, 0 /* priority */, in orinoco_process_xmit_skb()
/linux-4.4.14/Documentation/scsi/
DChangeLog.sym53c8xx_2116 - Complete rewrite of the eh handling. The driver is now using a
117 semaphore in order to behave synchronously as required by the eh
Dscsi_mid_low_api.txt847 * will then be queued on current host during eh.
867 * queued on current host during eh.
885 * queued on current host during eh.
903 * queued on current host during eh.
905 * _device_reset_, _bus_reset_ or this eh handler function are
907 * will be set offline whenever eh is invoked.
DChangeLog.lpfc569 * Have lpfc eh handlers, bus_reset and lun_reset, wait for all
1065 eh routines in a single file (lpfc_scsiport.c).
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c245 struct ethhdr *eh; in bnx2fc_xmit() local
352 eh = eth_hdr(skb); in bnx2fc_xmit()
353 eh->h_proto = htons(ETH_P_FCOE); in bnx2fc_xmit()
355 fc_fcoe_set_mac(eh->h_dest, fh->fh_d_id); in bnx2fc_xmit()
358 memcpy(eh->h_dest, ctlr->dest_addr, ETH_ALEN); in bnx2fc_xmit()
361 memcpy(eh->h_source, ctlr->ctl_src_addr, ETH_ALEN); in bnx2fc_xmit()
363 memcpy(eh->h_source, port->data_src_addr, ETH_ALEN); in bnx2fc_xmit()
365 hp = (struct fcoe_hdr *)(eh + 1); in bnx2fc_xmit()
/linux-4.4.14/drivers/ide/
DMakefile9 ide-io-std.o ide-eh.o
/linux-4.4.14/drivers/ata/
DMakefile116 libata-y := libata-core.o libata-scsi.o libata-eh.o \
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_main.c1023 struct ethhdr *eh = (struct ethhdr *)skb->data; in be_ipv6_exthdr_check() local
1026 if (eh->h_proto == htons(ETH_P_IPV6)) { in be_ipv6_exthdr_check()
1177 #define is_mc_allowed_on_bmc(adapter, eh) \ argument
1179 is_multicast_ether_addr(eh->h_dest) && \
1180 !is_broadcast_ether_addr(eh->h_dest))
1182 #define is_bc_allowed_on_bmc(adapter, eh) \ argument
1184 is_broadcast_ether_addr(eh->h_dest))
1189 #define is_broadcast_packet(eh, adapter) \ argument
1190 (is_multicast_ether_addr(eh->h_dest) && \
1191 !compare_ether_addr(eh->h_dest, adapter->netdev->broadcast))
[all …]
/linux-4.4.14/arch/powerpc/perf/
Dcore-book3s.c943 int eu = 0, ek = 0, eh = 0; in check_excludes() local
969 eh = event->attr.exclude_hv; in check_excludes()
973 event->attr.exclude_hv != eh) { in check_excludes()
978 if (eu || ek || eh) in check_excludes()
/linux-4.4.14/drivers/md/
Ddm-snap.c704 static void dm_insert_exception(struct dm_exception_table *eh, in dm_insert_exception() argument
710 l = &eh->table[exception_hash(eh, new_e->old_chunk)]; in dm_insert_exception()
713 if (!eh->hash_shift) in dm_insert_exception()
/linux-4.4.14/arch/sparc/kernel/
Dperf_event.c1301 int eu = 0, ek = 0, eh = 0; in check_excludes() local
1318 eh = event->attr.exclude_hv; in check_excludes()
1322 event->attr.exclude_hv != eh) { in check_excludes()
/linux-4.4.14/drivers/net/
Dtun.c758 struct ethhdr *eh = (struct ethhdr *) skb->data; in run_filter() local
763 if (ether_addr_equal(eh->h_dest, filter->addr[i])) in run_filter()
767 if (is_multicast_ether_addr(eh->h_dest)) in run_filter()
768 return addr_hash_test(filter->mask, eh->h_dest); in run_filter()
/linux-4.4.14/drivers/cdrom/
Dcdrom.c664 struct event_header *eh = (struct event_header *)buffer; in cdrom_get_media_event() local
676 if (be16_to_cpu(eh->data_len) < sizeof(*med)) in cdrom_get_media_event()
679 if (eh->nea || eh->notification_class != 0x4) in cdrom_get_media_event()
682 memcpy(med, &buffer[sizeof(*eh)], sizeof(*med)); in cdrom_get_media_event()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_state.c1445 enum drbd_io_error_p eh = EP_PASS_ON; in after_state_ch() local
1453 eh = rcu_dereference(device->ldev->disk_conf)->on_io_error; in after_state_ch()
1458 if (was_io_error && eh == EP_CALL_HELPER) in after_state_ch()
/linux-4.4.14/Documentation/filesystems/
Dxfs-self-describing-metadata.txt209 information as @owner and @blkno in eh above structure, but using 8
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Dcm.c3778 struct ethhdr *eh = NULL; in rx_pkt() local
3835 eh = (struct ethhdr *)(req + 1); in rx_pkt()
3836 iph = (struct iphdr *)(eh + 1); in rx_pkt()