/Zephyr-latest/tests/subsys/fs/ext2/src/ |
D | testfs_ext_specific.c | 42 static void write_to_file(const char *file_path, uint32_t bytes_to_write) in write_to_file() argument 52 ret = testfs_write_incrementing(&file, 0, bytes_to_write); in write_to_file() 53 zassert_equal(ret, bytes_to_write, "Different number of bytes written %ld (expected %ld)", in write_to_file() 54 ret, bytes_to_write); in write_to_file() 63 zassert_equal(entry.size, bytes_to_write, in write_to_file() 65 bytes_to_write); in write_to_file() 72 ret = testfs_verify_incrementing(&file, 0, bytes_to_write); in write_to_file() 73 zassert_equal(ret, bytes_to_write, "Different number of bytes read %ld (expected %ld)", in write_to_file() 74 ret, bytes_to_write); in write_to_file() 134 uint32_t bytes_to_write = bsize * available_blocks; in writing_test() local [all …]
|
/Zephyr-latest/drivers/flash/ |
D | flash_rpi_pico.c | 214 size_t bytes_to_write; in flash_rpi_write() local 230 bytes_to_write = MIN(PAGE_SIZE - (offset & (PAGE_SIZE - 1)), size); in flash_rpi_write() 231 memcpy(flash_ram_buffer, data_pointer, bytes_to_write); in flash_rpi_write() 232 flash_write_partial(offset, flash_ram_buffer, bytes_to_write); in flash_rpi_write() 233 data_pointer += bytes_to_write; in flash_rpi_write() 234 size -= bytes_to_write; in flash_rpi_write() 235 offset += bytes_to_write; in flash_rpi_write() 239 bytes_to_write = PAGE_SIZE; in flash_rpi_write() 240 memcpy(flash_ram_buffer, data_pointer, bytes_to_write); in flash_rpi_write() 241 flash_range_program(offset, flash_ram_buffer, bytes_to_write); in flash_rpi_write() [all …]
|
/Zephyr-latest/drivers/bbram/ |
D | bbram_rts5912.c | 63 size_t start_offset, bytes_to_write; in bbram_rts5912_write() local 76 bytes_to_write = MIN(4 - start_offset, size - i); in bbram_rts5912_write() 77 memcpy(((uint8_t *)&word) + start_offset, &data[i], bytes_to_write); in bbram_rts5912_write() 79 i += bytes_to_write; in bbram_rts5912_write()
|
/Zephyr-latest/tests/subsys/mgmt/ec_host_cmd/simulator/src/ |
D | main.c | 30 uint32_t bytes_to_write; member 358 args->output_buf_size = request->bytes_to_write; in ec_host_cmd_unbounded() 372 if (request->bytes_to_write > args->output_buf_max) { in ec_host_cmd_unbounded() 376 for (int i = 0; i < request->bytes_to_write; ++i) { in ec_host_cmd_unbounded() 381 args->output_buf_size = request->bytes_to_write; in ec_host_cmd_unbounded() 394 host_to_dut->unbounded.bytes_to_write = INT16_MAX; in ZTEST() 408 host_to_dut->unbounded.bytes_to_write = INT16_MAX; in ZTEST()
|
/Zephyr-latest/kernel/ |
D | pipes.c | 391 size_t bytes_to_write, size_t *bytes_written, in z_impl_k_pipe_put() argument 407 CHECKIF((min_xfer > bytes_to_write) || (bytes_written == NULL)) { in z_impl_k_pipe_put() 426 bytes_to_write); in z_impl_k_pipe_put() 459 src_desc->bytes_to_xfer = bytes_to_write; in z_impl_k_pipe_put() 480 if ((*bytes_written == bytes_to_write) || in z_impl_k_pipe_put() 515 *bytes_written = bytes_to_write - src_desc->bytes_to_xfer; in z_impl_k_pipe_put() 518 bytes_to_write); in z_impl_k_pipe_put() 527 size_t bytes_to_write, size_t *bytes_written, in z_vrfy_k_pipe_put() argument 532 K_OOPS(K_SYSCALL_MEMORY_READ(data, bytes_to_write)); in z_vrfy_k_pipe_put() 535 bytes_to_write, bytes_written, min_xfer, in z_vrfy_k_pipe_put()
|
/Zephyr-latest/subsys/tracing/test/ |
D | tracing_test.h | 376 sys_trace_k_pipe_put_enter(pipe, data, bytes_to_write, bytes_written, min_xfer, timeout) 378 sys_trace_k_pipe_put_blocking(pipe, data, bytes_to_write, bytes_written, min_xfer, timeout) 380 sys_trace_k_pipe_put_exit(pipe, data, bytes_to_write, bytes_written, min_xfer, timeout, ret) 664 void sys_trace_k_pipe_put_enter(struct k_pipe *pipe, const void *data, size_t bytes_to_write, 666 void sys_trace_k_pipe_put_blocking(struct k_pipe *pipe, const void *data, size_t bytes_to_write, 668 void sys_trace_k_pipe_put_exit(struct k_pipe *pipe, const void *data, size_t bytes_to_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 | 5129 size_t bytes_to_write, size_t *bytes_written,
|