Home
last modified time | relevance | path

Searched refs:bytes_used (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.6.0/kernel/
Dpipes.c43 pipe->bytes_used = 0U; in k_pipe_init()
184 pipe->bytes_used = 0U; in k_pipe_cleanup()
353 pipe->bytes_used += bytes_copied; in pipe_write()
418 if (pipe->bytes_used != pipe->size) { in z_impl_k_pipe_put()
461 if ((pipe->bytes_used != 0U) && (*bytes_written != 0U)) { in z_impl_k_pipe_put()
555 if (pipe->bytes_used != 0) { in pipe_get_internal()
611 pipe->bytes_used -= bytes_copied; in pipe_get_internal()
628 if (pipe->bytes_used != pipe->size) { in pipe_get_internal()
641 pipe->size - pipe->bytes_used); in pipe_get_internal()
753 res = pipe->bytes_used; in z_impl_k_pipe_read_avail()
[all …]
/Zephyr-Core-3.6.0/tests/kernel/pipe/pipe_api/src/
Dtest_pipe_avail.c172 pipe.bytes_used = 0; in ZTEST()
215 pipe.bytes_used = pipe.size; in ZTEST()
/Zephyr-Core-3.6.0/include/zephyr/
Dkernel.h4850 size_t bytes_used; /**< # bytes used in buffer */ member
4880 .bytes_used = 0, \