Home
last modified time | relevance | path

Searched refs:put_tail (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.4.0/include/zephyr/sys/
Dring_buffer.h35 int32_t put_tail; member
50 buf->put_head = buf->put_tail = buf->put_base = value; in ring_buf_internal_reset()
196 return buf->get_head == buf->put_tail; in ring_buf_is_empty()
254 return buf->put_tail - buf->get_head; in ring_buf_size_get()
/Zephyr-Core-3.4.0/lib/os/
Dring_buffer.c40 finish_space = buf->put_head - buf->put_tail; in ring_buf_put_finish()
45 buf->put_tail += size; in ring_buf_put_finish()
46 buf->put_head = buf->put_tail; in ring_buf_put_finish()
48 wrap_size = buf->put_tail - buf->put_base; in ring_buf_put_finish()