| /Zephyr-latest/subsys/usb/device_next/ |
| D | usbd_ch9.c | 444 if (net_buf_tailroom(buf) < setup->wLength) { in sreq_get_status() 508 net_buf_add_mem(buf, cfg_desc, MIN(net_buf_tailroom(buf), cfg_desc->bLength)); in sreq_get_desc_cfg() 519 len = MIN(net_buf_tailroom(buf), (*dhp)->bLength); in sreq_get_desc_cfg() 591 wLength, head.bLength, net_buf_tailroom(buf)); in string_ascii7_to_utf16le() 593 len = MIN(net_buf_tailroom(buf), MIN(head.bLength, wLength)); in string_ascii7_to_utf16le() 618 len = MIN(setup->wLength, net_buf_tailroom(buf)); in sreq_get_desc_dev() 659 len = MIN(setup->wLength, net_buf_tailroom(buf)); in sreq_get_desc_str() 700 len = MIN(setup->wLength, net_buf_tailroom(buf)); in sreq_get_dev_qualifier() 751 len = MIN(net_buf_tailroom(buf), MIN(setup->wLength, bos.wTotalLength)); in sreq_get_desc_bos() 754 setup->wLength, bos.bLength, bos.wTotalLength, net_buf_tailroom(buf)); in sreq_get_desc_bos() [all …]
|
| /Zephyr-latest/tests/subsys/mgmt/mcumgr/mcumgr_client/src/ |
| D | img_gr_stub.c | 53 zcbor_new_encode_state(zse, ARRAY_SIZE(zse), nb->data, net_buf_tailroom(nb), 0); in img_upload_response() 86 zcbor_new_encode_state(zse, ARRAY_SIZE(zse), nb->data, net_buf_tailroom(nb), 0); in img_fail_response() 110 zcbor_new_encode_state(zse, ARRAY_SIZE(zse), nb->data, net_buf_tailroom(nb), 0); in img_read_response() 159 zcbor_new_encode_state(zse, ARRAY_SIZE(zse), nb->data, net_buf_tailroom(nb), 0); in img_erase_response()
|
| D | os_gr_stub.c | 52 zcbor_new_encode_state(zse, ARRAY_SIZE(zse), nb->data, net_buf_tailroom(nb), 0); in os_echo_response()
|
| /Zephyr-latest/samples/subsys/usb/webusb-next/src/ |
| D | webusb.h | 79 MIN(net_buf_tailroom(buf), sizeof(webusb_origin_url))); in webusb_to_host_cb()
|
| D | msosv2.h | 127 MIN(net_buf_tailroom(buf), sizeof(msosv2_desc))); in msosv2_to_host_cb()
|
| /Zephyr-latest/tests/bluetooth/at/src/ |
| D | main.c | 62 zassert_true(net_buf_tailroom(buf) >= len, in ZTEST()
|
| /Zephyr-latest/samples/subsys/dap/src/ |
| D | webusb.h | 81 MIN(net_buf_tailroom(buf), sizeof(webusb_origin_url))); in webusb_to_host_cb()
|
| D | msosv2.h | 127 MIN(net_buf_tailroom(buf), sizeof(msosv2_desc))); in msosv2_to_host_cb()
|
| /Zephyr-latest/drivers/bluetooth/hci/ |
| D | hci_esp32.c | 91 buf_tailroom = net_buf_tailroom(buf); in bt_esp_evt_recv() 132 buf_tailroom = net_buf_tailroom(buf); in bt_esp_acl_recv() 174 buf_tailroom = net_buf_tailroom(buf); in bt_esp_iso_recv()
|
| D | ipc.c | 119 buf_tailroom = net_buf_tailroom(buf); in bt_ipc_evt_recv() 161 buf_tailroom = net_buf_tailroom(buf); in bt_ipc_acl_recv() 212 buf_tailroom = net_buf_tailroom(buf); in bt_ipc_iso_recv()
|
| D | hci_stm32wba.c | 138 buf_tailroom = net_buf_tailroom(buf); in treat_evt() 179 buf_tailroom = net_buf_tailroom(buf); in treat_acl() 221 buf_tailroom = net_buf_tailroom(buf); in treat_iso()
|
| D | hci_da1469x.c | 233 if (rx.remaining > net_buf_tailroom(rx.buf)) { in rx_thread() 303 buf_tailroom = net_buf_tailroom(rx.buf); in read_payload() 369 if (rx.remaining > net_buf_tailroom(rx.buf)) { in read_header()
|
| D | hci_stm32wb0.c | 325 if (len > net_buf_tailroom(buf)) { in get_rx() 338 if (len > net_buf_tailroom(buf)) { in get_rx() 356 if (len > net_buf_tailroom(buf)) { in get_rx()
|
| D | hci_silabs_siwx91x.c | 101 if (buf && (len <= net_buf_tailroom(buf))) { in siwx91x_bt_resp_rcvd()
|
| D | hci_ambiq.c | 240 buf_tailroom = net_buf_tailroom(buf); in bt_hci_evt_recv() 280 buf_tailroom = net_buf_tailroom(buf); in bt_hci_acl_recv()
|
| D | hci_nxp.c | 260 space_in_buffer = net_buf_tailroom(buf); in bt_evt_recv() 300 if (len > net_buf_tailroom(buf)) { in bt_acl_recv()
|
| D | spi.c | 215 if (len > net_buf_tailroom(buf)) { in bt_spi_rx_buf_construct() 226 if (len > net_buf_tailroom(buf)) { in bt_spi_rx_buf_construct()
|
| D | hci_spi_st.c | 448 if (len > net_buf_tailroom(buf)) { in bt_spi_rx_buf_construct() 466 if (len > net_buf_tailroom(buf)) { in bt_spi_rx_buf_construct() 485 if (len > net_buf_tailroom(buf)) { in bt_spi_rx_buf_construct()
|
| /Zephyr-latest/samples/bluetooth/hci_ipc/src/ |
| D | main.c | 82 if (remaining > net_buf_tailroom(buf)) { in hci_ipc_cmd_recv() 119 if (remaining > net_buf_tailroom(buf)) { in hci_ipc_acl_recv() 156 if (remaining > net_buf_tailroom(buf)) { in hci_ipc_iso_recv()
|
| /Zephyr-latest/lib/utils/ |
| D | cobs.c | 19 if (net_buf_tailroom(dst) < max_encoded_size) { in cobs_encode()
|
| /Zephyr-latest/drivers/usb/uhc/ |
| D | uhc_virtual.c | 116 length = MIN(net_buf_tailroom(buf), xfer->mps); in vrt_xfer_control() 173 length = MIN(net_buf_tailroom(buf), xfer->mps); in vrt_xfer_bulk() 321 length = MIN(net_buf_tailroom(buf), pkt->length); in vrt_hrslt_success() 328 LOG_DBG("IN chunk %zu out of %zu", length, net_buf_tailroom(buf)); in vrt_hrslt_success() 329 if (pkt->length < xfer->mps || !net_buf_tailroom(buf)) { in vrt_hrslt_success()
|
| D | uhc_max3421e.c | 279 LOG_DBG("bulk in %p %u", buf, net_buf_tailroom(buf)); in max3421e_xfer_data() 489 if (bc > net_buf_tailroom(buf)) { in max3421e_hrslt_success() 491 bc - net_buf_tailroom(buf)); in max3421e_hrslt_success() 494 len = MIN(net_buf_tailroom(buf), bc); in max3421e_hrslt_success() 501 LOG_INF("bc %u tr %u", bc, net_buf_tailroom(buf)); in max3421e_hrslt_success() 503 if (bc < MAX3421E_MAX_EP_SIZE || !net_buf_tailroom(buf)) { in max3421e_hrslt_success()
|
| /Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt_client/src/ |
| D | img_mgmt_client.c | 375 net_buf_tailroom(nb), 0); in img_mgmt_client_upload() 475 zcbor_new_encode_state(zse, ARRAY_SIZE(zse), nb->data + nb->len, net_buf_tailroom(nb), 0); in img_mgmt_client_state_write() 540 zcbor_new_encode_state(zse, ARRAY_SIZE(zse), nb->data + nb->len, net_buf_tailroom(nb), 0); in img_mgmt_client_state_read() 583 zcbor_new_encode_state(zse, ARRAY_SIZE(zse), nb->data + nb->len, net_buf_tailroom(nb), 0); in img_mgmt_client_erase()
|
| /Zephyr-latest/samples/boards/st/bluetooth/interactive_gui/src/ |
| D | main.c | 149 if (len > net_buf_tailroom(buf)) { in send_evt() 300 if (remaining > net_buf_tailroom(buf)) { in rx_isr()
|
| /Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt_client/src/ |
| D | os_mgmt_client.c | 138 zcbor_new_encode_state(zse, ARRAY_SIZE(zse), nb->data + nb->len, net_buf_tailroom(nb), 0); in os_mgmt_client_echo()
|