/Zephyr-latest/subsys/usb/device_next/ |
D | usbd_ch9.c | 442 if (net_buf_tailroom(buf) < setup->wLength) { in sreq_get_status() 506 net_buf_add_mem(buf, cfg_desc, MIN(net_buf_tailroom(buf), cfg_desc->bLength)); in sreq_get_desc_cfg() 517 len = MIN(net_buf_tailroom(buf), (*dhp)->bLength); in sreq_get_desc_cfg() 589 wLength, head.bLength, net_buf_tailroom(buf)); in string_ascii7_to_utf16le() 591 len = MIN(net_buf_tailroom(buf), MIN(head.bLength, wLength)); in string_ascii7_to_utf16le() 616 len = MIN(setup->wLength, net_buf_tailroom(buf)); in sreq_get_desc_dev() 657 len = MIN(setup->wLength, net_buf_tailroom(buf)); in sreq_get_desc_str() 698 len = MIN(setup->wLength, net_buf_tailroom(buf)); in sreq_get_dev_qualifier() 749 len = MIN(net_buf_tailroom(buf), MIN(setup->wLength, bos.wTotalLength)); in sreq_get_desc_bos() 752 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/bluetooth/hci_ipc/src/ |
D | main.c | 79 if (remaining > net_buf_tailroom(buf)) { in hci_ipc_cmd_recv() 116 if (remaining > net_buf_tailroom(buf)) { in hci_ipc_acl_recv() 153 if (remaining > net_buf_tailroom(buf)) { in hci_ipc_iso_recv()
|
/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 | 106 buf_tailroom = net_buf_tailroom(buf); in bt_ipc_evt_recv() 147 buf_tailroom = net_buf_tailroom(buf); in bt_ipc_acl_recv() 197 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_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 | 262 space_in_buffer = net_buf_tailroom(buf); in bt_evt_recv() 302 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()
|
D | h4.c | 243 if (h4->rx.remaining > net_buf_tailroom(h4->rx.buf)) { in rx_thread() 314 buf_tailroom = net_buf_tailroom(h4->rx.buf); in read_payload() 384 if (h4->rx.remaining > net_buf_tailroom(h4->rx.buf)) { in read_header()
|
/Zephyr-latest/drivers/usb/uhc/ |
D | uhc_virtual.c | 104 length = MIN(net_buf_tailroom(buf), xfer->mps); in vrt_xfer_control() 163 length = MIN(net_buf_tailroom(buf), xfer->mps); in vrt_xfer_bulk() 239 length = MIN(net_buf_tailroom(buf), pkt->length); in vrt_hrslt_success() 246 LOG_DBG("IN chunk %zu out of %zu", length, net_buf_tailroom(buf)); in vrt_hrslt_success() 247 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() 478 if (bc > net_buf_tailroom(buf)) { in max3421e_hrslt_success() 480 bc - net_buf_tailroom(buf)); in max3421e_hrslt_success() 483 len = MIN(net_buf_tailroom(buf), bc); in max3421e_hrslt_success() 490 LOG_INF("bc %u tr %u", bc, net_buf_tailroom(buf)); in max3421e_hrslt_success() 492 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()
|
/Zephyr-latest/subsys/bluetooth/host/classic/shell/ |
D | rfcomm.c | 207 len = MIN(rfcomm_dlc.mtu, net_buf_tailroom(buf) - 1); in cmd_send()
|
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/ |
D | smp_shell.c | 159 if (data->buf && net_buf_tailroom(data->buf) > 0) { in smp_shell_rx_bytes()
|
/Zephyr-latest/drivers/usb/udc/ |
D | udc_virtual.c | 181 min_len = MIN(pkt->length, net_buf_tailroom(buf)); in vrt_handle_out() 184 LOG_DBG("Handle data OUT, %zu | %zu", pkt->length, net_buf_tailroom(buf)); in vrt_handle_out() 186 if (net_buf_tailroom(buf) == 0 || pkt->length < udc_mps_ep_size(ep_cfg)) { in vrt_handle_out()
|