/Zephyr-latest/subsys/storage/stream/ |
D | stream_flash.c | 30 size_t bytes_written = 0; in settings_direct_loader() local 31 ssize_t cb_len = read_cb(cb_arg, &bytes_written, in settings_direct_loader() 32 sizeof(bytes_written)); in settings_direct_loader() 34 if (cb_len != sizeof(ctx->bytes_written)) { in settings_direct_loader() 40 if (bytes_written >= ctx->bytes_written) { in settings_direct_loader() 41 ctx->bytes_written = bytes_written; in settings_direct_loader() 44 bytes_written, ctx->bytes_written); in settings_direct_loader() 51 off_t offset = (off_t) (ctx->offset + ctx->bytes_written) - 1; in settings_direct_loader() 56 if (ctx->bytes_written > 0) { in settings_direct_loader() 128 size_t write_addr = ctx->offset + ctx->bytes_written; in flash_sync() [all …]
|
/Zephyr-latest/tests/subsys/storage/stream/stream_flash/src/ |
D | main.c | 374 zassert_equal(cmp_ctx.bytes_written, bad_ctx.bytes_written, in ZTEST() 503 size_t bytes_written; in write_and_save_progress() local 508 bytes_written = stream_flash_bytes_written(&ctx); in write_and_save_progress() 509 zassert_true(bytes_written > 0, "expected bytes to be written"); in write_and_save_progress() 516 return bytes_written; in write_and_save_progress() 578 size_t bytes_written; in ZTEST() local 599 bytes_written = stream_flash_bytes_written(&ctx); in ZTEST() 600 zassert_equal(bytes_written, bytes_written_old, in ZTEST() 622 bytes_written = load_progress(progress_key); in ZTEST() 623 zassert_equal(bytes_written, bytes_written_old, in ZTEST() [all …]
|
/Zephyr-latest/drivers/mipi_dbi/ |
D | mipi_dbi_nxp_lcdic.c | 354 uint32_t bytes_written = 0U; in mipi_dbi_lcdic_fill_tx() local 368 base->TFIFO_WDATA = word_buf[bytes_written >> 2]; in mipi_dbi_lcdic_fill_tx() 376 return bytes_written; in mipi_dbi_lcdic_fill_tx() 378 bytes_written += write_len; in mipi_dbi_lcdic_fill_tx() 381 return bytes_written; in mipi_dbi_lcdic_fill_tx() 771 uint32_t bytes_written, isr_status; in mipi_dbi_lcdic_isr() local 817 bytes_written = mipi_dbi_lcdic_fill_tx(base, data->xfer_buf, in mipi_dbi_lcdic_isr() 820 if (bytes_written > 0) { in mipi_dbi_lcdic_isr() 821 data->xfer_buf += bytes_written; in mipi_dbi_lcdic_isr() 822 data->cmd_bytes -= bytes_written; in mipi_dbi_lcdic_isr() [all …]
|
/Zephyr-latest/scripts/coredump/ |
D | coredump_serial_log_parser.py | 49 bytes_written = 0 83 bytes_written += len(binary_data)
|
/Zephyr-latest/tests/kernel/pipe/pipe/src/ |
D | test_pipe.c | 907 size_t bytes_written = 0; in ZTEST_USER() local 911 res = k_pipe_put(&test_pipe, "Hi!", 3, &bytes_written, in ZTEST_USER() 914 zassert_equal(bytes_written, 3, "did not write entire message"); in ZTEST_USER() 930 size_t bytes_written = 0; in ZTEST_USER() local 934 bytes_written = 0; in ZTEST_USER() 935 res = k_pipe_put(&test_pipe, "Hi!", 3, &bytes_written, in ZTEST_USER() 938 zassert_equal(bytes_written, 3, "did not write entire message"); in ZTEST_USER() 942 bytes_written = 0; in ZTEST_USER() 943 res = k_pipe_put(&test_pipe, "Hi!", 3, &bytes_written, in ZTEST_USER() 946 zassert_true(bytes_written >= 1, "did not write min_xfer"); in ZTEST_USER() [all …]
|
/Zephyr-latest/kernel/ |
D | pipes.c | 381 size_t bytes_to_write, size_t *bytes_written, in z_impl_k_pipe_put() argument 397 CHECKIF((min_xfer > bytes_to_write) || (bytes_written == NULL)) { in z_impl_k_pipe_put() 433 *bytes_written = 0U; in z_impl_k_pipe_put() 453 *bytes_written = pipe_write(pipe, &src_list, in z_impl_k_pipe_put() 461 if ((pipe->bytes_used != 0U) && (*bytes_written != 0U)) { in z_impl_k_pipe_put() 470 if ((*bytes_written == bytes_to_write) || in z_impl_k_pipe_put() 472 ((*bytes_written >= min_xfer) && (min_xfer > 0U))) { in z_impl_k_pipe_put() 505 *bytes_written = bytes_to_write - src_desc->bytes_to_xfer; in z_impl_k_pipe_put() 517 size_t bytes_to_write, size_t *bytes_written, in z_vrfy_k_pipe_put() argument 521 K_OOPS(K_SYSCALL_MEMORY_WRITE(bytes_written, sizeof(*bytes_written))); in z_vrfy_k_pipe_put() [all …]
|
/Zephyr-latest/tests/modules/nanopb/src/ |
D | main.c | 36 pb_istream_t istream = pb_istream_from_buffer(buffer, ostream.bytes_written); in ZTEST() 63 pb_istream_t istream = pb_istream_from_buffer(buffer, ostream.bytes_written); in ZTEST()
|
/Zephyr-latest/drivers/eeprom/ |
D | eeprom_simulator.c | 52 STATS_SECT_ENTRY32(bytes_written) /* total bytes written */ 62 STATS_NAME(eeprom_sim_stats, bytes_written) 180 STATS_INCN(eeprom_sim_stats, bytes_written, len); in eeprom_sim_write()
|
/Zephyr-latest/include/zephyr/storage/ |
D | stream_flash.h | 61 size_t bytes_written; /* Number of bytes written to flash */ member
|
/Zephyr-latest/subsys/mgmt/updatehub/ |
D | updatehub_storage.c | 50 ctx->flash_ctx.stream.bytes_written, size, in updatehub_storage_write()
|
/Zephyr-latest/samples/modules/nanopb/src/ |
D | main.c | 42 *message_length = stream.bytes_written; in encode_message()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | i2c.h | 554 STATS_SECT_ENTRY32(bytes_written) 561 STATS_NAME(i2c, bytes_written) 590 uint32_t bytes_written = 0U; in i2c_xfer_stats() local 598 bytes_written += msgs[i].len; in i2c_xfer_stats() 602 STATS_INCN(state->stats, bytes_written, bytes_written); in i2c_xfer_stats()
|
D | smbus.h | 413 STATS_SECT_ENTRY32(bytes_written) 419 STATS_NAME(smbus, bytes_written) 473 STATS_INCN(state->stats, bytes_written, sent); in smbus_xfer_stats()
|
/Zephyr-latest/drivers/flash/ |
D | flash_simulator.c | 83 STATS_SECT_ENTRY32(bytes_written) /* total bytes written */ 101 STATS_NAME(flash_sim_stats, bytes_written) 288 FLASH_SIM_STATS_INCN(flash_sim_stats, bytes_written, len); in flash_sim_write()
|
/Zephyr-latest/doc/kernel/services/data_passing/ |
D | pipes.rst | 109 size_t bytes_written; 119 rc = k_pipe_put(&my_pipe, data, total_size, &bytes_written, 125 } else if (bytes_written < total_size) {
|
/Zephyr-latest/tests/kernel/semaphore/semaphore/src/ |
D | main.c | 983 size_t bytes_written; in sem_multiple_take_and_timeouts_helper() local 998 &bytes_written, sizeof(int), K_FOREVER); in sem_multiple_take_and_timeouts_helper() 1049 size_t bytes_written; in sem_multi_take_timeout_diff_sem_helper() local 1068 &bytes_written, sizeof(struct timeout_info), K_FOREVER); in sem_multi_take_timeout_diff_sem_helper()
|
/Zephyr-latest/subsys/tracing/test/ |
D | tracing_test.h | 361 sys_trace_k_pipe_put_enter(pipe, data, bytes_to_write, bytes_written, min_xfer, timeout) 363 sys_trace_k_pipe_put_blocking(pipe, data, bytes_to_write, bytes_written, min_xfer, timeout) 365 sys_trace_k_pipe_put_exit(pipe, data, bytes_to_write, bytes_written, min_xfer, timeout, ret) 636 size_t *bytes_written, size_t min_xfer, k_timeout_t timeout); 638 size_t *bytes_written, size_t min_xfer, k_timeout_t timeout); 640 size_t *bytes_written, size_t min_xfer, k_timeout_t timeout,
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | socketpair.c | 407 size_t bytes_written; in spair_write() local 554 &bytes_written, 1, K_NO_WAIT); in spair_write() 564 res = bytes_written; in spair_write()
|
/Zephyr-latest/subsys/tracing/sysview/ |
D | SYSVIEW_Zephyr.txt | 80 73 k_pipe_put pipe=%I, data=%p, bytes_to_write=%u, bytes_written=%u, min_xfer=%u, …
|
/Zephyr-latest/include/zephyr/ |
D | kernel.h | 5125 size_t bytes_to_write, size_t *bytes_written,
|