Home
last modified time | relevance | path

Searched refs:hcp_skb (Results 1 – 2 of 2) sorted by relevance

/linux/net/nfc/nci/
H A Dhci.c433 struct sk_buff *hcp_skb; in nci_hci_data_received_cb() local
464 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 …]
/linux/net/nfc/hci/
H A Dcore.c859 struct sk_buff *hcp_skb; in nfc_hci_recv_from_llc() local
886 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 …]