/drivers/staging/rdma/hfi1/ |
D | trace.c | 87 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 …]
|
/drivers/net/ethernet/8390/ |
D | etherh.c | 124 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 …]
|
/drivers/usb/usbip/ |
D | usbip_event.c | 86 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()
|
D | stub_dev.c | 428 kthread_stop_put(sdev->ud.eh); in stub_probe() 492 if (busid_priv->sdev->ud.eh == current) in stub_disconnect()
|
D | usbip_common.h | 278 struct task_struct *eh; member
|
/drivers/net/ethernet/sfc/ |
D | rx.c | 65 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 …]
|
/drivers/bluetooth/ |
D | hci_ll.c | 377 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()
|
D | btuart_cs.c | 241 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()
|
D | bt3c_cs.c | 291 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()
|
D | bluecard_cs.c | 456 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()
|
/drivers/scsi/fnic/ |
D | fnic_fcs.c | 574 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 …]
|
/drivers/net/ethernet/sgi/ |
D | ioc3-eth.c | 509 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()
|
/drivers/parisc/ |
D | eisa_enumerator.c | 489 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()
|
/drivers/scsi/fcoe/ |
D | fcoe.c | 1437 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 …]
|
D | fcoe_ctlr.c | 1513 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()
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
D | core.c | 214 struct ethhdr *eh; in brcmf_netdev_start_xmit() local 245 if (skb->len < sizeof(*eh)) { in brcmf_netdev_start_xmit() 251 eh = (struct ethhdr *)(skb->data); in brcmf_netdev_start_xmit() 253 if (eh->h_proto == htons(ETH_P_PAE)) in brcmf_netdev_start_xmit() 585 struct ethhdr *eh; in brcmf_txfinalize() local 588 eh = (struct ethhdr *)(txp->data); in brcmf_txfinalize() 589 type = ntohs(eh->h_proto); in brcmf_txfinalize()
|
D | msgbuf.c | 653 struct ethhdr *eh = (struct ethhdr *)(skb->data); in brcmf_msgbuf_flowring_create() local 661 flowid = brcmf_flowring_create(msgbuf->flow, eh->h_dest, in brcmf_msgbuf_flowring_create() 670 memcpy(create->sa, eh->h_source, ETH_ALEN); in brcmf_msgbuf_flowring_create() 671 memcpy(create->da, eh->h_dest, ETH_ALEN); in brcmf_msgbuf_flowring_create() 788 struct ethhdr *eh = (struct ethhdr *)(skb->data); in brcmf_msgbuf_txdata() local 793 flowid = brcmf_flowring_lookup(flow, eh->h_dest, skb->priority, ifidx); in brcmf_msgbuf_txdata()
|
D | fwsignal.c | 1890 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()
|
/drivers/scsi/ |
D | sr.c | 199 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()
|
/drivers/net/wireless/orinoco/ |
D | main.c | 374 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()
|
/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 245 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()
|
/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 1023 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 …]
|
/drivers/ide/ |
D | Makefile | 9 ide-io-std.o ide-eh.o
|
/drivers/ata/ |
D | Makefile | 116 libata-y := libata-core.o libata-scsi.o libata-eh.o \
|
/drivers/md/ |
D | dm-snap.c | 719 static void dm_insert_exception(struct dm_exception_table *eh, in dm_insert_exception() argument 725 l = &eh->table[exception_hash(eh, new_e->old_chunk)]; in dm_insert_exception() 728 if (!eh->hash_shift) in dm_insert_exception()
|