Home
last modified time | relevance | path

Searched refs:copy_skb (Results 1 – 8 of 8) sorted by relevance

/drivers/net/
Dmyri_sbus.c493 struct sk_buff *copy_skb = dev_alloc_skb(len); in myri_rx() local
496 if (copy_skb == NULL) { in myri_rx()
501 copy_skb->dev = dev; in myri_rx()
503 skb_put(copy_skb, len); in myri_rx()
504 skb_copy_from_linear_data(skb, copy_skb->data, len); in myri_rx()
517 skb = copy_skb; in myri_rx()
Dsunbmac.c855 struct sk_buff *copy_skb = dev_alloc_skb(len + 2); in bigmac_rx() local
857 if (copy_skb == NULL) { in bigmac_rx()
861 skb_reserve(copy_skb, 2); in bigmac_rx()
862 skb_put(copy_skb, len); in bigmac_rx()
866 skb_copy_to_linear_data(copy_skb, (unsigned char *)skb->data, len); in bigmac_rx()
875 skb = copy_skb; in bigmac_rx()
Db44.c815 struct sk_buff *copy_skb; in b44_rx() local
818 copy_skb = dev_alloc_skb(len + 2); in b44_rx()
819 if (copy_skb == NULL) in b44_rx()
822 skb_reserve(copy_skb, 2); in b44_rx()
823 skb_put(copy_skb, len); in b44_rx()
826 copy_skb->data, len); in b44_rx()
827 skb = copy_skb; in b44_rx()
Dsunhme.c2047 struct sk_buff *copy_skb = dev_alloc_skb(len + 2); in happy_meal_rx() local
2049 if (copy_skb == NULL) { in happy_meal_rx()
2054 skb_reserve(copy_skb, 2); in happy_meal_rx()
2055 skb_put(copy_skb, len); in happy_meal_rx()
2057 skb_copy_from_linear_data(skb, copy_skb->data, len); in happy_meal_rx()
2064 skb = copy_skb; in happy_meal_rx()
Dsungem.c840 struct sk_buff *copy_skb = dev_alloc_skb(len + 2); in gem_rx() local
842 if (copy_skb == NULL) { in gem_rx()
847 skb_reserve(copy_skb, 2); in gem_rx()
848 skb_put(copy_skb, len); in gem_rx()
850 skb_copy_from_linear_data(skb, copy_skb->data, len); in gem_rx()
854 skb = copy_skb; in gem_rx()
Dtg3.c4313 struct sk_buff *copy_skb; in tg3_rx() local
4318 copy_skb = netdev_alloc_skb(tp->dev, in tg3_rx()
4320 if (copy_skb == NULL) in tg3_rx()
4323 skb_reserve(copy_skb, TG3_RAW_IP_ALIGN); in tg3_rx()
4324 skb_put(copy_skb, len); in tg3_rx()
4326 skb_copy_from_linear_data(skb, copy_skb->data, len); in tg3_rx()
4330 skb = copy_skb; in tg3_rx()
/drivers/net/tulip/
Dde2104x.c398 struct sk_buff *skb, *copy_skb; in de_rx() local
429 copy_skb = dev_alloc_skb (buflen); in de_rx()
430 if (unlikely(!copy_skb)) { in de_rx()
444 pci_map_single(de->pdev, copy_skb->data, in de_rx()
446 de->rx_skb[rx_tail].skb = copy_skb; in de_rx()
449 skb_reserve(copy_skb, RX_OFFSET); in de_rx()
450 skb_copy_from_linear_data(skb, skb_put(copy_skb, len), in de_rx()
455 skb = copy_skb; in de_rx()
/drivers/net/ibm_newemac/
Dcore.c1681 struct sk_buff *copy_skb = in emac_poll_rx() local
1683 if (unlikely(!copy_skb)) in emac_poll_rx()
1686 skb_reserve(copy_skb, EMAC_RX_SKB_HEADROOM + 2); in emac_poll_rx()
1687 cacheable_memcpy(copy_skb->data - 2, skb->data - 2, in emac_poll_rx()
1690 skb = copy_skb; in emac_poll_rx()