Lines Matching refs:skb_copy
205 struct sk_buff *skb_copy = NULL; in hci_send_to_sock() local
243 if (!skb_copy) { in hci_send_to_sock()
245 skb_copy = __pskb_copy_fclone(skb, 1, GFP_ATOMIC, true); in hci_send_to_sock()
246 if (!skb_copy) in hci_send_to_sock()
250 memcpy(skb_push(skb_copy, 1), &hci_skb_pkt_type(skb), 1); in hci_send_to_sock()
253 nskb = skb_clone(skb_copy, GFP_ATOMIC); in hci_send_to_sock()
263 kfree_skb(skb_copy); in hci_send_to_sock()
312 struct sk_buff *skb_copy = NULL; in hci_send_to_monitor() local
354 skb_copy = __pskb_copy_fclone(skb, HCI_MON_HDR_SIZE, GFP_ATOMIC, true); in hci_send_to_monitor()
355 if (!skb_copy) in hci_send_to_monitor()
359 hdr = skb_push(skb_copy, HCI_MON_HDR_SIZE); in hci_send_to_monitor()
364 hci_send_to_channel(HCI_CHANNEL_MONITOR, skb_copy, in hci_send_to_monitor()
366 kfree_skb(skb_copy); in hci_send_to_monitor()