Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/tests/kernel/pipe/pipe_api/src/
Dtest_pipe_avail.c89 pipe.write_index = 3; in ZTEST()
128 pipe.write_index = 0; in ZTEST()
171 pipe.write_index = 4; in ZTEST()
214 pipe.write_index = 4; in ZTEST()
/Zephyr-Core-3.6.0/kernel/
Dpipes.c45 pipe->write_index = 0U; in k_pipe_init()
186 pipe->write_index = 0U; in k_pipe_cleanup()
354 pipe->write_index += bytes_copied; in pipe_write()
355 if (pipe->write_index >= pipe->size) { in pipe_write()
356 pipe->write_index -= pipe->size; in pipe_write()
423 pipe->write_index, in z_impl_k_pipe_put()
561 pipe->write_index); in pipe_get_internal()
645 pipe->write_index, in pipe_get_internal()
752 if (pipe->read_index == pipe->write_index) { in z_impl_k_pipe_read_avail()
754 } else if (pipe->read_index < pipe->write_index) { in z_impl_k_pipe_read_avail()
[all …]
/Zephyr-Core-3.6.0/include/zephyr/
Dkernel.h4852 size_t write_index; /**< Where in buffer to write */ member
4882 .write_index = 0, \