Searched refs:hci_skb_expect (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/bluetooth/ |
H A D | h4_recv.h | 73 hci_skb_expect(skb) = (&pkts[i])->hlen; in h4_recv_buf() 85 len = min_t(uint, hci_skb_expect(skb) - skb->len, count); in h4_recv_buf() 92 if (skb->len < hci_skb_expect(skb)) in h4_recv_buf() 116 hci_skb_expect(skb) += dlen; in h4_recv_buf() 127 hci_skb_expect(skb) += dlen; in h4_recv_buf()
|
H A D | hci_h4.c | 187 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()
|
H A D | btusb.c | 1171 hci_skb_expect(skb) = HCI_EVENT_HDR_SIZE; in btusb_recv_intr() 1174 len = min_t(uint, hci_skb_expect(skb), count); in btusb_recv_intr() 1179 hci_skb_expect(skb) -= len; in btusb_recv_intr() 1183 hci_skb_expect(skb) = hci_event_hdr(skb)->plen; in btusb_recv_intr() 1185 if (skb_tailroom(skb) < hci_skb_expect(skb)) { in btusb_recv_intr() 1194 if (!hci_skb_expect(skb)) { in btusb_recv_intr() 1241 hci_skb_expect(skb) = HCI_ACL_HDR_SIZE; in btusb_recv_bulk() 1244 len = min_t(uint, hci_skb_expect(skb), count); in btusb_recv_bulk() 1249 hci_skb_expect(skb) -= len; in btusb_recv_bulk() 1255 hci_skb_expect(sk in btusb_recv_bulk() [all...] |
H A D | btmtk.c | 1083 hci_skb_expect(skb) = HCI_ISO_HDR_SIZE; in btmtk_recv_isopkt() 1086 len = min_t(uint, hci_skb_expect(skb), count); in btmtk_recv_isopkt() 1091 hci_skb_expect(skb) -= len; in btmtk_recv_isopkt() 1097 hci_skb_expect(skb) = __le16_to_cpu(dlen); in btmtk_recv_isopkt() 1099 if (skb_tailroom(skb) < hci_skb_expect(skb)) { in btmtk_recv_isopkt() 1108 if (!hci_skb_expect(skb)) { in btmtk_recv_isopkt()
|
/linux/include/net/bluetooth/ |
H A D | bluetooth.h | 500 #define hci_skb_expect(skb) bt_cb((skb))->expect macro
|