Home
last modified time | relevance | path

Searched refs:hci_skb_expect (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/bluetooth/
Dh4_recv.h80 hci_skb_expect(skb) = (&pkts[i])->hlen; in h4_recv_buf()
92 len = min_t(uint, hci_skb_expect(skb) - skb->len, count); in h4_recv_buf()
99 if (skb->len < hci_skb_expect(skb)) in h4_recv_buf()
123 hci_skb_expect(skb) += dlen; in h4_recv_buf()
134 hci_skb_expect(skb) += dlen; in h4_recv_buf()
Dhci_h4.c199 hci_skb_expect(skb) = (&pkts[i])->hlen; in h4_recv_buf()
211 len = min_t(uint, hci_skb_expect(skb) - skb->len, count); in h4_recv_buf()
218 if (skb->len < hci_skb_expect(skb)) in h4_recv_buf()
242 hci_skb_expect(skb) += dlen; in h4_recv_buf()
253 hci_skb_expect(skb) += dlen; in h4_recv_buf()
Dbtusb.c530 hci_skb_expect(skb) = HCI_EVENT_HDR_SIZE; in btusb_recv_intr()
533 len = min_t(uint, hci_skb_expect(skb), count); in btusb_recv_intr()
538 hci_skb_expect(skb) -= len; in btusb_recv_intr()
542 hci_skb_expect(skb) = hci_event_hdr(skb)->plen; in btusb_recv_intr()
544 if (skb_tailroom(skb) < hci_skb_expect(skb)) { in btusb_recv_intr()
553 if (!hci_skb_expect(skb)) { in btusb_recv_intr()
586 hci_skb_expect(skb) = HCI_ACL_HDR_SIZE; in btusb_recv_bulk()
589 len = min_t(uint, hci_skb_expect(skb), count); in btusb_recv_bulk()
594 hci_skb_expect(skb) -= len; in btusb_recv_bulk()
600 hci_skb_expect(skb) = __le16_to_cpu(dlen); in btusb_recv_bulk()
[all …]
/Linux-v4.19/include/net/bluetooth/
Dbluetooth.h332 #define hci_skb_expect(skb) bt_cb((skb))->expect macro