Searched refs:put_head (Results 1 – 2 of 2) sorted by relevance
44 int32_t put_head; member61 buf->put_head = buf->put_tail = buf->put_base = value; in ring_buf_internal_reset()220 return buf->size - (buf->put_head - buf->get_tail); in ring_buf_space_get()
18 wrap_size = buf->put_head - base; in ring_buf_put_claim()30 *data = &buf->buffer[buf->put_head - base]; in ring_buf_put_claim()31 buf->put_head += size; in ring_buf_put_claim()40 finish_space = buf->put_head - buf->put_tail; in ring_buf_put_finish()46 buf->put_head = buf->put_tail; in ring_buf_put_finish()