Home
last modified time | relevance | path

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

/linux-4.1.27/net/nfc/
Drawsock.c372 struct sk_buff *skb_copy = NULL, *nskb; in nfc_send_to_raw_sock() local
379 if (!skb_copy) { in nfc_send_to_raw_sock()
380 skb_copy = __pskb_copy_fclone(skb, NFC_RAW_HEADER_SIZE, in nfc_send_to_raw_sock()
382 if (!skb_copy) in nfc_send_to_raw_sock()
385 data = skb_push(skb_copy, NFC_RAW_HEADER_SIZE); in nfc_send_to_raw_sock()
392 nskb = skb_clone(skb_copy, GFP_ATOMIC); in nfc_send_to_raw_sock()
402 kfree_skb(skb_copy); in nfc_send_to_raw_sock()
Dllcp_core.c673 struct sk_buff *skb_copy = NULL, *nskb; in nfc_llcp_send_to_raw_sock() local
683 if (skb_copy == NULL) { in nfc_llcp_send_to_raw_sock()
684 skb_copy = __pskb_copy_fclone(skb, NFC_RAW_HEADER_SIZE, in nfc_llcp_send_to_raw_sock()
687 if (skb_copy == NULL) in nfc_llcp_send_to_raw_sock()
690 data = skb_push(skb_copy, NFC_RAW_HEADER_SIZE); in nfc_llcp_send_to_raw_sock()
697 nskb = skb_clone(skb_copy, GFP_ATOMIC); in nfc_llcp_send_to_raw_sock()
707 kfree_skb(skb_copy); in nfc_llcp_send_to_raw_sock()
747 copy_skb = skb_copy(skb, GFP_ATOMIC); in nfc_llcp_tx_work()
/linux-4.1.27/net/bluetooth/
Dhci_sock.c159 struct sk_buff *skb_copy = NULL; in hci_send_to_sock() local
190 if (!skb_copy) { in hci_send_to_sock()
192 skb_copy = __pskb_copy_fclone(skb, 1, GFP_ATOMIC, true); in hci_send_to_sock()
193 if (!skb_copy) in hci_send_to_sock()
197 memcpy(skb_push(skb_copy, 1), &bt_cb(skb)->pkt_type, 1); in hci_send_to_sock()
200 nskb = skb_clone(skb_copy, GFP_ATOMIC); in hci_send_to_sock()
210 kfree_skb(skb_copy); in hci_send_to_sock()
254 struct sk_buff *skb_copy = NULL; in hci_send_to_monitor() local
287 skb_copy = __pskb_copy_fclone(skb, HCI_MON_HDR_SIZE, GFP_ATOMIC, true); in hci_send_to_monitor()
288 if (!skb_copy) in hci_send_to_monitor()
[all …]
D6lowpan.c265 skb_cp = skb_copy(skb, GFP_ATOMIC); in give_skb_to_upper()
Dl2cap_core.c1987 tx_skb = skb_copy(skb, GFP_KERNEL); in l2cap_ertm_resend()
/linux-4.1.27/net/ieee802154/6lowpan/
Drx.c31 skb_cp = skb_copy(skb, GFP_ATOMIC); in lowpan_give_skb_to_devices()
/linux-4.1.27/net/ax25/
Dax25_ip.c154 if ((ourskb = skb_copy(skb, GFP_ATOMIC)) == NULL) { in ax25_ip_xmit()
Dax25_in.c120 struct sk_buff *skbn = skb_copy(skb, GFP_ATOMIC); in ax25_rx_iframe()
/linux-4.1.27/net/x25/
Dx25_dev.c108 nskb = skb_copy(skb, GFP_ATOMIC); in x25_lapb_receive_frame()
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/
Dxmit_linux.c189 newskb = skb_copy(skb, GFP_ATOMIC); in rtw_mlcst2unicst()
/linux-4.1.27/drivers/isdn/hysdn/
Dhycapi.c208 skb = skb_copy(hycapi_applications[i].listen_req[ctrl->cnr - 1], GFP_ATOMIC); in hycapi_restart_internal()
421 if (!(hycapi_applications[appl_id -1].listen_req[ctrl->cnr - 1] = skb_copy(skb, GFP_ATOMIC))) in hycapi_send_message()
/linux-4.1.27/drivers/net/wireless/mwifiex/
Duap_txrx.c236 skb_uap = skb_copy(skb, GFP_ATOMIC); in mwifiex_handle_uap_rx_forward()
/linux-4.1.27/drivers/isdn/mISDN/
Dstack.c75 cskb = skb_copy(skb, GFP_KERNEL); in send_socklist()
105 cskb = skb_copy(skb, GFP_KERNEL); in send_layer2()
Dtei.c1312 cskb = skb_copy(skb, GFP_ATOMIC); in mgr_bcast()
/linux-4.1.27/net/batman-adv/
Dsend.c449 newskb = skb_copy(skb, GFP_ATOMIC); in batadv_add_bcast_packet_to_list()
Dbat_iv_ogm.c1397 skb_priv = skb_copy(skb, GFP_ATOMIC); in batadv_iv_ogm_process_per_outif()
/linux-4.1.27/net/irda/
Dirlap_frame.c988 tx_skb = skb_copy(skb, GFP_ATOMIC); in irlap_resend_rejected_frames()
1051 tx_skb = skb_copy(skb, GFP_ATOMIC); in irlap_resend_rejected_frame()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dtdls.c601 mvm->tdls_cs.peer.skb = skb_copy(tmpl_skb, GFP_KERNEL); in iwl_mvm_tdls_channel_switch()
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
Dtxrx.c549 xmit_skb = skb_copy(skb, GFP_ATOMIC); in wil_netif_rx_any()
998 skb2 = skb_copy(skb, GFP_ATOMIC); in wil_find_tx_bcast_2()
/linux-4.1.27/net/sctp/
Dulpqueue.c359 new = skb_copy(f_frag, GFP_ATOMIC); in sctp_make_reassembled_event()
/linux-4.1.27/net/can/
Dgw.c395 nskb = skb_copy(skb, GFP_ATOMIC); in can_can_gw_rcv()
/linux-4.1.27/net/mac80211/
Dmesh_pathtbl.c309 skb = skb_copy(fskb, GFP_ATOMIC); in mesh_path_move_to_queue()
Drx.c2093 xmit_skb = skb_copy(skb, GFP_ATOMIC); in ieee80211_deliver_skb()
2315 fwd_skb = skb_copy(skb, GFP_ATOMIC); in ieee80211_rx_h_mesh_fwding()
3431 skb = skb_copy(skb, GFP_ATOMIC); in ieee80211_prepare_and_rx_handle()
Dtdls.c978 sdata->u.mgd.teardown_skb = skb_copy(skb, GFP_ATOMIC); in ieee80211_tdls_prep_mgmt_packet()
/linux-4.1.27/include/linux/
Dskbuff.h836 struct sk_buff *skb_copy(const struct sk_buff *skb, gfp_t priority);
1223 struct sk_buff *nskb = skb_copy(skb, pri); in skb_unshare()
/linux-4.1.27/net/core/
Dskbuff.c1064 struct sk_buff *skb_copy(const struct sk_buff *skb, gfp_t gfp_mask) in skb_copy() function
1085 EXPORT_SYMBOL(skb_copy);
3537 skb2 = skb_copy(skb1, GFP_ATOMIC); in skb_cow_data()
Dneighbour.c856 skb = skb_copy(skb, GFP_ATOMIC); in neigh_probe()
/linux-4.1.27/net/decnet/
Ddn_dev.c964 struct sk_buff *skb2 = skb_copy(skb, GFP_ATOMIC); in dn_send_router_hello()
/linux-4.1.27/kernel/
Daudit.c453 copy = skb_copy(skb, gfp_mask); in kauditd_send_multicast_skb()
/linux-4.1.27/net/appletalk/
Dddp.c1679 struct sk_buff *skb2 = skb_copy(skb, GFP_KERNEL); in atalk_sendmsg()
/linux-4.1.27/net/ipx/
Daf_ipx.c839 struct sk_buff *s = skb_copy(skb, GFP_ATOMIC); in ipxitf_pprop()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dtxrx.c1576 skb1 = skb_copy(skb, GFP_ATOMIC); in ath6kl_rx()
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c812 rxb->subframes[0] = skb_copy(skb, GFP_ATOMIC); in parse_subframe()
/linux-4.1.27/net/netlink/
Daf_netlink.c2790 skb = skb_copy(skb, GFP_KERNEL); in __netlink_dump_start()
/linux-4.1.27/drivers/net/wireless/
Dmac80211_hwsim.c1221 nskb = skb_copy(skb, GFP_ATOMIC); in mac80211_hwsim_tx_frame_no_nl()
Dmwl8k.c1287 priv->beacon_skb = skb_copy(skb, GFP_ATOMIC); in mwl8k_save_beacon()
/linux-4.1.27/net/ipv4/
Dtcp_output.c2921 struct sk_buff *nskb = skb_copy(skb, GFP_ATOMIC); in tcp_send_synack()
/linux-4.1.27/net/key/
Daf_key.c1840 skb = skb_copy(skb, GFP_KERNEL); in pfkey_promisc()
/linux-4.1.27/drivers/net/wireless/ipw2x00/
Dipw2200.c7998 skb = skb_copy(rxb->skb, GFP_ATOMIC); in ipw_handle_promiscuous_rx()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dtg3.c7793 new_skb = skb_copy(skb, GFP_ATOMIC); in tigon3_dma_hwbug_workaround()