Home
last modified time | relevance | path

Searched refs:newskb (Results 1 – 25 of 27) sorted by relevance

12

/linux/drivers/staging/r8188eu/os_dep/
A Dxmit_linux.c167 struct sk_buff *newskb; in rtw_mlcst2unicst() local
185 newskb = skb_copy(skb, GFP_ATOMIC); in rtw_mlcst2unicst()
187 if (newskb) { in rtw_mlcst2unicst()
188 memcpy(newskb->data, psta->hwaddr, 6); in rtw_mlcst2unicst()
189 res = rtw_xmit(padapter, &newskb); in rtw_mlcst2unicst()
193 dev_kfree_skb_any(newskb); in rtw_mlcst2unicst()
/linux/drivers/staging/rtl8723bs/os_dep/
A Dxmit_linux.c128 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()
/linux/net/batman-adv/
A Dmulticast.c1451 struct sk_buff *newskb; in batadv_mcast_forw_tt() local
1464 newskb = skb_copy(skb, GFP_ATOMIC); in batadv_mcast_forw_tt()
1465 if (!newskb) { in batadv_mcast_forw_tt()
1500 struct sk_buff *newskb; in batadv_mcast_forw_want_all_ipv4() local
1507 if (!newskb) { in batadv_mcast_forw_want_all_ipv4()
1537 struct sk_buff *newskb; in batadv_mcast_forw_want_all_ipv6() local
1544 if (!newskb) { in batadv_mcast_forw_want_all_ipv6()
1603 struct sk_buff *newskb; in batadv_mcast_forw_want_all_rtr4() local
1610 if (!newskb) { in batadv_mcast_forw_want_all_rtr4()
1640 struct sk_buff *newskb; in batadv_mcast_forw_want_all_rtr6() local
[all …]
A Dsend.c760 struct sk_buff *newskb; in batadv_forw_bcast_packet_to_list() local
762 newskb = skb_clone(skb, GFP_ATOMIC); in batadv_forw_bcast_packet_to_list()
763 if (!newskb) in batadv_forw_bcast_packet_to_list()
768 bat_priv, newskb); in batadv_forw_bcast_packet_to_list()
783 kfree_skb(newskb); in batadv_forw_bcast_packet_to_list()
815 struct sk_buff *newskb; in batadv_forw_bcast_packet_if() local
819 newskb = skb_clone(skb, GFP_ATOMIC); in batadv_forw_bcast_packet_if()
820 if (!newskb) in batadv_forw_bcast_packet_if()
823 batadv_send_broadcast_skb(newskb, if_out); in batadv_forw_bcast_packet_if()
/linux/net/can/
A Daf_can.c201 struct sk_buff *newskb = NULL; in can_send() local
261 newskb = skb_clone(skb, GFP_ATOMIC); in can_send()
262 if (!newskb) { in can_send()
267 can_skb_set_owner(newskb, skb->sk); in can_send()
268 newskb->ip_summed = CHECKSUM_UNNECESSARY; in can_send()
269 newskb->pkt_type = PACKET_BROADCAST; in can_send()
282 kfree_skb(newskb); in can_send()
286 if (newskb) in can_send()
287 netif_rx_ni(newskb); in can_send()
/linux/drivers/net/ethernet/seeq/
A Dsgiseeq.c347 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()
/linux/drivers/net/ieee802154/
A Dfakelb.c73 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()
A Dmac802154_hwsim.c132 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()
/linux/drivers/net/fddi/
A Ddefxx.c3005 struct sk_buff *newskb; in dfx_rcv_init() local
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()
3150 if (newskb){ in dfx_rcv_queue_process()
3154 newskb->data, in dfx_rcv_queue_process()
3160 dev_kfree_skb(newskb); in dfx_rcv_queue_process()
3161 newskb = NULL; in dfx_rcv_queue_process()
3164 if (newskb) { in dfx_rcv_queue_process()
[all …]
A Ddefza.c678 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()
/linux/drivers/net/ethernet/chelsio/cxgb3/
A Dsge.c851 newskb = skb = q->pg_skb; in get_packet_pg()
855 __skb_put(newskb, len); in get_packet_pg()
867 return newskb; in get_packet_pg()
878 if (unlikely(!newskb)) { in get_packet_pg()
896 newskb->len = len; in get_packet_pg()
898 newskb->truesize += newskb->data_len; in get_packet_pg()
900 skb_fill_page_desc(newskb, skb_shinfo(newskb)->nr_frags, in get_packet_pg()
903 newskb->len += len; in get_packet_pg()
904 newskb->data_len += len; in get_packet_pg()
905 newskb->truesize += len; in get_packet_pg()
[all …]
/linux/drivers/net/wireless/ti/wl1251/
A Dtx.c207 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()
/linux/drivers/net/ethernet/i825xx/
A D82596.c784 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()
A Dlib82596.c720 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()
/linux/net/ipv4/
A Dip_output.c385 struct sk_buff *newskb = skb_clone(skb, GFP_ATOMIC); in ip_mc_output() local
386 if (newskb) in ip_mc_output()
388 net, sk, newskb, NULL, newskb->dev, in ip_mc_output()
401 struct sk_buff *newskb = skb_clone(skb, GFP_ATOMIC); in ip_mc_output() local
402 if (newskb) in ip_mc_output()
404 net, sk, newskb, NULL, newskb->dev, in ip_mc_output()
/linux/drivers/s390/net/
A Dctcm_main.c885 struct sk_buff *newskb = NULL; in ctcmpc_tx() local
906 newskb = __dev_alloc_skb(len, GFP_ATOMIC | GFP_DMA); in ctcmpc_tx()
908 if (!newskb) { in ctcmpc_tx()
920 newskb->protocol = skb->protocol; in ctcmpc_tx()
921 skb_reserve(newskb, TH_HEADER_LENGTH + PDU_HEADER_LENGTH); in ctcmpc_tx()
922 skb_put_data(newskb, skb->data, skb->len); in ctcmpc_tx()
924 skb = newskb; in ctcmpc_tx()
/linux/net/unix/
A Daf_unix.c2134 struct sk_buff *skb, *newskb = NULL, *tail = NULL; in unix_stream_sendpage() local
2149 if (!newskb) in unix_stream_sendpage()
2186 skb = newskb; in unix_stream_sendpage()
2188 if (newskb) { in unix_stream_sendpage()
2189 skb = newskb; in unix_stream_sendpage()
2194 } else if (newskb) { in unix_stream_sendpage()
2199 consume_skb(newskb); in unix_stream_sendpage()
2200 newskb = NULL; in unix_stream_sendpage()
2213 if (newskb) { in unix_stream_sendpage()
2218 __skb_queue_tail(&other->sk_receive_queue, newskb); in unix_stream_sendpage()
[all …]
/linux/drivers/net/ethernet/aeroflex/
A Dgreth.c857 struct sk_buff *skb, *newskb; in greth_rx_gbit() local
895 if (!bad && (newskb=netdev_alloc_skb(dev, MAX_FRAME_SIZE + NET_IP_ALIGN))) { in greth_rx_gbit()
896 skb_reserve(newskb, NET_IP_ALIGN); in greth_rx_gbit()
899 newskb->data, in greth_rx_gbit()
927 greth->rx_skbuff[greth->rx_cur] = newskb; in greth_rx_gbit()
932 dev_kfree_skb(newskb); in greth_rx_gbit()
/linux/drivers/net/wireless/admtek/
A Dadm8211.c356 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()
/linux/drivers/net/hippi/
A Drrunner.c975 struct sk_buff *newskb; in rx_int() local
977 newskb = alloc_skb(dev->mtu + HIPPI_HLEN, in rx_int()
979 if (newskb){ in rx_int()
988 rrpriv->rx_skbuff[index] = newskb; in rx_int()
990 newskb->data, in rx_int()
/linux/drivers/net/ethernet/amd/
A Dpcnet32.c1212 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()
/linux/drivers/infiniband/ulp/ipoib/
A Dipoib_cm.c565 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()
/linux/drivers/net/ethernet/3com/
A D3c59x.c2618 struct sk_buff *skb, *newskb; in boomerang_rx() local
2642 newskb = netdev_alloc_skb_ip_align(dev, PKT_BUF_SZ); in boomerang_rx()
2643 if (!newskb) { in boomerang_rx()
2647 newdma = dma_map_single(vp->gendev, newskb->data, in boomerang_rx()
2651 consume_skb(newskb); in boomerang_rx()
2657 vp->rx_skbuff[entry] = newskb; in boomerang_rx()
/linux/net/ipv6/
A Dip6_output.c86 struct sk_buff *newskb = skb_clone(skb, GFP_ATOMIC); in ip6_finish_output2() local
91 if (newskb) in ip6_finish_output2()
93 net, sk, newskb, NULL, newskb->dev, in ip6_finish_output2()
/linux/drivers/staging/r8188eu/core/
A Drtw_xmit.c1597 struct sk_buff *newskb; in rtw_br_client_tx() local
1607 newskb = skb_copy(skb, GFP_ATOMIC); in rtw_br_client_tx()
1608 if (!newskb) { in rtw_br_client_tx()
1614 *pskb = skb = newskb; in rtw_br_client_tx()

Completed in 89 milliseconds

12