Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/sys/
Dring_buffer.h44 int32_t put_head; member
61 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()
/Zephyr-latest/lib/utils/
Dring_buffer.c18 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()