Searched refs:bytes_to_write (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-3.5.0/tests/subsys/fs/ext2/src/ |
D | testfs_ext_specific.c | 71 uint32_t bytes_to_write = bsize * available_blocks; in writing_test() local 74 available_blocks, bsize, bytes_to_write); in writing_test() 77 zassert_equal(ret, bytes_to_write, "Different number of bytes written %ld (expected %ld)", in writing_test() 78 ret, bytes_to_write); in writing_test() 87 zassert_equal(entry.size, bytes_to_write, in writing_test() 89 bytes_to_write); in writing_test() 97 zassert_equal(ret, bytes_to_write, "Different number of bytes read %ld (expected %ld)", in writing_test() 98 ret, bytes_to_write); in writing_test() 103 uint32_t new_size = bytes_to_write; in writing_test()
|
/Zephyr-Core-3.5.0/drivers/flash/ |
D | flash_rpi_pico.c | 209 size_t bytes_to_write; in flash_rpi_write() local 225 bytes_to_write = MIN(PAGE_SIZE - (offset & (PAGE_SIZE - 1)), size); in flash_rpi_write() 226 flash_write_partial(offset, data_pointer, bytes_to_write); in flash_rpi_write() 227 data_pointer += bytes_to_write; in flash_rpi_write() 228 size -= bytes_to_write; in flash_rpi_write() 229 offset += bytes_to_write; in flash_rpi_write() 233 bytes_to_write = size & ~(PAGE_SIZE - 1); in flash_rpi_write() 234 flash_range_program(offset, data_pointer, bytes_to_write); in flash_rpi_write() 235 data_pointer += bytes_to_write; in flash_rpi_write() 236 size -= bytes_to_write; in flash_rpi_write() [all …]
|
/Zephyr-Core-3.5.0/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-Core-3.5.0/kernel/ |
D | pipes.c | 380 int z_impl_k_pipe_put(struct k_pipe *pipe, void *data, size_t bytes_to_write, in z_impl_k_pipe_put() argument 397 CHECKIF((min_xfer > bytes_to_write) || bytes_written == NULL) { in z_impl_k_pipe_put() 416 bytes_to_write); in z_impl_k_pipe_put() 449 src_desc->bytes_to_xfer = bytes_to_write; in z_impl_k_pipe_put() 470 if ((*bytes_written == bytes_to_write) || in z_impl_k_pipe_put() 505 *bytes_written = bytes_to_write - src_desc->bytes_to_xfer; in z_impl_k_pipe_put() 508 bytes_to_write); in z_impl_k_pipe_put() 516 int z_vrfy_k_pipe_put(struct k_pipe *pipe, void *data, size_t bytes_to_write, in z_vrfy_k_pipe_put() argument 522 Z_OOPS(Z_SYSCALL_MEMORY_READ((void *)data, bytes_to_write)); in z_vrfy_k_pipe_put() 525 bytes_to_write, bytes_written, min_xfer, in z_vrfy_k_pipe_put()
|
/Zephyr-Core-3.5.0/subsys/tracing/test/ |
D | tracing_test.h | 358 sys_trace_k_pipe_put_enter(pipe, data, bytes_to_write, bytes_written, min_xfer, timeout) 360 sys_trace_k_pipe_put_blocking(pipe, data, bytes_to_write, bytes_written, min_xfer, timeout) 362 sys_trace_k_pipe_put_exit(pipe, data, bytes_to_write, bytes_written, min_xfer, timeout, ret) 620 void sys_trace_k_pipe_put_enter(struct k_pipe *pipe, void *data, size_t bytes_to_write, 622 void sys_trace_k_pipe_put_blocking(struct k_pipe *pipe, void *data, size_t bytes_to_write, 624 void sys_trace_k_pipe_put_exit(struct k_pipe *pipe, void *data, size_t bytes_to_write,
|
/Zephyr-Core-3.5.0/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-Core-3.5.0/include/zephyr/ |
D | kernel.h | 4983 size_t bytes_to_write, size_t *bytes_written,
|