/* ring_buffer_size - return the size of the ring buffer (in bytes) @buffer: The ring buffer.  */
unsigned long ring_buffer_size(struct ring_buffer *buffer)
/* ring_buffer_size - return the size of the ring buffer (in bytes) @buffer: The ring buffer.  */
unsigned long ring_buffer_size(struct ring_buffer *buffer)
{
	return BUF_PAGE_SIZE * buffer->pages;
}