Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/tests/kernel/pipe/pipe_api/src/
Dtest_pipe_avail.c172 pipe.bytes_used = 0; in test_pipe_avail_r_eq_w_empty()
215 pipe.bytes_used = pipe.size; in test_pipe_avail_r_eq_w_full()
/Zephyr-Core-2.7.6/kernel/
Dpipes.c92 pipe->bytes_used = 0; in k_pipe_init()
200 run_length = MIN(pipe->size - pipe->bytes_used, in pipe_buffer_put()
209 pipe->bytes_used += bytes_copied; in pipe_buffer_put()
236 run_length = MIN(pipe->bytes_used, in pipe_buffer_get()
245 pipe->bytes_used -= bytes_copied; in pipe_buffer_get()
429 pipe->size - pipe->bytes_used, bytes_to_write, in z_pipe_put_internal()
571 pipe->bytes_used, bytes_to_read, in z_impl_k_pipe_get()
769 res = pipe->bytes_used; in z_impl_k_pipe_read_avail()
806 res = pipe->size - pipe->bytes_used; in z_impl_k_pipe_write_avail()
/Zephyr-Core-2.7.6/include/
Dkernel.h4594 size_t bytes_used; /**< # bytes used in buffer */ member
4616 .bytes_used = 0, \