Lines Matching refs:reader_lock
463 raw_spinlock_t reader_lock; /* serialize readers */ member
1015 raw_spin_lock_irqsave(&cpu_buffer->reader_lock, flags); in ring_buffer_wait()
1022 raw_spin_unlock_irqrestore(&cpu_buffer->reader_lock, flags); in ring_buffer_wait()
1670 raw_spin_lock_init(&cpu_buffer->reader_lock); in rb_allocate_cpu_buffer()
1671 lockdep_set_class(&cpu_buffer->reader_lock, buffer->reader_lock_key); in rb_allocate_cpu_buffer()
1905 raw_spin_lock_irq(&cpu_buffer->reader_lock); in rb_remove_pages()
1963 raw_spin_unlock_irq(&cpu_buffer->reader_lock); in rb_remove_pages()
2012 raw_spin_lock_irq(&cpu_buffer->reader_lock); in rb_insert_pages()
2069 raw_spin_unlock_irq(&cpu_buffer->reader_lock); in rb_insert_pages()
4147 raw_spin_lock_irqsave(&cpu_buffer->reader_lock, flags); in ring_buffer_oldest_event_ts()
4158 raw_spin_unlock_irqrestore(&cpu_buffer->reader_lock, flags); in ring_buffer_oldest_event_ts()
4370 raw_spin_lock_irqsave(&cpu_buffer->reader_lock, flags); in ring_buffer_iter_reset()
4372 raw_spin_unlock_irqrestore(&cpu_buffer->reader_lock, flags); in ring_buffer_iter_reset()
5002 raw_spin_lock(&cpu_buffer->reader_lock); in rb_reader_lock()
5015 if (raw_spin_trylock(&cpu_buffer->reader_lock)) in rb_reader_lock()
5027 raw_spin_unlock(&cpu_buffer->reader_lock); in rb_reader_unlock()
5098 raw_spin_lock_irqsave(&cpu_buffer->reader_lock, flags); in ring_buffer_iter_peek()
5100 raw_spin_unlock_irqrestore(&cpu_buffer->reader_lock, flags); in ring_buffer_iter_peek()
5166 raw_spin_lock_irq(&cpu_buffer->reader_lock); in ring_buffer_update_view()
5207 raw_spin_unlock_irq(&cpu_buffer->reader_lock); in ring_buffer_update_view()
5314 raw_spin_lock_irqsave(&cpu_buffer->reader_lock, flags); in ring_buffer_read_start()
5318 raw_spin_unlock_irqrestore(&cpu_buffer->reader_lock, flags); in ring_buffer_read_start()
5341 raw_spin_lock_irqsave(&cpu_buffer->reader_lock, flags); in ring_buffer_read_finish()
5343 raw_spin_unlock_irqrestore(&cpu_buffer->reader_lock, flags); in ring_buffer_read_finish()
5363 raw_spin_lock_irqsave(&cpu_buffer->reader_lock, flags); in ring_buffer_iter_advance()
5367 raw_spin_unlock_irqrestore(&cpu_buffer->reader_lock, flags); in ring_buffer_iter_advance()
5451 raw_spin_lock_irqsave(&cpu_buffer->reader_lock, flags); in reset_disabled_cpu_buffer()
5463 raw_spin_unlock_irqrestore(&cpu_buffer->reader_lock, flags); in reset_disabled_cpu_buffer()
5880 raw_spin_lock_irqsave(&cpu_buffer->reader_lock, flags); in ring_buffer_read_page()
6013 raw_spin_unlock_irqrestore(&cpu_buffer->reader_lock, flags); in ring_buffer_read_page()