Searched refs:ringbuffer_len (Results 1 – 4 of 4) sorted by relevance
116 size_t ringbuffer_len(struct ringbuffer_consumer *rbc) in ringbuffer_len() function126 return rbc->rb->size - ringbuffer_len(rbc) - 1; in ringbuffer_space()215 if (offset >= ringbuffer_len(rbc)) { in ringbuffer_dequeue_peek()232 assert(len <= ringbuffer_len(rbc)); in ringbuffer_dequeue_commit()
238 size_t ringbuffer_len(struct ringbuffer_consumer *rbc);
228 len = ringbuffer_len(client->rbc); in client_ringbuffer_poll()
105 printf("c[%d],len=%zd ", j, ringbuffer_len(rbc)); in ringbuffer_dump()