Home
last modified time | relevance | path

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

/linux-4.4.14/net/nfc/
Drawsock.c373 struct sk_buff *skb_copy = NULL, *nskb; in nfc_send_to_raw_sock() local
380 if (!skb_copy) { in nfc_send_to_raw_sock()
381 skb_copy = __pskb_copy_fclone(skb, NFC_RAW_HEADER_SIZE, in nfc_send_to_raw_sock()
383 if (!skb_copy) in nfc_send_to_raw_sock()
386 data = skb_push(skb_copy, NFC_RAW_HEADER_SIZE); in nfc_send_to_raw_sock()
393 nskb = skb_clone(skb_copy, GFP_ATOMIC); in nfc_send_to_raw_sock()
403 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.4.14/net/bluetooth/
Dhci_sock.c156 struct sk_buff *skb_copy = NULL; in hci_send_to_sock() local
192 if (!skb_copy) { in hci_send_to_sock()
194 skb_copy = __pskb_copy_fclone(skb, 1, GFP_ATOMIC, true); in hci_send_to_sock()
195 if (!skb_copy) in hci_send_to_sock()
199 memcpy(skb_push(skb_copy, 1), &bt_cb(skb)->pkt_type, 1); in hci_send_to_sock()
202 nskb = skb_clone(skb_copy, GFP_ATOMIC); in hci_send_to_sock()
212 kfree_skb(skb_copy); in hci_send_to_sock()
256 struct sk_buff *skb_copy = NULL; in hci_send_to_monitor() local
292 skb_copy = __pskb_copy_fclone(skb, HCI_MON_HDR_SIZE, GFP_ATOMIC, true); in hci_send_to_monitor()
293 if (!skb_copy) in hci_send_to_monitor()
[all …]
D6lowpan.c262 skb_cp = skb_copy(skb, GFP_ATOMIC); in give_skb_to_upper()
Dl2cap_core.c1983 tx_skb = skb_copy(skb, GFP_KERNEL); in l2cap_ertm_resend()
/linux-4.4.14/net/x25/
Dx25_dev.c108 nskb = skb_copy(skb, GFP_ATOMIC); in x25_lapb_receive_frame()
/linux-4.4.14/net/ax25/
Dax25_ip.c153 if ((ourskb = skb_copy(skb, GFP_ATOMIC)) == NULL) { in ax25_ip_xmit()
Dax25_in.c119 struct sk_buff *skbn = skb_copy(skb, GFP_ATOMIC); in ax25_rx_iframe()
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/
Dxmit_linux.c189 newskb = skb_copy(skb, GFP_ATOMIC); in rtw_mlcst2unicst()
/linux-4.4.14/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.4.14/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.4.14/drivers/net/wireless/mwifiex/
Duap_txrx.c252 skb_uap = skb_copy(skb, GFP_ATOMIC); in mwifiex_handle_uap_rx_forward()
/linux-4.4.14/net/batman-adv/
Dsend.c467 newskb = skb_copy(skb, GFP_ATOMIC); in batadv_add_bcast_packet_to_list()
Dbat_iv_ogm.c1401 skb_priv = skb_copy(skb, GFP_ATOMIC); in batadv_iv_ogm_process_per_outif()
/linux-4.4.14/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.4.14/drivers/net/wireless/iwlwifi/mvm/
Dtdls.c596 mvm->tdls_cs.peer.skb = skb_copy(tmpl_skb, GFP_KERNEL); in iwl_mvm_tdls_channel_switch()
/linux-4.4.14/net/sctp/
Dulpqueue.c359 new = skb_copy(f_frag, GFP_ATOMIC); in sctp_make_reassembled_event()
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
Dtxrx.c593 xmit_skb = skb_copy(skb, GFP_ATOMIC); in wil_netif_rx_any()
1054 skb2 = skb_copy(skb, GFP_ATOMIC); in wil_find_tx_bcast_2()
/linux-4.4.14/net/mac80211/
Dmesh_pathtbl.c309 skb = skb_copy(fskb, GFP_ATOMIC); in mesh_path_move_to_queue()
Drx.c2118 xmit_skb = skb_copy(skb, GFP_ATOMIC); in ieee80211_deliver_skb()
2338 fwd_skb = skb_copy(skb, GFP_ATOMIC); in ieee80211_rx_h_mesh_fwding()
3429 skb = skb_copy(skb, GFP_ATOMIC); in ieee80211_prepare_and_rx_handle()
Dtdls.c1047 sdata->u.mgd.teardown_skb = skb_copy(skb, GFP_ATOMIC); in ieee80211_tdls_prep_mgmt_packet()
Dtx.c3537 copy = skb_copy(bcn, GFP_ATOMIC); in ieee80211_beacon_get_tim()
Dcfg.c3277 ack_skb = skb_copy(skb, gfp); in ieee80211_make_ack_skb()
/linux-4.4.14/net/can/
Dgw.c396 nskb = skb_copy(skb, GFP_ATOMIC); in can_can_gw_rcv()
/linux-4.4.14/include/linux/
Dskbuff.h868 struct sk_buff *skb_copy(const struct sk_buff *skb, gfp_t priority);
1350 struct sk_buff *nskb = skb_copy(skb, pri); in skb_unshare()
/linux-4.4.14/net/core/
Dskbuff.c1016 struct sk_buff *skb_copy(const struct sk_buff *skb, gfp_t gfp_mask) in skb_copy() function
1037 EXPORT_SYMBOL(skb_copy);
3537 skb2 = skb_copy(skb1, GFP_ATOMIC); in skb_cow_data()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c455 trans_skb = skb_copy(skb, GFP_KERNEL); in mlxsw_emad_transmit()
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c430 new_skb = skb_copy(skb, GFP_ATOMIC); in __lb_other_process()
Dhns_enet.c129 new_skb = skb_copy(skb, GFP_ATOMIC); in hns_nic_net_xmit_hw()
/linux-4.4.14/net/decnet/
Ddn_dev.c964 struct sk_buff *skb2 = skb_copy(skb, GFP_ATOMIC); in dn_send_router_hello()
/linux-4.4.14/net/appletalk/
Dddp.c1679 struct sk_buff *skb2 = skb_copy(skb, GFP_KERNEL); in atalk_sendmsg()
/linux-4.4.14/kernel/
Daudit.c470 copy = skb_copy(skb, gfp_mask); in kauditd_send_multicast_skb()
/linux-4.4.14/net/ipx/
Daf_ipx.c839 struct sk_buff *s = skb_copy(skb, GFP_ATOMIC); in ipxitf_pprop()
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dtxrx.c1576 skb1 = skb_copy(skb, GFP_ATOMIC); in ath6kl_rx()
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c804 rxb->subframes[0] = skb_copy(skb, GFP_ATOMIC); in parse_subframe()
/linux-4.4.14/net/netlink/
Daf_netlink.c2894 skb = skb_copy(skb, GFP_KERNEL); in __netlink_dump_start()
/linux-4.4.14/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.4.14/net/ipv4/
Dtcp_output.c2917 struct sk_buff *nskb = skb_copy(skb, GFP_ATOMIC); in tcp_send_synack()
/linux-4.4.14/net/key/
Daf_key.c1841 skb = skb_copy(skb, GFP_KERNEL); in pfkey_promisc()
/linux-4.4.14/drivers/net/wireless/ipw2x00/
Dipw2200.c7998 skb = skb_copy(rxb->skb, GFP_ATOMIC); in ipw_handle_promiscuous_rx()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dtg3.c7793 new_skb = skb_copy(skb, GFP_ATOMIC); in tigon3_dma_hwbug_workaround()