/Zephyr-latest/drivers/mm/ |
D | mm_drv_intel_adsp_regions.c | 24 uint32_t attributes, uint32_t position, uint32_t *total_size) in append_region() argument 29 total_size += mem_size; in append_region() 34 int i, total_size = 0; in calculate_memory_regions() local 38 CORE_HEAP_SIZE, MEM_REG_ATTR_CORE_HEAP, i, &total_size); in calculate_memory_regions() 43 CORE_HEAP_SIZE, MEM_REG_ATTR_SHARED_HEAP, i, &total_size); in calculate_memory_regions() 47 OPPORTUNISTIC_REGION_SIZE, MEM_REG_ATTR_OPPORTUNISTIC_MEMORY, i, &total_size); in calculate_memory_regions() 52 append_region(NULL, 0, 0, i, &total_size); in calculate_memory_regions() 54 if (total_size > L2_VIRTUAL_SRAM_SIZE) { in calculate_memory_regions()
|
/Zephyr-latest/lib/utils/ |
D | ring_buffer.c | 61 uint32_t total_size = 0U; in ring_buf_put() local 67 total_size += partial_size; in ring_buf_put() 72 err = ring_buf_put_finish(buf, total_size); in ring_buf_put() 76 return total_size; in ring_buf_put() 128 uint32_t total_size = 0U; in ring_buf_get() local 137 total_size += partial_size; in ring_buf_get() 141 err = ring_buf_get_finish(buf, total_size); in ring_buf_get() 145 return total_size; in ring_buf_get() 152 uint32_t total_size = 0U; in ring_buf_peek() local 162 total_size += partial_size; in ring_buf_peek() [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | large_comp_data_srv.c | 50 size_t offset, total_size; in handle_large_comp_data_get() local 86 total_size = bt_mesh_comp_page_size(page); in handle_large_comp_data_get() 87 net_buf_simple_add_le16(&rsp, total_size); in handle_large_comp_data_get() 89 if (offset < total_size) { in handle_large_comp_data_get() 111 size_t offset, total_size; in handle_models_metadata_get() local 146 total_size = bt_mesh_metadata_page_0_size(); in handle_models_metadata_get() 147 net_buf_simple_add_le16(&rsp, total_size); in handle_models_metadata_get() 149 if (offset < total_size) { in handle_models_metadata_get()
|
D | large_comp_data_cli.c | 44 uint16_t total_size; in data_status() local 52 total_size = net_buf_simple_pull_le16(buf); in data_status() 57 rsp->total_size = total_size; in data_status() 71 .total_size = total_size, in data_status()
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_lcd.c | 191 ASSERT_EQUAL(total_size_local, srv_rsp->total_size); in verify_status_fields() 202 uint16_t offset, uint16_t total_size, uint16_t *prev_len) in rsp_equals_local_data_assert() argument 207 verify_status_fields(srv_rsp, page, offset, total_size); in rsp_equals_local_data_assert() 237 uint16_t offset, total_size; in test_cli_max_sdu_comp_data_request() local 263 total_size = bt_mesh_comp_page_size(0); in test_cli_max_sdu_comp_data_request() 268 rsp_equals_local_data_assert(SRV_ADDR, &srv_rsp, &local_comp, page, offset, total_size, in test_cli_max_sdu_comp_data_request() 305 uint16_t total_size = bt_mesh_comp_page_size(comp_page); in test_cli_split_comp_data_request() local 308 ASSERT_TRUE(total_size <= CONFIG_BT_MESH_COMP_PST_BUF_SIZE); in test_cli_split_comp_data_request() 316 total_size, &prev_len); in test_cli_split_comp_data_request() 324 total_size, &prev_len); in test_cli_split_comp_data_request() [all …]
|
/Zephyr-latest/subsys/tracing/ |
D | tracing_format_common.c | 61 uint32_t total_size = 0U; in tracing_format_data_put() local 72 total_size += claimed_size; in tracing_format_data_put() 83 tracing_buffer_put_finish(total_size); in tracing_format_data_put()
|
/Zephyr-latest/samples/net/lwm2m_client/src/ |
D | timer.c | 20 size_t total_size, size_t offset) in timer_on_off_validate_cb() argument 37 size_t total_size, size_t offset) in timer_digital_state_cb() argument
|
D | led.c | 25 uint16_t data_len, bool last_block, size_t total_size, size_t offset) in led_on_off_cb() argument
|
D | firmware_update.c | 44 size_t total_size, size_t offset) in firmware_block_received_cb() argument
|
/Zephyr-latest/drivers/modem/ |
D | modem_iface_uart_interrupt.c | 58 uint32_t total_size = 0; in modem_iface_uart_isr() local 92 total_size += rx; in modem_iface_uart_isr() 96 ret = ring_buf_put_finish(&data->rx_rb, total_size); in modem_iface_uart_isr() 99 if (total_size > 0) { in modem_iface_uart_isr()
|
/Zephyr-latest/subsys/storage/stream/ |
D | stream_flash.c | 251 size_t total_size; member 261 ctx->total_size = 0; in find_flash_total_size() 265 ctx->total_size += info->size; in find_flash_total_size() 290 .total_size = 0 in stream_flash_init() 305 if (inspect_flash_ctx.total_size == 0) { in stream_flash_init() 309 if ((offset + size) > inspect_flash_ctx.total_size || in stream_flash_init() 322 ctx->available = (size == 0 ? inspect_flash_ctx.total_size - offset : in stream_flash_init()
|
/Zephyr-latest/subsys/net/lib/dns/ |
D | dns_sd.c | 304 uint16_t total_size; in add_a_record() local 317 total_size = in add_a_record() 321 if (offset > buf_size || total_size >= buf_size - offset) { in add_a_record() 323 total_size, (int)buf_size - (int)offset); in add_a_record() 345 __ASSERT_NO_MSG(total_size == offset - buf_offset); in add_a_record() 473 uint16_t total_size; in add_txt_record() local 485 total_size = in add_txt_record() 489 if (offset > buf_size || total_size >= buf_size - offset) { in add_txt_record() 491 total_size, (int)buf_size - (int)offset); in add_txt_record() 512 __ASSERT_NO_MSG(total_size == offset - buf_offset); in add_txt_record() [all …]
|
/Zephyr-latest/drivers/wifi/eswifi/ |
D | eswifi_bus_uart.c | 63 uint32_t total_size = 0; in eswifi_iface_uart_isr() local 85 total_size += rx; in eswifi_iface_uart_isr() 89 ring_buf_put_finish(&uart->rx_rb, total_size); in eswifi_iface_uart_isr()
|
/Zephyr-latest/samples/net/sockets/coap_download/src/ |
D | main.c | 41 size_t total_size = offset + len; in on_coap_response() local 43 LOG_INF("CoAP download done, got %u bytes in %" PRId64 " ms", total_size, in on_coap_response()
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | large_comp_data_cli.h | 31 uint16_t total_size; member
|
/Zephyr-latest/include/zephyr/bluetooth/classic/ |
D | sdp.h | 290 uint32_t total_size; /**< Total size of the data element */ member 337 .total_size = BIT(_type & BT_SDP_SIZE_DESC_MASK) + 1 347 .total_size = BIT((_type & BT_SDP_SIZE_DESC_MASK) - \
|
/Zephyr-latest/samples/net/sockets/coap_server/src/ |
D | large.c | 33 if (ctx.total_size == 0) { in large_get() 75 ctx.total_size - ctx.current); in large_get() 139 ctx.total_size); in large_update_put()
|
/Zephyr-latest/tests/net/lib/lwm2m/interop/src/ |
D | firmware_update.c | 42 size_t total_size, size_t offset) in firmware_block_received_cb() argument
|
/Zephyr-latest/subsys/ipc/ipc_service/backends/ |
D | ipc_icbmsg.c | 339 size_t total_size = *size + BLOCK_HEADER_SIZE; in alloc_tx_buffer() local 340 size_t num_blocks = DIV_ROUND_UP(total_size, conf->tx.block_size); in alloc_tx_buffer() 441 size_t total_size; in release_tx_blocks() local 448 total_size = size + BLOCK_HEADER_SIZE; in release_tx_blocks() 449 num_blocks = DIV_ROUND_UP(total_size, conf->tx.block_size); in release_tx_blocks() 1336 #define GET_BLOCK_SIZE(i, total_size, local_blocks, remote_blocks) ROUND_DOWN( \ argument 1337 ((total_size) - GET_ICMSG_MIN_SIZE(i, (local_blocks), (remote_blocks))) / \ 1343 #define GET_BLOCKS_OFFSET(i, total_size, local_blocks, remote_blocks) \ argument 1344 ((total_size) - GET_BLOCK_SIZE(i, (total_size), (local_blocks), \
|
/Zephyr-latest/subsys/net/lib/coap/ |
D | coap.c | 1232 size_t total_size) in coap_block_transfer_init() argument 1235 ctx->total_size = total_size; in coap_block_transfer_init() 1301 SET_MORE(val, ctx->current + bytes < ctx->total_size); in coap_append_block1_option() 1324 SET_MORE(val, ctx->current + bytes < ctx->total_size); in coap_append_block2_option() 1336 return coap_append_option_int(cpkt, COAP_OPTION_SIZE1, ctx->total_size); in coap_append_size1_option() 1342 return coap_append_option_int(cpkt, COAP_OPTION_SIZE2, ctx->total_size); in coap_append_size2_option() 1449 if (size && ctx->total_size && ctx->total_size != size) { in update_descriptive_block() 1457 if (ctx->total_size && new_current > ctx->total_size) { in update_descriptive_block() 1462 ctx->total_size = size; in update_descriptive_block() 1490 ctx->total_size = size; in update_control_block1() [all …]
|
D | coap_client.c | 280 if (internal_req->send_blk_ctx.total_size > 0 || in coap_client_init_request() 283 if (internal_req->send_blk_ctx.total_size == 0) { in coap_client_init_request() 317 if (internal_req->send_blk_ctx.total_size > 0) { in coap_client_init_request() 321 payload_len = internal_req->send_blk_ctx.total_size - in coap_client_init_request() 340 if (internal_req->send_blk_ctx.total_size > 0) { in coap_client_init_request() 497 if (internal_req->send_blk_ctx.total_size > 0) { in resend_request() 929 if (internal_req->send_blk_ctx.total_size > 0) { in handle_response() 932 if (internal_req->send_blk_ctx.total_size == internal_req->send_blk_ctx.current) { in handle_response()
|
/Zephyr-latest/kernel/ |
D | stack.c | 69 size_t total_size; in z_vrfy_k_stack_alloc_init() local 74 &total_size))); in z_vrfy_k_stack_alloc_init()
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | ipso_timer.c | 206 size_t total_size, size_t offset) in cumulative_time_post_write_cb() argument 222 size_t total_size, size_t offset) in enabled_post_write_cb() argument 243 size_t total_size, size_t offset) in trigger_counter_post_write_cb() argument
|
/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | large_comp_data.c | 26 rsp->offset, rsp->total_size); in status_print()
|
/Zephyr-latest/tests/net/lib/coap/src/ |
D | main.c | 502 if (req_ctx->total_size == 0) { in prepare_block1_request() 527 payload_len = req_ctx->total_size - req_ctx->current; in prepare_block1_request() 548 if (rsp_ctx->total_size == 0) { in prepare_block1_response() 586 req_ctx->current, req_ctx->total_size, in verify_block1_request() 590 zassert_equal(req_ctx->total_size, BLOCK_WISE_TRANSFER_SIZE_GET, in verify_block1_request() 602 zassert_equal(rsp_ctx->total_size, BLOCK_WISE_TRANSFER_SIZE_GET, in verify_block1_response() 642 if (req_ctx->total_size == 0) { in prepare_block2_request() 674 if (rsp_ctx->total_size == 0) { in prepare_block2_response() 701 payload_len = rsp_ctx->total_size - rsp_ctx->current; in prepare_block2_response() 720 zassert_equal(req_ctx->total_size, BLOCK2_WISE_TRANSFER_SIZE_GET, in verify_block2_request() [all …]
|