Lines Matching refs:ring_buffer_size
93 static int ring_buffer_size = RING_BUFFER_SIZE;
95 module_param(ring_buffer_size, int, S_IRUGO);
96 MODULE_PARM_DESC(ring_buffer_size, "Read ring buffer size in reports");
291 next_ring_head = (dev->ring_head + 1) % ring_buffer_size;
558 next_tail = (dev->ring_tail+1) % ring_buffer_size;
623 (dev->ring_tail + 1) % ring_buffer_size;
635 dev->ring_tail = (dev->ring_tail + 1) % ring_buffer_size;
649 dev->ring_tail = (dev->ring_tail + 1) % ring_buffer_size;
832 if (ring_buffer_size == 0)
833 ring_buffer_size = RING_BUFFER_SIZE;
834 true_size = min(ring_buffer_size, RING_BUFFER_SIZE);