/Zephyr-Core-3.5.0/subsys/shell/ |
D | shell_history.c | 110 uint32_t total_len; in remove_from_tail() local 121 total_len = offsetof(struct shell_history_item, data) + in remove_from_tail() 123 ring_buf_get(history->ring_buf, NULL, total_len); in remove_from_tail() 139 uint32_t total_len = len + offsetof(struct shell_history_item, data); in z_shell_history_put() local 142 uint16_t padding = (~total_len + 1) & (sizeof(void *) - 1); in z_shell_history_put() 145 total_len += padding; in z_shell_history_put() 147 if (total_len > ring_buf_capacity_get(history->ring_buf)) { in z_shell_history_put() 180 (uint8_t **)&h_item, total_len); in z_shell_history_put() 184 if (claim_len < total_len) { in z_shell_history_put() 187 (uint8_t **)&h_item, total_len); in z_shell_history_put() [all …]
|
/Zephyr-Core-3.5.0/subsys/bluetooth/host/ |
D | data.c | 50 size_t total_len = 0; in bt_data_get_len() local 53 total_len += sizeof(data[i].data_len) + sizeof(data[i].type) + data[i].data_len; in bt_data_get_len() 56 return total_len; in bt_data_get_len()
|
D | monitor.c | 269 size_t total_len; member 278 for (i = 0; i < length && ctx->total_len < sizeof(ctx->msg); i++) { in monitor_log_out() 287 ctx->msg[ctx->total_len++] = data[i]; in monitor_log_out() 324 ctx.total_len = 0; in monitor_log_process() 335 sizeof(user_log) + sizeof(id) + ctx.total_len + 1); in monitor_log_process() 343 monitor_send(ctx.msg, ctx.total_len); in monitor_log_process()
|
/Zephyr-Core-3.5.0/tests/net/ipv6_fragment/src/ |
D | main.c | 1040 size_t total_len = net_pkt_get_len(pkt); in verify_fragment() local 1042 total_len -= sizeof(struct net_ipv6_hdr); in verify_fragment() 1044 ipv6_first_frag[4] = total_len / 256; in verify_fragment() 1045 ipv6_first_frag[5] = total_len - in verify_fragment() 1048 if ((total_len / 256) != pkt->buffer->data[4]) { in verify_fragment() 1053 if ((total_len - pkt->buffer->data[4] * 256U) != in verify_fragment() 1072 pkt_recv_data_len += total_len - 8 /* HBHO */ - in verify_fragment() 1092 size_t total_len = net_pkt_get_len(pkt); in verify_fragment() local 1094 total_len -= sizeof(struct net_ipv6_hdr); in verify_fragment() 1096 ipv6_second_frag[4] = total_len / 256; in verify_fragment() [all …]
|
/Zephyr-Core-3.5.0/subsys/net/lib/mqtt/ |
D | mqtt_transport_socket_tcp.c | 91 size_t total_len = 0; in mqtt_client_tcp_write_msg() local 94 total_len += message->msg_iov[i].iov_len; in mqtt_client_tcp_write_msg() 97 while (offset < total_len) { in mqtt_client_tcp_write_msg() 104 if (offset >= total_len) { in mqtt_client_tcp_write_msg()
|
D | mqtt_transport_socket_tls.c | 134 size_t total_len = 0; in mqtt_client_tls_write_msg() local 137 total_len += message->msg_iov[i].iov_len; in mqtt_client_tls_write_msg() 140 while (offset < total_len) { in mqtt_client_tls_write_msg() 147 if (offset >= total_len) { in mqtt_client_tls_write_msg()
|
/Zephyr-Core-3.5.0/drivers/ethernet/ |
D | eth_gecko.c | 144 uint16_t frag_len, total_len; in frame_get() local 155 total_len = 0; in frame_get() 178 total_len += (dma_rx_desc_tab[j].status & in frame_get() 190 rx_buf_idx, total_len); in frame_get() 196 total_len, AF_UNSPEC, 0, K_NO_WAIT); in frame_get() 208 while (total_len) { in frame_get() 209 frag_len = MIN(total_len, ETH_RX_BUF_SIZE); in frame_get() 224 total_len -= frag_len; in frame_get() 269 uint16_t total_len; in eth_tx() local 281 total_len = net_pkt_get_len(pkt); in eth_tx() [all …]
|
D | eth_smsc911x.c | 477 uint16_t total_len = net_pkt_get_len(pkt); in eth_tx() local 484 | total_len; in eth_tx() 486 txcmd_b = total_len << 16 | total_len; in eth_tx() 490 if (net_pkt_read(pkt, tx_buf, total_len)) { in eth_tx() 494 res = smsc_write_tx_fifo(tx_buf, total_len, true); in eth_tx()
|
D | eth_stm32_hal.c | 327 size_t total_len; in eth_tx() local 348 total_len = net_pkt_get_len(pkt); in eth_tx() 349 if (total_len > (ETH_STM32_TX_BUF_SIZE * ETH_TXBUFNB)) { in eth_tx() 389 remaining_read = total_len; in eth_tx() 419 if (net_pkt_read(pkt, dma_buffer, total_len)) { in eth_tx() 428 tx_buffer_def.len = total_len; in eth_tx() 436 tx_config.Length = total_len; in eth_tx() 469 LOG_HEXDUMP_ERR(dma_buffer, total_len, "eth packet timeout"); in eth_tx() 504 hal_ret = HAL_ETH_TransmitFrame(heth, total_len); in eth_tx() 629 size_t total_len = 0; in eth_rx() local [all …]
|
D | eth_mcux.c | 707 uint16_t total_len = net_pkt_get_len(pkt); in eth_tx() local 719 if (net_pkt_read(pkt, context->tx_frame_buf, total_len)) { in eth_tx() 729 context->tx_frame_buf, total_len, RING_ID, true, pkt); in eth_tx() 745 context->tx_frame_buf, total_len, RING_ID, false, NULL); in eth_tx()
|
/Zephyr-Core-3.5.0/drivers/crypto/ |
D | crypto_it8xxx2_sha.c | 56 uint32_t total_len; member 90 chip_ctx.total_len = 0; in it8xxx2_sha256_init() 145 chip_ctx.total_len += pkt->in_len; in it8xxx2_hash_handler() 160 chip_ctx.w_sha[15] = sys_cpu_to_be32(chip_ctx.total_len * 8); in it8xxx2_hash_handler()
|
/Zephyr-Core-3.5.0/subsys/net/lib/lwm2m/ |
D | lwm2m_rw_plain_text.c | 348 int len, total_len; in get_objlnk() local 355 total_len = len; in get_objlnk() 359 total_len++; in get_objlnk() 367 total_len += len; in get_objlnk() 370 return total_len; in get_objlnk()
|
D | lwm2m_rw_json.c | 814 int len, total_len; in get_objlnk() local 840 total_len = len; in get_objlnk() 853 total_len += len; in get_objlnk() 856 return total_len; in get_objlnk()
|
D | lwm2m_rw_cbor.c | 434 opaque->len = hndl.total_len; in get_opaque() 435 opaque->remaining = hndl.total_len; in get_opaque()
|
/Zephyr-Core-3.5.0/drivers/spi/ |
D | spi_context.h | 435 size_t total_len = 0; in spi_context_total_tx_len() local 438 total_len += ctx->current_tx[n].len; in spi_context_total_tx_len() 441 return total_len; in spi_context_total_tx_len() 447 size_t total_len = 0; in spi_context_total_rx_len() local 450 total_len += ctx->current_rx[n].len; in spi_context_total_rx_len() 453 return total_len; in spi_context_total_rx_len()
|
/Zephyr-Core-3.5.0/include/zephyr/net/ |
D | zperf.h | 54 uint32_t total_len; member
|
/Zephyr-Core-3.5.0/drivers/usb/device/ |
D | usb_dc_smartbond.c | 110 uint16_t total_len; /** Total length of current transfer */ member 250 remaining = ep_state->total_len - ep_state->transferred; in fill_tx_fifo() 332 ep_state->total_len = 0; in start_rx_packet() 377 uint16_t remaining = ep_state->total_len - ep_state->transferred; in start_tx_packet() 494 if (ep0_in_state->transferred == ep0_in_state->total_len) { in handle_ep0_tx() 500 ep0_out_state->total_len = 0; in handle_ep0_tx() 626 if (ep_state->transferred == ep_state->total_len) { in handle_epx_tx_ev() 707 dev_state.ep_state[1][i].total_len = 0; in handle_bus_reset() 747 if (ep_state->total_len > ep_state->transferred) { in handle_alt_ev() 1197 ep_state->total_len = 0; in usb_dc_ep_enable() [all …]
|
/Zephyr-Core-3.5.0/subsys/logging/ |
D | log_frontend_dict_uart.c | 272 size_t total_len = plen + dlen + sizeof(struct log_frontend_uart_pkt); in log_frontend_msg() local 273 size_t total_wlen = DIV_ROUND_UP(total_len, sizeof(uint32_t)); in log_frontend_msg() 292 pkt->hdr.noff = sizeof(uint32_t) * total_wlen - total_len; in log_frontend_msg()
|
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/hci/ |
D | hci_driver.c | 121 uint16_t total_len; in sink_sdu_emit_hci() local 141 total_len = sdu->total_sdu_size; in sink_sdu_emit_hci() 156 total_len = 0; in sink_sdu_emit_hci() 179 slen_packed = bt_iso_pkt_len_pack(total_len, packet_status_flag); in sink_sdu_emit_hci()
|
/Zephyr-Core-3.5.0/subsys/net/lib/websocket/ |
D | websocket.c | 542 size_t total_len = 0; in sendmsg_all() local 545 total_len += message->msg_iov[i].iov_len; in sendmsg_all() 548 while (offset < total_len) { in sendmsg_all() 555 if (offset >= total_len) { in sendmsg_all() 573 return total_len; in sendmsg_all()
|
/Zephyr-Core-3.5.0/subsys/bluetooth/shell/ |
D | gatt.c | 722 size_t total_len; in cmd_show_db() local 749 total_len = stats.svc_count * sizeof(struct bt_gatt_service); in cmd_show_db() 750 total_len += stats.chrc_count * sizeof(struct bt_gatt_chrc); in cmd_show_db() 751 total_len += stats.attr_count * sizeof(struct bt_gatt_attr); in cmd_show_db() 752 total_len += stats.ccc_count * sizeof(struct _bt_gatt_ccc); in cmd_show_db() 756 stats.svc_count, stats.attr_count, total_len); in cmd_show_db()
|
/Zephyr-Core-3.5.0/tests/net/socket/tls/src/ |
D | main.c | 103 size_t total_len = 0; in test_sendmsg() local 108 total_len += vec->iov_len; in test_sendmsg() 112 total_len, in test_sendmsg()
|
/Zephyr-Core-3.5.0/subsys/net/lib/zperf/ |
D | zperf_shell.c | 309 (((uint64_t)result->total_len * 8ULL * in udp_session_cb() 409 (((uint64_t)results->total_len * in shell_udp_upload_print_stats() 1109 (((uint64_t)result->total_len * 8ULL * in tcp_session_cb()
|
D | zperf_tcp_receiver.c | 87 results.total_len = session->length; in tcp_received()
|
D | zperf_udp_uploader.c | 41 results->total_len = ntohl(UNALIGNED_GET(&stat->total_len2)); in zperf_upload_decode_stat()
|