Searched refs:copy_skb (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/net/ethernet/sun/ |
H A D | sunbmac.c | 851 struct sk_buff *copy_skb = netdev_alloc_skb(bp->dev, len + 2); in bigmac_rx() local 853 if (copy_skb == NULL) { in bigmac_rx() 857 skb_reserve(copy_skb, 2); in bigmac_rx() 858 skb_put(copy_skb, len); in bigmac_rx() 862 skb_copy_to_linear_data(copy_skb, (unsigned char *)skb->data, len); in bigmac_rx() 871 skb = copy_skb; in bigmac_rx()
|
H A D | sungem.c | 827 struct sk_buff *copy_skb = netdev_alloc_skb(dev, len + 2); in gem_rx() local 829 if (copy_skb == NULL) { in gem_rx() 834 skb_reserve(copy_skb, 2); in gem_rx() 835 skb_put(copy_skb, len); in gem_rx() 838 skb_copy_from_linear_data(skb, copy_skb->data, len); in gem_rx() 843 skb = copy_skb; in gem_rx()
|
H A D | sunhme.c | 1824 struct sk_buff *copy_skb = netdev_alloc_skb(dev, len + 2); in happy_meal_rx() local 1826 if (copy_skb == NULL) { in happy_meal_rx() 1831 skb_reserve(copy_skb, 2); in happy_meal_rx() 1832 skb_put(copy_skb, len); in happy_meal_rx() 1834 skb_copy_from_linear_data(skb, copy_skb->data, len); in happy_meal_rx() 1841 skb = copy_skb; in happy_meal_rx()
|
/linux/drivers/net/ethernet/dec/tulip/ |
H A D | de2104x.c | 404 struct sk_buff *skb, *copy_skb; in de_rx() local 437 copy_skb = netdev_alloc_skb(de->dev, buflen); in de_rx() 438 if (unlikely(!copy_skb)) { in de_rx() 452 dma_map_single(&de->pdev->dev, copy_skb->data, in de_rx() 454 de->rx_skb[rx_tail].skb = copy_skb; in de_rx() 458 skb_reserve(copy_skb, RX_OFFSET); in de_rx() 459 skb_copy_from_linear_data(skb, skb_put(copy_skb, len), in de_rx() 465 skb = copy_skb; in de_rx()
|
/linux/net/nfc/ |
H A D | llcp_core.c | 777 struct sk_buff *copy_skb = NULL; in nfc_llcp_tx_work() local 786 copy_skb = skb_copy(skb, GFP_ATOMIC); in nfc_llcp_tx_work() 797 kfree_skb(copy_skb); in nfc_llcp_tx_work() 801 if (ptype == LLCP_PDU_I && copy_skb) in nfc_llcp_tx_work() 803 copy_skb); in nfc_llcp_tx_work()
|
/linux/net/packet/ |
H A D | af_packet.c | 2308 struct sk_buff *copy_skb = NULL; in tpacket_rcv() local 2384 copy_skb = skb_clone(skb, GFP_ATOMIC); in tpacket_rcv() 2386 copy_skb = skb_get(skb); in tpacket_rcv() 2389 if (copy_skb) { in tpacket_rcv() 2390 memset(&PACKET_SKB_CB(copy_skb)->sa.ll, 0, in tpacket_rcv() 2391 sizeof(PACKET_SKB_CB(copy_skb)->sa.ll)); in tpacket_rcv() 2392 skb_set_owner_r(copy_skb, sk); in tpacket_rcv() 2450 if (copy_skb) { in tpacket_rcv() 2452 skb_clear_delivery_time(copy_skb); in tpacket_rcv() 2453 __skb_queue_tail(&sk->sk_receive_queue, copy_skb); in tpacket_rcv() [all …]
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | b44.c | 810 struct sk_buff *copy_skb; in b44_rx() local 813 copy_skb = napi_alloc_skb(&bp->napi, len); in b44_rx() 814 if (copy_skb == NULL) in b44_rx() 817 skb_put(copy_skb, len); in b44_rx() 820 copy_skb->data, len); in b44_rx() 821 skb = copy_skb; in b44_rx()
|
/linux/drivers/net/ethernet/ibm/emac/ |
H A D | core.c | 1767 struct sk_buff *copy_skb; in emac_poll_rx() local 1769 copy_skb = napi_alloc_skb(&dev->mal->napi, len); in emac_poll_rx() 1770 if (unlikely(!copy_skb)) in emac_poll_rx() 1773 memcpy(copy_skb->data - NET_IP_ALIGN, in emac_poll_rx() 1777 skb = copy_skb; in emac_poll_rx()
|