/kernel/linux/linux-5.10/drivers/net/wireless/intersil/prism54/ |
D | islpci_eth.c | 74 struct sk_buff *newskb; in islpci_eth_transmit() local 136 newskb = in islpci_eth_transmit() 138 if (unlikely(newskb == NULL)) { in islpci_eth_transmit() 143 newskb_offset = (4 - (long) newskb->data) & 0x03; in islpci_eth_transmit() 147 skb_reserve(newskb, newskb_offset); in islpci_eth_transmit() 149 skb_put(newskb, init_wds ? skb->len + 6 : skb->len); in islpci_eth_transmit() 152 newskb->data + 6, in islpci_eth_transmit() 154 skb_copy_to_linear_data(newskb, wds_mac, 6); in islpci_eth_transmit() 159 skb_copy_from_linear_data(skb, newskb->data, in islpci_eth_transmit() 164 newskb->data, skb->data, skb->len, init_wds); in islpci_eth_transmit() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/ |
D | xmit_linux.c | 115 struct sk_buff *newskb; in rtw_mlcst2unicst() local 133 newskb = skb_copy(skb, GFP_ATOMIC); in rtw_mlcst2unicst() 135 if (newskb) { in rtw_mlcst2unicst() 136 memcpy(newskb->data, psta->hwaddr, 6); in rtw_mlcst2unicst() 137 res = rtw_xmit(padapter, &newskb); in rtw_mlcst2unicst() 142 dev_kfree_skb_any(newskb); in rtw_mlcst2unicst()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/ |
D | xmit_linux.c | 132 struct sk_buff *newskb; in rtw_mlcst2unicst() local 178 newskb = rtw_skb_copy(skb); in rtw_mlcst2unicst() 180 if (newskb) { in rtw_mlcst2unicst() 181 memcpy(newskb->data, psta->hwaddr, 6); in rtw_mlcst2unicst() 182 res = rtw_xmit(padapter, &newskb); in rtw_mlcst2unicst() 187 dev_kfree_skb_any(newskb); in rtw_mlcst2unicst()
|
/kernel/linux/linux-5.10/net/batman-adv/ |
D | multicast.c | 1485 struct sk_buff *newskb; in batadv_mcast_forw_tt() local 1498 newskb = skb_copy(skb, GFP_ATOMIC); in batadv_mcast_forw_tt() 1499 if (!newskb) { in batadv_mcast_forw_tt() 1504 batadv_mcast_forw_send_orig(bat_priv, newskb, vid, in batadv_mcast_forw_tt() 1534 struct sk_buff *newskb; in batadv_mcast_forw_want_all_ipv4() local 1540 newskb = skb_copy(skb, GFP_ATOMIC); in batadv_mcast_forw_want_all_ipv4() 1541 if (!newskb) { in batadv_mcast_forw_want_all_ipv4() 1546 batadv_mcast_forw_send_orig(bat_priv, newskb, vid, orig_node); in batadv_mcast_forw_want_all_ipv4() 1571 struct sk_buff *newskb; in batadv_mcast_forw_want_all_ipv6() local 1577 newskb = skb_copy(skb, GFP_ATOMIC); in batadv_mcast_forw_want_all_ipv6() [all …]
|
D | send.c | 762 struct sk_buff *newskb; in batadv_add_bcast_packet_to_list() local 768 newskb = skb_copy(skb, GFP_ATOMIC); in batadv_add_bcast_packet_to_list() 769 if (!newskb) { in batadv_add_bcast_packet_to_list() 776 bat_priv, newskb); in batadv_add_bcast_packet_to_list() 782 bcast_packet = (struct batadv_bcast_packet *)newskb->data; in batadv_add_bcast_packet_to_list() 794 kfree_skb(newskb); in batadv_add_bcast_packet_to_list()
|
/kernel/linux/linux-5.10/net/can/ |
D | af_can.c | 201 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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/fddi/ |
D | defxx.c | 3016 struct sk_buff *newskb; in dfx_rcv_init() local 3019 newskb = __netdev_alloc_skb(bp->dev, NEW_SKB_SIZE, in dfx_rcv_init() 3021 if (!newskb) in dfx_rcv_init() 3028 my_skb_align(newskb, 128); in dfx_rcv_init() 3030 newskb->data, in dfx_rcv_init() 3034 dev_kfree_skb(newskb); in dfx_rcv_init() 3049 bp->p_rcv_buff_va[i+j] = (char *) newskb; in dfx_rcv_init() 3154 struct sk_buff *newskb = NULL; in dfx_rcv_queue_process() local 3159 newskb = netdev_alloc_skb(bp->dev, in dfx_rcv_queue_process() 3161 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/ |
D | sge.c | 847 struct sk_buff *newskb, *skb; in get_packet_pg() local 852 newskb = skb = q->pg_skb; in get_packet_pg() 854 newskb = alloc_skb(len, GFP_ATOMIC); in get_packet_pg() 855 if (likely(newskb != NULL)) { in get_packet_pg() 856 __skb_put(newskb, len); in get_packet_pg() 859 memcpy(newskb->data, sd->pg_chunk.va, len); in get_packet_pg() 869 return newskb; in get_packet_pg() 878 newskb = alloc_skb(SGE_RX_PULL_LEN, GFP_ATOMIC); in get_packet_pg() 880 if (unlikely(!newskb)) { in get_packet_pg() 895 __skb_put(newskb, SGE_RX_PULL_LEN); in get_packet_pg() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/net/unix/ |
D | af_unix.c | 2000 struct sk_buff *skb, *newskb = NULL, *tail = NULL; in unix_stream_sendpage() local 2014 newskb = sock_alloc_send_pskb(sk, 0, 0, flags & MSG_DONTWAIT, in unix_stream_sendpage() 2016 if (!newskb) in unix_stream_sendpage() 2054 skb = newskb; in unix_stream_sendpage() 2056 if (newskb) { in unix_stream_sendpage() 2057 skb = newskb; in unix_stream_sendpage() 2062 } else if (newskb) { in unix_stream_sendpage() 2067 consume_skb(newskb); in unix_stream_sendpage() 2068 newskb = NULL; in unix_stream_sendpage() 2081 if (newskb) { in unix_stream_sendpage() [all …]
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ip_output.c | 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() 417 struct sk_buff *newskb = skb_clone(skb, GFP_ATOMIC); in ip_mc_output() local 418 if (newskb) in ip_mc_output() 420 net, sk, newskb, NULL, newskb->dev, in ip_mc_output()
|
/kernel/linux/linux-5.10/drivers/s390/net/ |
D | ctcm_main.c | 918 struct sk_buff *newskb = NULL; in ctcmpc_tx() local 939 newskb = __dev_alloc_skb(len, gfp_type() | GFP_DMA); in ctcmpc_tx() 941 if (!newskb) { in ctcmpc_tx() 953 newskb->protocol = skb->protocol; in ctcmpc_tx() 954 skb_reserve(newskb, TH_HEADER_LENGTH + PDU_HEADER_LENGTH); in ctcmpc_tx() 955 skb_put_data(newskb, skb->data, skb->len); in ctcmpc_tx() 957 skb = newskb; in ctcmpc_tx()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/admtek/ |
D | adm8211.c | 357 struct sk_buff *skb, *newskb; in adm8211_interrupt_rci() local 398 newskb = dev_alloc_skb(RX_PKT_SIZE); in adm8211_interrupt_rci() 399 if (newskb) { in adm8211_interrupt_rci() 405 priv->rx_buffers[entry].skb = newskb; in adm8211_interrupt_rci() 408 skb_tail_pointer(newskb), in adm8211_interrupt_rci() 414 dev_kfree_skb(newskb); in adm8211_interrupt_rci()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | ip6_output.c | 103 struct sk_buff *newskb = skb_clone(skb, GFP_ATOMIC); in ip6_finish_output2() local 108 if (newskb) in ip6_finish_output2() 110 net, sk, newskb, NULL, newskb->dev, in ip6_finish_output2()
|