Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/bluetooth/
Dh4_recv.h66 hci_skb_expect(skb) = (&pkts[i])->hlen; in h4_recv_buf()
78 len = min_t(uint, hci_skb_expect(skb) - skb->len, count); in h4_recv_buf()
85 if (skb->len < hci_skb_expect(skb)) in h4_recv_buf()
109 hci_skb_expect(skb) += dlen; in h4_recv_buf()
120 hci_skb_expect(skb) += dlen; in h4_recv_buf()
Dhci_h4.c187 hci_skb_expect(skb) = (&pkts[i])->hlen; in h4_recv_buf()
199 len = min_t(uint, hci_skb_expect(skb) - skb->len, count); in h4_recv_buf()
206 if (skb->len < hci_skb_expect(skb)) in h4_recv_buf()
230 hci_skb_expect(skb) += dlen; in h4_recv_buf()
241 hci_skb_expect(skb) += dlen; in h4_recv_buf()
Dbtusb.c1092 hci_skb_expect(skb) = HCI_EVENT_HDR_SIZE; in btusb_recv_intr()
1095 len = min_t(uint, hci_skb_expect(skb), count); in btusb_recv_intr()
1100 hci_skb_expect(skb) -= len; in btusb_recv_intr()
1104 hci_skb_expect(skb) = hci_event_hdr(skb)->plen; in btusb_recv_intr()
1106 if (skb_tailroom(skb) < hci_skb_expect(skb)) { in btusb_recv_intr()
1115 if (!hci_skb_expect(skb)) { in btusb_recv_intr()
1162 hci_skb_expect(skb) = HCI_ACL_HDR_SIZE; in btusb_recv_bulk()
1165 len = min_t(uint, hci_skb_expect(skb), count); in btusb_recv_bulk()
1170 hci_skb_expect(skb) -= len; in btusb_recv_bulk()
1176 hci_skb_expect(skb) = __le16_to_cpu(dlen); in btusb_recv_bulk()
[all …]
/linux-6.6.21/include/net/bluetooth/
Dbluetooth.h478 #define hci_skb_expect(skb) bt_cb((skb))->expect macro