Lines Matching refs:rbuf
21 struct ring_buf rbuf; member
32 ring_buf_init(&ret->rbuf); in ossl_quic_rstream_new()
33 if (!ring_buf_resize(&ret->rbuf, rbuf_size, 0)) { in ossl_quic_rstream_new()
53 ring_buf_destroy(&qrs->rbuf, cleanse); in ossl_quic_rstream_free()
100 data = ring_buf_get_ptr(&qrs->rbuf, range.start, &max_len); in read_internal()
109 data = ring_buf_get_ptr(&qrs->rbuf, range.start + max_len, in read_internal()
126 ring_buf_cpop_range(&qrs->rbuf, 0, offset - 1, qrs->fl.cleanse); in read_internal()
216 record_ = ring_buf_get_ptr(&qrs->rbuf, qrs->head_range.start, in ossl_quic_rstream_get_record()
251 ring_buf_cpop_range(&qrs->rbuf, 0, offset - 1, qrs->fl.cleanse); in ossl_quic_rstream_release_record()
268 struct ring_buf *rbuf = cb_arg; in write_at_ring_buf_cb() local
270 return ring_buf_write_at(rbuf, logical_offset, buf, buf_len); in write_at_ring_buf_cb()
275 if (ring_buf_avail(&qrs->rbuf) == 0) in ossl_quic_rstream_move_to_rbuf()
278 write_at_ring_buf_cb, &qrs->rbuf); in ossl_quic_rstream_move_to_rbuf()
286 if (!ring_buf_resize(&qrs->rbuf, rbuf_size, qrs->fl.cleanse)) in ossl_quic_rstream_resize_rbuf()