Searched refs:hcp_skb (Results 1 – 2 of 2) sorted by relevance
433 struct sk_buff *hcp_skb; in nci_hci_data_received_cb() local464 hcp_skb = nfc_alloc_recv_skb(NCI_HCI_HCP_PACKET_HEADER_LEN + in nci_hci_data_received_cb()466 if (!hcp_skb) { in nci_hci_data_received_cb()471 skb_put_u8(hcp_skb, pipe); in nci_hci_data_received_cb()475 skb_put_data(hcp_skb, in nci_hci_data_received_cb()483 hcp_skb = skb; in nci_hci_data_received_cb()490 if (!pskb_may_pull(hcp_skb, NCI_HCI_HCP_HEADER_LEN)) { in nci_hci_data_received_cb()491 kfree_skb(hcp_skb); in nci_hci_data_received_cb()495 packet = (struct nci_hcp_packet *)hcp_skb->data; in nci_hci_data_received_cb()499 skb_pull(hcp_skb, NCI_HCI_HCP_PACKET_HEADER_LEN); in nci_hci_data_received_cb()[all …]
859 struct sk_buff *hcp_skb; in nfc_hci_recv_from_llc() local886 hcp_skb = nfc_alloc_recv_skb(NFC_HCI_HCP_PACKET_HEADER_LEN + in nfc_hci_recv_from_llc()888 if (hcp_skb == NULL) { in nfc_hci_recv_from_llc()893 skb_put_u8(hcp_skb, pipe); in nfc_hci_recv_from_llc()897 skb_put_data(hcp_skb, in nfc_hci_recv_from_llc()905 hcp_skb = skb; in nfc_hci_recv_from_llc()912 if (!pskb_may_pull(hcp_skb, NFC_HCI_HCP_HEADER_LEN)) { in nfc_hci_recv_from_llc()913 kfree_skb(hcp_skb); in nfc_hci_recv_from_llc()917 packet = (struct hcp_packet *)hcp_skb->data; in nfc_hci_recv_from_llc()922 skb_pull(hcp_skb, NFC_HCI_HCP_PACKET_HEADER_LEN + in nfc_hci_recv_from_llc()[all …]