Lines Matching refs:skb_copy
194 struct sk_buff *skb_copy = NULL; in hci_send_to_sock() local
232 if (!skb_copy) { in hci_send_to_sock()
234 skb_copy = __pskb_copy_fclone(skb, 1, GFP_ATOMIC, true); in hci_send_to_sock()
235 if (!skb_copy) in hci_send_to_sock()
239 memcpy(skb_push(skb_copy, 1), &hci_skb_pkt_type(skb), 1); in hci_send_to_sock()
242 nskb = skb_clone(skb_copy, GFP_ATOMIC); in hci_send_to_sock()
252 kfree_skb(skb_copy); in hci_send_to_sock()
301 struct sk_buff *skb_copy = NULL; in hci_send_to_monitor() local
343 skb_copy = __pskb_copy_fclone(skb, HCI_MON_HDR_SIZE, GFP_ATOMIC, true); in hci_send_to_monitor()
344 if (!skb_copy) in hci_send_to_monitor()
348 hdr = skb_push(skb_copy, HCI_MON_HDR_SIZE); in hci_send_to_monitor()
353 hci_send_to_channel(HCI_CHANNEL_MONITOR, skb_copy, in hci_send_to_monitor()
355 kfree_skb(skb_copy); in hci_send_to_monitor()