Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/net/ethernet/
Deth.c398 struct ethhdr *eh, *eh2; in eth_gro_receive() local
405 hlen = off_eth + sizeof(*eh); in eth_gro_receive()
406 eh = skb_gro_header_fast(skb, off_eth); in eth_gro_receive()
408 eh = skb_gro_header_slow(skb, hlen, off_eth); in eth_gro_receive()
409 if (unlikely(!eh)) in eth_gro_receive()
420 if (compare_ether_header(eh, eh2)) { in eth_gro_receive()
426 type = eh->h_proto; in eth_gro_receive()
435 skb_gro_pull(skb, sizeof(*eh)); in eth_gro_receive()
436 skb_gro_postpull_rcsum(skb, eh, sizeof(*eh)); in eth_gro_receive()
450 struct ethhdr *eh = (struct ethhdr *)(skb->data + nhoff); in eth_gro_complete() local
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/fs/ext4/
Dextents.c60 struct ext4_extent_header *eh) in ext4_extent_block_csum() argument
66 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)eh, in ext4_extent_block_csum()
67 EXT4_EXTENT_TAIL_OFFSET(eh)); in ext4_extent_block_csum()
72 struct ext4_extent_header *eh) in ext4_extent_block_csum_verify() argument
79 et = find_ext4_extent_tail(eh); in ext4_extent_block_csum_verify()
80 if (et->et_checksum != ext4_extent_block_csum(inode, eh)) in ext4_extent_block_csum_verify()
86 struct ext4_extent_header *eh) in ext4_extent_block_csum_set() argument
93 et = find_ext4_extent_tail(eh); in ext4_extent_block_csum_set()
94 et->et_checksum = ext4_extent_block_csum(inode, eh); in ext4_extent_block_csum_set()
394 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()
618 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.1.27/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.1.27/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.1.27/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.h281 #define __PPC_EH(eh) (((eh) & 0x1) << 0) argument
283 #define __PPC_EH(eh) 0 argument
305 #define PPC_LDARX(t, a, b, eh) stringify_in_c(.long PPC_INST_LDARX | \ argument
307 ___PPC_RB(b) | __PPC_EH(eh))
310 #define PPC_LWARX(t, a, b, eh) stringify_in_c(.long PPC_INST_LWARX | \ argument
312 ___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.1.27/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.c1721 static inline u32 efx_rx_buf_timestamp_minor(struct efx_nic *efx, const u8 *eh) in efx_rx_buf_timestamp_minor() argument
1724 return __le32_to_cpup((const __le32 *)(eh + efx->rx_packet_ts_offset)); in efx_rx_buf_timestamp_minor()
1726 const u8 *data = eh + efx->rx_packet_ts_offset; in efx_rx_buf_timestamp_minor()
/linux-4.1.27/net/ipv4/
Dip_tunnel_core.c95 struct ethhdr *eh; in iptunnel_pull_header() local
100 eh = (struct ethhdr *)skb->data; in iptunnel_pull_header()
101 if (likely(ntohs(eh->h_proto) >= ETH_P_802_3_MIN)) in iptunnel_pull_header()
102 skb->protocol = eh->h_proto; in iptunnel_pull_header()
/linux-4.1.27/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.c242 struct hci_event_hdr *eh; in btuart_receive() local
250 eh = hci_event_hdr(info->rx_skb); in btuart_receive()
252 info->rx_count = eh->plen; in btuart_receive()
Dbt3c_cs.c293 struct hci_event_hdr *eh; in bt3c_receive() local
300 eh = hci_event_hdr(info->rx_skb); in bt3c_receive()
302 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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/tools/perf/util/
Dparse-events.c709 int eh; member
724 int eh = evsel ? evsel->attr.exclude_hv : 0; in get_event_modifier() local
732 int exclude = eu | ek | eh; in get_event_modifier()
740 exclude = eu = ek = eh = 1; in get_event_modifier()
744 exclude = eu = ek = eh = 1; in get_event_modifier()
748 exclude = eu = ek = eh = 1; in get_event_modifier()
749 eh = 0; in get_event_modifier()
790 mod->eh = eh; in get_event_modifier()
843 evsel->attr.exclude_hv = mod.eh; in parse_events__modifier_event()
/linux-4.1.27/drivers/scsi/fcoe/
Dfcoe.c1438 struct ethhdr *eh; in fcoe_rcv() local
1463 eh = eth_hdr(skb); in fcoe_rcv()
1466 !ether_addr_equal(eh->h_source, ctlr->dest_addr)) { in fcoe_rcv()
1468 eh->h_source); in fcoe_rcv()
1483 if (ntoh24(&eh->h_dest[3]) != ntoh24(fh->fh_d_id)) { in fcoe_rcv()
1485 eh->h_dest); in fcoe_rcv()
1590 struct ethhdr *eh; in fcoe_xmit() local
1679 eh = eth_hdr(skb); in fcoe_xmit()
1680 eh->h_proto = htons(ETH_P_FCOE); in fcoe_xmit()
1681 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.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dcore.c195 struct ethhdr *eh = (struct ethhdr *)(skb->data); in brcmf_netdev_start_xmit() local
235 if (skb->len < sizeof(*eh)) { in brcmf_netdev_start_xmit()
241 if (eh->h_proto == htons(ETH_P_PAE)) in brcmf_netdev_start_xmit()
550 struct ethhdr *eh; in brcmf_txfinalize() local
557 eh = (struct ethhdr *)(txp->data); in brcmf_txfinalize()
558 type = ntohs(eh->h_proto); in brcmf_txfinalize()
Dmsgbuf.c661 struct ethhdr *eh = (struct ethhdr *)(skb->data); in brcmf_msgbuf_flowring_create() local
669 flowid = brcmf_flowring_create(msgbuf->flow, eh->h_dest, in brcmf_msgbuf_flowring_create()
678 memcpy(create->sa, eh->h_source, ETH_ALEN); in brcmf_msgbuf_flowring_create()
679 memcpy(create->da, eh->h_dest, ETH_ALEN); in brcmf_msgbuf_flowring_create()
796 struct ethhdr *eh = (struct ethhdr *)(skb->data); in brcmf_msgbuf_txdata() local
799 flowid = brcmf_flowring_lookup(flow, eh->h_dest, skb->priority, ifidx); in brcmf_msgbuf_txdata()
Dfwsignal.c1892 struct ethhdr *eh = (struct ethhdr *)(skb->data); in brcmf_fws_process_skb() local
1894 bool multicast = is_multicast_ether_addr(eh->h_dest); in brcmf_fws_process_skb()
1897 brcmf_dbg(DATA, "tx proto=0x%X\n", ntohs(eh->h_proto)); in brcmf_fws_process_skb()
1923 skcb->mac = brcmf_fws_macdesc_find(fws, ifp, eh->h_dest); in brcmf_fws_process_skb()
1925 eh->h_dest, multicast, fifo); in brcmf_fws_process_skb()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/ide/
DMakefile9 ide-io-std.o ide-eh.o
/linux-4.1.27/drivers/ata/
DMakefile113 libata-y := libata-core.o libata-scsi.o libata-eh.o \
/linux-4.1.27/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.1.27/drivers/md/
Ddm-snap.c697 static void dm_insert_exception(struct dm_exception_table *eh, in dm_insert_exception() argument
703 l = &eh->table[exception_hash(eh, new_e->old_chunk)]; in dm_insert_exception()
706 if (!eh->hash_shift) in dm_insert_exception()
/linux-4.1.27/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.1.27/drivers/net/
Dtun.c703 struct ethhdr *eh = (struct ethhdr *) skb->data; in run_filter() local
708 if (ether_addr_equal(eh->h_dest, filter->addr[i])) in run_filter()
712 if (is_multicast_ether_addr(eh->h_dest)) in run_filter()
713 return addr_hash_test(filter->mask, eh->h_dest); in run_filter()
/linux-4.1.27/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.1.27/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.1.27/Documentation/filesystems/
Dxfs-self-describing-metadata.txt209 information as @owner and @blkno in eh above structure, but using 8
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
Dcm.c3650 struct ethhdr *eh = NULL; in rx_pkt() local
3694 eh = (struct ethhdr *)(req + 1); in rx_pkt()
3695 iph = (struct iphdr *)(eh + 1); in rx_pkt()
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
Dbe_main.c1004 struct ethhdr *eh = (struct ethhdr *)skb->data; in be_ipv6_exthdr_check() local
1007 if (eh->h_proto == htons(ETH_P_IPV6)) { in be_ipv6_exthdr_check()