Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/tests/kernel/pipe/pipe_api/src/
Dtest_pipe_avail.c88 pipe.read_index = 0; in ZTEST()
127 pipe.read_index = 3; in ZTEST()
170 pipe.read_index = 4; in ZTEST()
213 pipe.read_index = 4; in ZTEST()
/Zephyr-Core-3.5.0/kernel/
Dpipes.c44 pipe->read_index = 0U; in k_pipe_init()
185 pipe->read_index = 0U; in k_pipe_cleanup()
424 pipe->read_index); in z_impl_k_pipe_put()
560 pipe->read_index, in pipe_get_internal()
612 pipe->read_index += bytes_copied; in pipe_get_internal()
613 if (pipe->read_index >= pipe->size) { in pipe_get_internal()
614 pipe->read_index -= pipe->size; in pipe_get_internal()
646 pipe->read_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.5.0/include/zephyr/
Dkernel.h4857 size_t read_index; /**< Where in buffer to read from */ member
4887 .read_index = 0, \