/drivers/staging/rtl8723bs/os_dep/ |
D | xmit_linux.c | 128 struct sk_buff *newskb; in rtw_mlcst2unicst() local 164 newskb = rtw_skb_copy(skb); in rtw_mlcst2unicst() 166 if (newskb) { in rtw_mlcst2unicst() 167 memcpy(newskb->data, psta->hwaddr, 6); in rtw_mlcst2unicst() 168 res = rtw_xmit(padapter, &newskb); in rtw_mlcst2unicst() 171 dev_kfree_skb_any(newskb); in rtw_mlcst2unicst()
|
/drivers/staging/r8188eu/os_dep/ |
D | xmit_linux.c | 171 struct sk_buff *newskb; in rtw_mlcst2unicst() local 189 newskb = skb_copy(skb, GFP_ATOMIC); in rtw_mlcst2unicst() 191 if (newskb) { in rtw_mlcst2unicst() 192 memcpy(newskb->data, psta->hwaddr, 6); in rtw_mlcst2unicst() 193 res = rtw_xmit(padapter, &newskb); in rtw_mlcst2unicst() 197 dev_kfree_skb_any(newskb); in rtw_mlcst2unicst()
|
/drivers/net/ethernet/seeq/ |
D | sgiseeq.c | 347 struct sk_buff *newskb; in sgiseeq_rx() local 366 newskb = netdev_alloc_skb(dev, PKT_BUF_SZ); in sgiseeq_rx() 367 if (!newskb) { in sgiseeq_rx() 368 newskb = skb; in sgiseeq_rx() 372 skb_reserve(newskb, 2); in sgiseeq_rx() 378 newskb = rd->skb; in sgiseeq_rx() 392 newskb = rd->skb; in sgiseeq_rx() 396 newskb = rd->skb; in sgiseeq_rx() 398 rd->skb = newskb; in sgiseeq_rx() 400 newskb->data - 2, in sgiseeq_rx()
|
/drivers/net/ieee802154/ |
D | fakelb.c | 73 struct sk_buff *newskb = pskb_copy(skb, GFP_ATOMIC); in fakelb_hw_xmit() local 75 if (newskb) in fakelb_hw_xmit() 76 ieee802154_rx_irqsafe(phy->hw, newskb, 0xcc); in fakelb_hw_xmit()
|
D | mac802154_hwsim.c | 132 struct sk_buff *newskb = pskb_copy(skb, GFP_ATOMIC); in hwsim_hw_xmit() local 135 if (newskb) in hwsim_hw_xmit() 136 ieee802154_rx_irqsafe(e->endpoint->hw, newskb, in hwsim_hw_xmit()
|
/drivers/net/fddi/ |
D | defxx.c | 3005 struct sk_buff *newskb; in dfx_rcv_init() local 3008 newskb = __netdev_alloc_skb(bp->dev, NEW_SKB_SIZE, in dfx_rcv_init() 3010 if (!newskb) in dfx_rcv_init() 3017 my_skb_align(newskb, 128); in dfx_rcv_init() 3019 newskb->data, in dfx_rcv_init() 3023 dev_kfree_skb(newskb); in dfx_rcv_init() 3038 bp->p_rcv_buff_va[i+j] = (char *) newskb; in dfx_rcv_init() 3143 struct sk_buff *newskb = NULL; in dfx_rcv_queue_process() local 3148 newskb = netdev_alloc_skb(bp->dev, in dfx_rcv_queue_process() 3150 if (newskb){ in dfx_rcv_queue_process() [all …]
|
D | defza.c | 678 struct sk_buff *skb, *newskb; in fza_rx() local 714 newskb = fza_alloc_skb_irq(dev, FZA_RX_BUFFER_SIZE + 511); in fza_rx() 715 if (newskb) { in fza_rx() 716 fza_skb_align(newskb, 512); in fza_rx() 717 newdma = dma_map_single(fp->bdev, newskb->data, in fza_rx() 721 dev_kfree_skb_irq(newskb); in fza_rx() 722 newskb = NULL; in fza_rx() 725 if (newskb) { in fza_rx() 764 skb = newskb; in fza_rx()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | sge.c | 846 struct sk_buff *newskb, *skb; in get_packet_pg() local 851 newskb = skb = q->pg_skb; in get_packet_pg() 853 newskb = alloc_skb(len, GFP_ATOMIC); in get_packet_pg() 854 if (likely(newskb != NULL)) { in get_packet_pg() 855 __skb_put(newskb, len); in get_packet_pg() 858 memcpy(newskb->data, sd->pg_chunk.va, len); in get_packet_pg() 867 return newskb; in get_packet_pg() 876 newskb = alloc_skb(SGE_RX_PULL_LEN, GFP_ATOMIC); in get_packet_pg() 878 if (unlikely(!newskb)) { in get_packet_pg() 891 __skb_put(newskb, SGE_RX_PULL_LEN); in get_packet_pg() [all …]
|
/drivers/net/wireless/ti/wl1251/ |
D | tx.c | 207 struct sk_buff *newskb = skb_copy_expand(skb, 0, 3, in wl1251_tx_send_packet() local 210 if (unlikely(newskb == NULL)) in wl1251_tx_send_packet() 213 tx_hdr = (struct tx_double_buffer_desc *) newskb->data; in wl1251_tx_send_packet() 216 wl->tx_frames[tx_hdr->id] = skb = newskb; in wl1251_tx_send_packet()
|
/drivers/net/ethernet/i825xx/ |
D | 82596.c | 784 struct sk_buff *newskb; in i596_rx() local 787 newskb = netdev_alloc_skb(dev, PKT_BUF_SZ); in i596_rx() 788 if (newskb == NULL) { in i596_rx() 795 rbd->skb = newskb; in i596_rx() 796 rbd->v_data = newskb->data; in i596_rx() 797 rbd->b_data = WSWAPchar(virt_to_bus(newskb->data)); in i596_rx() 799 cache_clear(virt_to_phys(newskb->data), PKT_BUF_SZ); in i596_rx()
|
D | lib82596.c | 720 struct sk_buff *newskb; in i596_rx() local 727 newskb = netdev_alloc_skb_ip_align(dev, in i596_rx() 729 if (newskb == NULL) { in i596_rx() 737 rbd->skb = newskb; in i596_rx() 739 newskb->data, in i596_rx() 742 rbd->v_data = newskb->data; in i596_rx()
|
/drivers/s390/net/ |
D | ctcm_main.c | 878 struct sk_buff *newskb = NULL; in ctcmpc_tx() local 899 newskb = __dev_alloc_skb(len, GFP_ATOMIC | GFP_DMA); in ctcmpc_tx() 901 if (!newskb) { in ctcmpc_tx() 913 newskb->protocol = skb->protocol; in ctcmpc_tx() 914 skb_reserve(newskb, TH_HEADER_LENGTH + PDU_HEADER_LENGTH); in ctcmpc_tx() 915 skb_put_data(newskb, skb->data, skb->len); in ctcmpc_tx() 917 skb = newskb; in ctcmpc_tx()
|
/drivers/net/ethernet/aeroflex/ |
D | greth.c | 858 struct sk_buff *skb, *newskb; in greth_rx_gbit() local 896 if (!bad && (newskb=netdev_alloc_skb(dev, MAX_FRAME_SIZE + NET_IP_ALIGN))) { in greth_rx_gbit() 897 skb_reserve(newskb, NET_IP_ALIGN); in greth_rx_gbit() 900 newskb->data, in greth_rx_gbit() 928 greth->rx_skbuff[greth->rx_cur] = newskb; in greth_rx_gbit() 933 dev_kfree_skb(newskb); in greth_rx_gbit()
|
/drivers/net/wireless/admtek/ |
D | adm8211.c | 356 struct sk_buff *skb, *newskb; in adm8211_interrupt_rci() local 397 newskb = dev_alloc_skb(RX_PKT_SIZE); in adm8211_interrupt_rci() 398 if (newskb) { in adm8211_interrupt_rci() 404 priv->rx_buffers[entry].skb = newskb; in adm8211_interrupt_rci() 407 skb_tail_pointer(newskb), in adm8211_interrupt_rci() 413 dev_kfree_skb(newskb); in adm8211_interrupt_rci()
|
/drivers/net/hippi/ |
D | rrunner.c | 973 struct sk_buff *newskb; in rx_int() local 975 newskb = alloc_skb(dev->mtu + HIPPI_HLEN, in rx_int() 977 if (newskb){ in rx_int() 986 rrpriv->rx_skbuff[index] = newskb; in rx_int() 988 newskb->data, in rx_int()
|
/drivers/net/ethernet/amd/ |
D | pcnet32.c | 1212 struct sk_buff *newskb; in pcnet32_rx_entry() local 1215 newskb = netdev_alloc_skb(dev, PKT_BUF_SKB); in pcnet32_rx_entry() 1220 if (newskb) { in pcnet32_rx_entry() 1221 skb_reserve(newskb, NET_IP_ALIGN); in pcnet32_rx_entry() 1223 newskb->data, in pcnet32_rx_entry() 1229 dev_kfree_skb(newskb); in pcnet32_rx_entry() 1238 lp->rx_skbuff[entry] = newskb; in pcnet32_rx_entry()
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_cm.c | 565 struct sk_buff *skb, *newskb; in ipoib_cm_handle_rx_wc() local 647 newskb = ipoib_cm_alloc_rx_skb(dev, rx_ring, wr_id, frags, in ipoib_cm_handle_rx_wc() 649 if (unlikely(!newskb)) { in ipoib_cm_handle_rx_wc() 665 skb_put_frags(skb, IPOIB_CM_HEAD_SIZE, wc->byte_len, newskb); in ipoib_cm_handle_rx_wc()
|
/drivers/net/ethernet/3com/ |
D | 3c59x.c | 2616 struct sk_buff *skb, *newskb; in boomerang_rx() local 2640 newskb = netdev_alloc_skb_ip_align(dev, PKT_BUF_SZ); in boomerang_rx() 2641 if (!newskb) { in boomerang_rx() 2645 newdma = dma_map_single(vp->gendev, newskb->data, in boomerang_rx() 2649 consume_skb(newskb); in boomerang_rx() 2655 vp->rx_skbuff[entry] = newskb; in boomerang_rx()
|
/drivers/staging/r8188eu/core/ |
D | rtw_xmit.c | 1616 struct sk_buff *newskb; in rtw_br_client_tx() local 1626 newskb = skb_copy(skb, GFP_ATOMIC); in rtw_br_client_tx() 1627 if (!newskb) { in rtw_br_client_tx() 1633 *pskb = skb = newskb; in rtw_br_client_tx()
|
/drivers/net/ethernet/dec/tulip/ |
D | dmfe.c | 948 struct sk_buff *skb, *newskb; in dmfe_rx_packet() local 1001 ((newskb = netdev_alloc_skb(dev, rxlen + 2)) in dmfe_rx_packet() 1004 skb = newskb; in dmfe_rx_packet()
|