Lines Matching refs:ring_buf
25 struct ring_buf { struct
47 static ossl_inline int ring_buf_init(struct ring_buf *r) in OSSL_SAFE_MATH_UNSIGNED() argument
55 static ossl_inline void ring_buf_destroy(struct ring_buf *r, int cleanse) in ring_buf_destroy()
65 static ossl_inline size_t ring_buf_used(struct ring_buf *r) in ring_buf_used()
70 static ossl_inline size_t ring_buf_avail(struct ring_buf *r) in ring_buf_avail()
75 static ossl_inline int ring_buf_write_at(struct ring_buf *r, in ring_buf_write_at()
113 static ossl_inline size_t ring_buf_push(struct ring_buf *r, in ring_buf_push()
146 static ossl_inline const unsigned char *ring_buf_get_ptr(const struct ring_buf *r, in ring_buf_get_ptr()
172 static ossl_inline int ring_buf_get_buf_at(const struct ring_buf *r, in ring_buf_get_buf_at()
199 static ossl_inline void ring_buf_cpop_range(struct ring_buf *r, in ring_buf_cpop_range()
231 static ossl_inline int ring_buf_resize(struct ring_buf *r, size_t num_bytes, in ring_buf_resize()
234 struct ring_buf rnew = {0}; in ring_buf_resize()