Home
last modified time | relevance | path

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

12

/Linux-v5.4/net/nfc/
Drawsock.c361 struct sk_buff *skb_copy = NULL, *nskb; in nfc_send_to_raw_sock() local
368 if (!skb_copy) { in nfc_send_to_raw_sock()
369 skb_copy = __pskb_copy_fclone(skb, NFC_RAW_HEADER_SIZE, in nfc_send_to_raw_sock()
371 if (!skb_copy) in nfc_send_to_raw_sock()
374 data = skb_push(skb_copy, NFC_RAW_HEADER_SIZE); in nfc_send_to_raw_sock()
381 nskb = skb_clone(skb_copy, GFP_ATOMIC); in nfc_send_to_raw_sock()
391 kfree_skb(skb_copy); in nfc_send_to_raw_sock()
Dllcp_core.c677 struct sk_buff *skb_copy = NULL, *nskb; in nfc_llcp_send_to_raw_sock() local
687 if (skb_copy == NULL) { in nfc_llcp_send_to_raw_sock()
688 skb_copy = __pskb_copy_fclone(skb, NFC_RAW_HEADER_SIZE, in nfc_llcp_send_to_raw_sock()
691 if (skb_copy == NULL) in nfc_llcp_send_to_raw_sock()
694 data = skb_push(skb_copy, NFC_RAW_HEADER_SIZE); in nfc_llcp_send_to_raw_sock()
701 nskb = skb_clone(skb_copy, GFP_ATOMIC); in nfc_llcp_send_to_raw_sock()
711 kfree_skb(skb_copy); in nfc_llcp_send_to_raw_sock()
750 copy_skb = skb_copy(skb, GFP_ATOMIC); in nfc_llcp_tx_work()
/Linux-v5.4/net/bluetooth/
Dhci_sock.c194 struct sk_buff *skb_copy = NULL; in hci_send_to_sock() local
230 if (!skb_copy) { in hci_send_to_sock()
232 skb_copy = __pskb_copy_fclone(skb, 1, GFP_ATOMIC, true); in hci_send_to_sock()
233 if (!skb_copy) in hci_send_to_sock()
237 memcpy(skb_push(skb_copy, 1), &hci_skb_pkt_type(skb), 1); in hci_send_to_sock()
240 nskb = skb_clone(skb_copy, GFP_ATOMIC); in hci_send_to_sock()
250 kfree_skb(skb_copy); in hci_send_to_sock()
299 struct sk_buff *skb_copy = NULL; in hci_send_to_monitor() local
335 skb_copy = __pskb_copy_fclone(skb, HCI_MON_HDR_SIZE, GFP_ATOMIC, true); in hci_send_to_monitor()
336 if (!skb_copy) in hci_send_to_monitor()
[all …]
D6lowpan.c267 skb_cp = skb_copy(skb, GFP_ATOMIC); in give_skb_to_upper()
/Linux-v5.4/net/x25/
Dx25_dev.c103 nskb = skb_copy(skb, GFP_ATOMIC); in x25_lapb_receive_frame()
/Linux-v5.4/net/ax25/
Dax25_ip.c151 if ((ourskb = skb_copy(skb, GFP_ATOMIC)) == NULL) { in ax25_ip_xmit()
Dax25_in.c116 struct sk_buff *skbn = skb_copy(skb, GFP_ATOMIC); in ax25_rx_iframe()
/Linux-v5.4/drivers/net/wireless/marvell/mwifiex/
Duap_txrx.c257 skb_uap = skb_copy(skb, GFP_ATOMIC); in mwifiex_handle_uap_rx_forward()
297 skb_uap = skb_copy(skb, GFP_ATOMIC); in mwifiex_uap_recv_packet()
/Linux-v5.4/net/batman-adv/
Dmulticast.c1468 newskb = skb_copy(skb, GFP_ATOMIC); in batadv_mcast_forw_tt()
1510 newskb = skb_copy(skb, GFP_ATOMIC); in batadv_mcast_forw_want_all_ipv4()
1548 newskb = skb_copy(skb, GFP_ATOMIC); in batadv_mcast_forw_want_all_ipv6()
1615 newskb = skb_copy(skb, GFP_ATOMIC); in batadv_mcast_forw_want_all_rtr4()
1653 newskb = skb_copy(skb, GFP_ATOMIC); in batadv_mcast_forw_want_all_rtr6()
Dbat_v_elp.c282 skb = skb_copy(hard_iface->bat_v.elp_skb, GFP_ATOMIC); in batadv_v_elp_periodic_work()
Dsend.c768 newskb = skb_copy(skb, GFP_ATOMIC); in batadv_add_bcast_packet_to_list()
/Linux-v5.4/drivers/staging/rtl8188eu/os_dep/
Dxmit_linux.c135 newskb = skb_copy(skb, GFP_ATOMIC); in rtw_mlcst2unicst()
/Linux-v5.4/drivers/staging/rtl8723bs/os_dep/
Dosdep_service.c47 return skb_copy(skb, in_interrupt() ? GFP_ATOMIC : GFP_KERNEL); in _rtw_skb_copy()
/Linux-v5.4/net/bridge/
Dbr_forward.c256 skb = skb_copy(skb, GFP_ATOMIC); in maybe_deliver_addr()
/Linux-v5.4/drivers/staging/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-v5.4/drivers/isdn/mISDN/
Dstack.c69 cskb = skb_copy(skb, GFP_ATOMIC); in send_socklist()
98 cskb = skb_copy(skb, GFP_KERNEL); in send_layer2()
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Dtdls.c587 mvm->tdls_cs.peer.skb = skb_copy(tmpl_skb, GFP_KERNEL); in iwl_mvm_tdls_channel_switch()
/Linux-v5.4/net/mac80211/
Dmesh_pathtbl.c186 skb = skb_copy(fskb, GFP_ATOMIC); in mesh_path_move_to_queue()
Drx.c276 skb = skb_copy(skb, GFP_ATOMIC); in ieee80211_handle_mu_mimo_mon()
2503 xmit_skb = skb_copy(skb, GFP_ATOMIC); in ieee80211_deliver_skb()
4303 xmit_skb = skb_copy(skb, GFP_ATOMIC); in ieee80211_invoke_fast_rx()
4375 skb = skb_copy(skb, GFP_ATOMIC); in ieee80211_prepare_and_rx_handle()
/Linux-v5.4/net/sctp/
Dulpqueue.c351 new = skb_copy(f_frag, GFP_ATOMIC); in sctp_make_reassembled_event()
/Linux-v5.4/net/ipv6/
Dicmp.c627 skb2 = data_len ? skb_copy(skb, GFP_ATOMIC) : skb_clone(skb, GFP_ATOMIC); in ip6_err_gen_icmpv6_unreach()
/Linux-v5.4/drivers/net/wireless/ath/wil6210/
Dtxrx.c943 xmit_skb = skb_copy(skb, GFP_ATOMIC); in wil_netif_rx()
1609 skb2 = skb_copy(skb, GFP_ATOMIC); in wil_find_tx_bcast_2()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c224 new_skb = skb_copy(skb, GFP_ATOMIC); in hns_nic_maybe_stop_tx()
265 new_skb = skb_copy(skb, GFP_ATOMIC); in hns_nic_maybe_stop_tso()
Dhns_ethtool.c416 new_skb = skb_copy(skb, GFP_ATOMIC); in __lb_other_process()
/Linux-v5.4/net/decnet/
Ddn_dev.c969 struct sk_buff *skb2 = skb_copy(skb, GFP_ATOMIC); in dn_send_router_hello()

12