Searched refs:copy_skb (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/sun/ |
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()
|
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()
|
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()
|
/linux-6.6.21/drivers/net/ethernet/dec/tulip/ |
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-6.6.21/net/nfc/ |
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-6.6.21/net/packet/ |
D | af_packet.c | 2250 struct sk_buff *copy_skb = NULL; in tpacket_rcv() local 2327 copy_skb = skb_clone(skb, GFP_ATOMIC); in tpacket_rcv() 2329 copy_skb = skb_get(skb); in tpacket_rcv() 2332 if (copy_skb) { in tpacket_rcv() 2333 memset(&PACKET_SKB_CB(copy_skb)->sa.ll, 0, in tpacket_rcv() 2334 sizeof(PACKET_SKB_CB(copy_skb)->sa.ll)); in tpacket_rcv() 2335 skb_set_owner_r(copy_skb, sk); in tpacket_rcv() 2393 if (copy_skb) { in tpacket_rcv() 2395 skb_clear_delivery_time(copy_skb); in tpacket_rcv() 2396 __skb_queue_tail(&sk->sk_receive_queue, copy_skb); in tpacket_rcv() [all …]
|
/linux-6.6.21/drivers/net/ethernet/broadcom/ |
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-6.6.21/drivers/net/ethernet/ibm/emac/ |
D | core.c | 1790 struct sk_buff *copy_skb; in emac_poll_rx() local 1792 copy_skb = napi_alloc_skb(&dev->mal->napi, len); in emac_poll_rx() 1793 if (unlikely(!copy_skb)) in emac_poll_rx() 1796 memcpy(copy_skb->data - NET_IP_ALIGN, in emac_poll_rx() 1800 skb = copy_skb; in emac_poll_rx()
|