Home
last modified time | relevance | path

Searched refs:ring_buf_idx_t (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/include/zephyr/sys/
Dring_buffer.h33 typedef uint32_t ring_buf_idx_t; typedef
36 typedef uint16_t ring_buf_idx_t;
42 struct ring_buf_index { ring_buf_idx_t head, tail, base; };
70 static inline void ring_buf_internal_reset(struct ring_buf *buf, ring_buf_idx_t value) in ring_buf_internal_reset()
236 ring_buf_idx_t allocated = buf->put.head - buf->get.tail; in ring_buf_space_get()
274 ring_buf_idx_t available = buf->put.tail - buf->get.head; in ring_buf_size_get()
/Zephyr-latest/lib/utils/
Dring_buffer.c15 ring_buf_idx_t head_offset, wrap_size; in ring_buf_area_claim()
34 ring_buf_idx_t claimed_size, tail_offset; in ring_buf_area_finish()
/Zephyr-latest/tests/lib/ringbuffer/src/
Dconcurrent.c274 offset = (ring_buf_idx_t)-1 - ring_buf_capacity_get(&ringbuf)/2; in test_ztress()