Searched refs:ctail_offset (Results 1 – 1 of 1) sorted by relevance
40 uint64_t ctail_offset; member51 r->head_offset = r->ctail_offset = 0; in OSSL_SAFE_MATH_UNSIGNED()67 return (size_t)(r->head_offset - r->ctail_offset); in ring_buf_used()85 if (logical_offset < r->ctail_offset in ring_buf_write_at()209 size_t idx = r->ctail_offset % r->alloc; in ring_buf_cpop_range()215 l = (size_t)(cleanse_end - r->ctail_offset); in ring_buf_cpop_range()225 r->ctail_offset = end + 1; in ring_buf_cpop_range()227 if (r->head_offset < r->ctail_offset) in ring_buf_cpop_range()228 r->head_offset = r->ctail_offset; in ring_buf_cpop_range()250 rnew.ctail_offset = rnew.head_offset; in ring_buf_resize()[all …]
Completed in 5 milliseconds