Home
last modified time | relevance | path

Searched refs:bytes_to_write (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/tests/subsys/fs/ext2/src/
Dtestfs_ext_specific.c42 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/
Dflash_rpi_pico.c214 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/tests/subsys/mgmt/ec_host_cmd/simulator/src/
Dmain.c30 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/
Dpipes.c381 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()
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()
517 size_t bytes_to_write, size_t *bytes_written, in z_vrfy_k_pipe_put() argument
522 K_OOPS(K_SYSCALL_MEMORY_READ(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-latest/subsys/tracing/test/
Dtracing_test.h361 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)
635 void sys_trace_k_pipe_put_enter(struct k_pipe *pipe, const void *data, size_t bytes_to_write,
637 void sys_trace_k_pipe_put_blocking(struct k_pipe *pipe, const void *data, size_t bytes_to_write,
639 void sys_trace_k_pipe_put_exit(struct k_pipe *pipe, const void *data, size_t bytes_to_write,
/Zephyr-latest/subsys/tracing/sysview/
DSYSVIEW_Zephyr.txt80 73 k_pipe_put pipe=%I, data=%p, bytes_to_write=%u, bytes_written=%u, min_xfer=%u, …
/Zephyr-latest/include/zephyr/
Dkernel.h5125 size_t bytes_to_write, size_t *bytes_written,