Searched refs:bytesMoved (Results 1 – 1 of 1) sorted by relevance
322 size_t bytesMoved = 0; in ring_buffer_move() local326 bytesMoved = ring_buffer_write(to, from->buffer + from->first, length); in ring_buffer_move()332 bytesMoved = ring_buffer_write(to, from->buffer + from->first, upper); in ring_buffer_move()333 if (bytesMoved == upper) { in ring_buffer_move()335 bytesMoved += ring_buffer_write(to, from->buffer, lower); in ring_buffer_move()339 from->first = (from->first + bytesMoved) % from->size; in ring_buffer_move()340 from->in -= bytesMoved; in ring_buffer_move()342 return bytesMoved; in ring_buffer_move()