Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/sys/
Dring_buffer.h45 int32_t put_tail; member
61 buf->put_head = buf->put_tail = buf->put_base = value; in ring_buf_internal_reset()
198 return buf->get_head == buf->put_tail; in ring_buf_is_empty()
256 return buf->put_tail - buf->get_head; in ring_buf_size_get()
/Zephyr-latest/lib/utils/
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()