Searched refs:put_tail (Results 1 – 2 of 2) sorted by relevance
35 int32_t put_tail; member50 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()
40 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()