Searched refs:skb_copy (Results 1 - 42 of 42) sorted by relevance

/linux-4.1.27/net/nfc/
H A Drawsock.c372 struct sk_buff *skb_copy = NULL, *nskb; nfc_send_to_raw_sock() local
379 if (!skb_copy) { nfc_send_to_raw_sock()
380 skb_copy = __pskb_copy_fclone(skb, NFC_RAW_HEADER_SIZE, nfc_send_to_raw_sock()
382 if (!skb_copy) nfc_send_to_raw_sock()
385 data = skb_push(skb_copy, NFC_RAW_HEADER_SIZE); nfc_send_to_raw_sock()
392 nskb = skb_clone(skb_copy, GFP_ATOMIC); nfc_send_to_raw_sock()
402 kfree_skb(skb_copy); nfc_send_to_raw_sock()
H A Dllcp_core.c673 struct sk_buff *skb_copy = NULL, *nskb; nfc_llcp_send_to_raw_sock() local
683 if (skb_copy == NULL) { nfc_llcp_send_to_raw_sock()
684 skb_copy = __pskb_copy_fclone(skb, NFC_RAW_HEADER_SIZE, nfc_llcp_send_to_raw_sock()
687 if (skb_copy == NULL) nfc_llcp_send_to_raw_sock()
690 data = skb_push(skb_copy, NFC_RAW_HEADER_SIZE); nfc_llcp_send_to_raw_sock()
697 nskb = skb_clone(skb_copy, GFP_ATOMIC); nfc_llcp_send_to_raw_sock()
707 kfree_skb(skb_copy); nfc_llcp_send_to_raw_sock()
747 copy_skb = skb_copy(skb, GFP_ATOMIC); nfc_llcp_tx_work()
/linux-4.1.27/include/linux/can/
H A Dskb.h24 * skb_copy() needs to be used instead of skb_clone().
/linux-4.1.27/net/bluetooth/
H A Dhci_sock.c159 struct sk_buff *skb_copy = NULL; hci_send_to_sock() local
190 if (!skb_copy) { hci_send_to_sock()
192 skb_copy = __pskb_copy_fclone(skb, 1, GFP_ATOMIC, true); hci_send_to_sock()
193 if (!skb_copy) hci_send_to_sock()
197 memcpy(skb_push(skb_copy, 1), &bt_cb(skb)->pkt_type, 1); hci_send_to_sock()
200 nskb = skb_clone(skb_copy, GFP_ATOMIC); hci_send_to_sock()
210 kfree_skb(skb_copy); hci_send_to_sock()
254 struct sk_buff *skb_copy = NULL; hci_send_to_monitor() local
287 skb_copy = __pskb_copy_fclone(skb, HCI_MON_HDR_SIZE, GFP_ATOMIC, true); hci_send_to_monitor()
288 if (!skb_copy) hci_send_to_monitor()
292 hdr = (void *) skb_push(skb_copy, HCI_MON_HDR_SIZE); hci_send_to_monitor()
297 hci_send_to_channel(HCI_CHANNEL_MONITOR, skb_copy, hci_send_to_monitor()
299 kfree_skb(skb_copy); hci_send_to_monitor()
H A D6lowpan.c265 skb_cp = skb_copy(skb, GFP_ATOMIC); give_skb_to_upper()
H A Dl2cap_core.c1987 tx_skb = skb_copy(skb, GFP_KERNEL); l2cap_ertm_resend()
/linux-4.1.27/net/ax25/
H A Dax25_ip.c146 * on a device queue, thus we use skb_copy() ax25_ip_xmit()
154 if ((ourskb = skb_copy(skb, GFP_ATOMIC)) == NULL) { ax25_ip_xmit()
H A Dax25_in.c120 struct sk_buff *skbn = skb_copy(skb, GFP_ATOMIC); ax25_rx_iframe()
/linux-4.1.27/net/ieee802154/6lowpan/
H A Drx.c31 skb_cp = skb_copy(skb, GFP_ATOMIC); lowpan_give_skb_to_devices()
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/
H A Dxmit_linux.c189 newskb = skb_copy(skb, GFP_ATOMIC); rtw_mlcst2unicst()
202 DBG_88E("%s-%d: skb_copy() failed!\n", __func__, __LINE__); rtw_mlcst2unicst()
/linux-4.1.27/net/x25/
H A Dx25_dev.c108 nskb = skb_copy(skb, GFP_ATOMIC); x25_lapb_receive_frame()
/linux-4.1.27/drivers/isdn/hysdn/
H A Dhycapi.c208 skb = skb_copy(hycapi_applications[i].listen_req[ctrl->cnr - 1], GFP_ATOMIC); hycapi_restart_internal()
421 if (!(hycapi_applications[appl_id -1].listen_req[ctrl->cnr - 1] = skb_copy(skb, GFP_ATOMIC))) hycapi_send_message()
/linux-4.1.27/drivers/isdn/mISDN/
H A Dstack.c75 cskb = skb_copy(skb, GFP_KERNEL); send_socklist()
105 cskb = skb_copy(skb, GFP_KERNEL); send_layer2()
H A Dtei.c1312 cskb = skb_copy(skb, GFP_ATOMIC); mgr_bcast()
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
H A Dtxrx.c549 xmit_skb = skb_copy(skb, GFP_ATOMIC); wil_netif_rx_any()
998 skb2 = skb_copy(skb, GFP_ATOMIC); wil_find_tx_bcast_2()
1004 wil_err(wil, "skb_copy failed\n"); wil_find_tx_bcast_2()
/linux-4.1.27/drivers/net/wireless/mwifiex/
H A Duap_txrx.c236 skb_uap = skb_copy(skb, GFP_ATOMIC); mwifiex_handle_uap_rx_forward()
/linux-4.1.27/net/irda/
H A Dirlap_frame.c988 tx_skb = skb_copy(skb, GFP_ATOMIC); irlap_resend_rejected_frames()
1051 tx_skb = skb_copy(skb, GFP_ATOMIC); irlap_resend_rejected_frame()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Dtdls.c601 mvm->tdls_cs.peer.skb = skb_copy(tmpl_skb, GFP_KERNEL); iwl_mvm_tdls_channel_switch()
/linux-4.1.27/net/batman-adv/
H A Dsend.c449 newskb = skb_copy(skb, GFP_ATOMIC); batadv_add_bcast_packet_to_list()
H A Dbat_iv_ogm.c1397 skb_priv = skb_copy(skb, GFP_ATOMIC); batadv_iv_ogm_process_per_outif()
/linux-4.1.27/net/mac80211/
H A Dtdls.c976 * No problem if skb_copy() fails, so no need to check. ieee80211_tdls_prep_mgmt_packet()
978 sdata->u.mgd.teardown_skb = skb_copy(skb, GFP_ATOMIC); ieee80211_tdls_prep_mgmt_packet()
H A Dmesh_pathtbl.c309 skb = skb_copy(fskb, GFP_ATOMIC); mesh_path_move_to_queue()
H A Drx.c2093 xmit_skb = skb_copy(skb, GFP_ATOMIC); ieee80211_deliver_skb()
2315 fwd_skb = skb_copy(skb, GFP_ATOMIC); ieee80211_rx_h_mesh_fwding()
3431 skb = skb_copy(skb, GFP_ATOMIC); ieee80211_prepare_and_rx_handle()
/linux-4.1.27/net/core/
H A Dskbuff.c15 * Alan Cox : Added skb_copy.
19 * Alan Cox : skb_copy copy arp field
1048 * skb_copy - create private copy of an sk_buff
1064 struct sk_buff *skb_copy(const struct sk_buff *skb, gfp_t gfp_mask) skb_copy() function
1085 EXPORT_SYMBOL(skb_copy); variable
3537 skb2 = skb_copy(skb1, GFP_ATOMIC); skb_cow_data()
H A Dneighbour.c856 skb = skb_copy(skb, GFP_ATOMIC);
/linux-4.1.27/kernel/
H A Daudit.c444 * The seemingly wasteful skb_copy() rather than bumping the refcount kauditd_send_multicast_skb()
453 copy = skb_copy(skb, gfp_mask); kauditd_send_multicast_skb()
/linux-4.1.27/net/can/
H A Dgw.c395 nskb = skb_copy(skb, GFP_ATOMIC); can_can_gw_rcv()
/linux-4.1.27/net/decnet/
H A Ddn_dev.c964 struct sk_buff *skb2 = skb_copy(skb, GFP_ATOMIC); dn_send_router_hello()
/linux-4.1.27/net/sctp/
H A Dulpqueue.c359 new = skb_copy(f_frag, GFP_ATOMIC); sctp_make_reassembled_event()
/linux-4.1.27/drivers/staging/rtl8192e/
H A Drtllib_rx.c770 * "skb_copy" and "skb_clone" for "skb". parse_subframe()
823 * "skb_copy" and "skb_clone" for "skb". parse_subframe()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
H A Dtxrx.c1576 skb1 = skb_copy(skb, GFP_ATOMIC); ath6kl_rx()
/linux-4.1.27/net/ipx/
H A Daf_ipx.c839 struct sk_buff *s = skb_copy(skb, GFP_ATOMIC); ipxitf_pprop()
/linux-4.1.27/net/appletalk/
H A Dddp.c1679 struct sk_buff *skb2 = skb_copy(skb, GFP_KERNEL); atalk_sendmsg()
/linux-4.1.27/include/linux/
H A Dskbuff.h836 struct sk_buff *skb_copy(const struct sk_buff *skb, gfp_t priority);
1223 struct sk_buff *nskb = skb_copy(skb, pri); skb_unshare()
/linux-4.1.27/drivers/net/wireless/
H A Dmac80211_hwsim.c1221 nskb = skb_copy(skb, GFP_ATOMIC); mac80211_hwsim_tx_frame_no_nl()
H A Dmwl8k.c1287 priv->beacon_skb = skb_copy(skb, GFP_ATOMIC); mwl8k_save_beacon()
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_rx.c812 rxb->subframes[0] = skb_copy(skb, GFP_ATOMIC); parse_subframe()
/linux-4.1.27/net/key/
H A Daf_key.c1840 skb = skb_copy(skb, GFP_KERNEL); pfkey_promisc()
/linux-4.1.27/net/netlink/
H A Daf_netlink.c2790 skb = skb_copy(skb, GFP_KERNEL); __netlink_dump_start()
/linux-4.1.27/net/ipv4/
H A Dtcp_output.c2921 struct sk_buff *nskb = skb_copy(skb, GFP_ATOMIC); tcp_send_synack()
/linux-4.1.27/drivers/net/wireless/ipw2x00/
H A Dipw2200.c7998 skb = skb_copy(rxb->skb, GFP_ATOMIC); ipw_handle_promiscuous_rx()
/linux-4.1.27/drivers/net/ethernet/broadcom/
H A Dtg3.c7793 new_skb = skb_copy(skb, GFP_ATOMIC); tigon3_dma_hwbug_workaround()

Completed in 1610 milliseconds