Searched refs:bytes_to_copy (Results 1 – 2 of 2) sorted by relevance
94 const size_t bytes_to_copy = (offset + length > ringbuffer_size(rb)) in ringbuffer_peek() local98 for (size_t copied = 0; copied < bytes_to_copy; ++copied) { in ringbuffer_peek()103 return bytes_to_copy; in ringbuffer_peek()