ring_buf_get_buf_at
if (!ring_buf_get_buf_at(r, r->ctail_offset + copied, &src, &src_len)) {
if (!ring_buf_get_buf_at(&qss->ring_buf,