Home
last modified time | relevance | path

Searched refs:skb_copy (Results 1 – 25 of 41) sorted by relevance

12

/linux/net/nfc/
H A Drawsock.c362 struct sk_buff *skb_copy = NULL, *nskb; in nfc_send_to_raw_sock() local
369 if (!skb_copy) { in nfc_send_to_raw_sock()
370 skb_copy = __pskb_copy_fclone(skb, NFC_RAW_HEADER_SIZE, in nfc_send_to_raw_sock()
372 if (!skb_copy) in nfc_send_to_raw_sock()
375 data = skb_push(skb_copy, NFC_RAW_HEADER_SIZE); in nfc_send_to_raw_sock()
382 nskb = skb_clone(skb_copy, GFP_ATOMIC); in nfc_send_to_raw_sock()
392 kfree_skb(skb_copy); in nfc_send_to_raw_sock()
H A Dllcp_core.c722 struct sk_buff *skb_copy = NULL, *nskb; in nfc_llcp_send_to_raw_sock() local
732 if (skb_copy == NULL) { in nfc_llcp_send_to_raw_sock()
733 skb_copy = __pskb_copy_fclone(skb, NFC_RAW_HEADER_SIZE, in nfc_llcp_send_to_raw_sock()
736 if (skb_copy == NULL) in nfc_llcp_send_to_raw_sock()
739 data = skb_push(skb_copy, NFC_RAW_HEADER_SIZE); in nfc_llcp_send_to_raw_sock()
746 nskb = skb_clone(skb_copy, GFP_ATOMIC); in nfc_llcp_send_to_raw_sock()
756 kfree_skb(skb_copy); in nfc_llcp_send_to_raw_sock()
788 copy_skb = skb_copy(skb, GFP_ATOMIC); in nfc_llcp_tx_work()
/linux/drivers/net/wireless/intel/iwlwifi/mei/
H A Dnet.c341 skb = skb_copy(orig_skb, GFP_ATOMIC); in iwl_mei_rx_filter()
389 skb = skb_copy(origskb, GFP_ATOMIC); in iwl_mei_tx_copy_to_csme()
/linux/net/x25/
H A Dx25_dev.c103 nskb = skb_copy(skb, GFP_ATOMIC); in x25_lapb_receive_frame()
/linux/net/batman-adv/
H A Dmulticast.c1318 newskb = skb_copy(skb, GFP_ATOMIC); in batadv_mcast_forw_tt()
1360 newskb = skb_copy(skb, GFP_ATOMIC); in batadv_mcast_forw_want_all_ipv4()
1397 newskb = skb_copy(skb, GFP_ATOMIC); in batadv_mcast_forw_want_all_ipv6()
1463 newskb = skb_copy(skb, GFP_ATOMIC); in batadv_mcast_forw_want_all_rtr4()
1500 newskb = skb_copy(skb, GFP_ATOMIC); in batadv_mcast_forw_want_all_rtr6()
H A Dbat_v_elp.c311 skb = skb_copy(hard_iface->bat_v.elp_skb, GFP_ATOMIC); in batadv_v_elp_periodic_work()
H A Dmulticast_forw.c984 nexthop_skb = skb_copy(skb, GFP_ATOMIC); in batadv_mcast_forw_packet()
/linux/net/ax25/
H A Dax25_ip.c144 * on a device queue, thus we use skb_copy() in ax25_ip_xmit()
152 if ((ourskb = skb_copy(skb, GFP_ATOMIC)) == NULL) { in ax25_ip_xmit()
H A Dax25_in.c116 struct sk_buff *skbn = skb_copy(skb, GFP_ATOMIC); in ax25_rx_iframe()
/linux/drivers/staging/rtl8723bs/os_dep/
H A Dosdep_service.c42 return skb_copy(skb, in_interrupt() ? GFP_ATOMIC : GFP_KERNEL); in _rtw_skb_copy()
/linux/net/lapb/
H A Dlapb_out.c85 skbn = skb_copy(skb, GFP_ATOMIC); in lapb_kick()
/linux/drivers/nfc/
H A Dvirtual_ncidev.c63 vdev->send_buff = skb_copy(skb, GFP_KERNEL); in virtual_nci_send()
/linux/drivers/isdn/mISDN/
H A Dstack.c69 cskb = skb_copy(skb, GFP_ATOMIC); in send_socklist()
98 cskb = skb_copy(skb, GFP_KERNEL); in send_layer2()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtdls.c534 mvm->tdls_cs.peer.skb = skb_copy(tmpl_skb, GFP_KERNEL); in iwl_mvm_tdls_channel_switch()
/linux/net/sctp/
H A Dulpqueue.c345 new = skb_copy(f_frag, GFP_ATOMIC); in sctp_make_reassembled_event()
/linux/net/bluetooth/
H A D6lowpan.c240 skb_cp = skb_copy(skb, GFP_ATOMIC); in give_skb_to_upper()
/linux/net/mac80211/
H A Dmesh_pathtbl.c217 skb = skb_copy(fskb, GFP_ATOMIC); in mesh_path_move_to_queue()
H A Drx.c294 skb = skb_copy(skb, GFP_ATOMIC); in ieee80211_handle_mu_mimo_mon()
2712 xmit_skb = skb_copy(skb, GFP_ATOMIC); in ieee80211_deliver_skb()
4779 xmit_skb = skb_copy(skb, GFP_ATOMIC); in ieee80211_rx_8023()
4992 rx->skb = skb_copy(skb, GFP_ATOMIC); in ieee80211_prepare_and_rx_handle()
5001 /* skb_copy() does not copy the hw timestamps, so copy it in ieee80211_prepare_and_rx_handle()
/linux/net/ipv6/
H A Dicmp.c679 skb2 = data_len ? skb_copy(skb, GFP_ATOMIC) : skb_clone(skb, GFP_ATOMIC); in ip6_err_gen_icmpv6_unreach()
/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_ethtool.c415 new_skb = skb_copy(skb, GFP_ATOMIC); in __lb_other_process()
/linux/drivers/net/wireless/ath/wil6210/
H A Dtxrx.c922 xmit_skb = skb_copy(skb, GFP_ATOMIC); in wil_netif_rx()
1606 skb2 = skb_copy(skb, GFP_ATOMIC); in wil_find_tx_bcast_2()
1614 wil_err(wil, "skb_copy failed\n"); in wil_find_tx_bcast_2()
/linux/net/can/
H A Dgw.c512 nskb = skb_copy(skb, GFP_ATOMIC); in can_can_gw_rcv()
/linux/include/linux/
H A Dskbuff.h1394 struct sk_buff *skb_copy(const struct sk_buff *skb, gfp_t priority);
2121 struct sk_buff *nskb = skb_copy(skb, pri); in skb_unshare()
/linux/kernel/
H A Daudit.c819 * The seemingly wasteful skb_copy() rather than bumping the refcount in kauditd_send_multicast_skb()
828 copy = skb_copy(skb, GFP_KERNEL); in kauditd_send_multicast_skb()
/linux/drivers/net/wireless/ath/ath6kl/
H A Dtxrx.c1572 skb1 = skb_copy(skb, GFP_ATOMIC); in ath6kl_rx()

12