Searched refs:dolock (Results 1 – 2 of 2) sorted by relevance
4590 bool dolock; in ring_buffer_peek() local4597 dolock = rb_reader_lock(cpu_buffer); in ring_buffer_peek()4601 rb_reader_unlock(cpu_buffer, dolock); in ring_buffer_peek()4668 bool dolock; in ring_buffer_consume() local4679 dolock = rb_reader_lock(cpu_buffer); in ring_buffer_consume()4687 rb_reader_unlock(cpu_buffer, dolock); in ring_buffer_consume()5037 bool dolock; in ring_buffer_empty() local5045 dolock = rb_reader_lock(cpu_buffer); in ring_buffer_empty()5047 rb_reader_unlock(cpu_buffer, dolock); in ring_buffer_empty()5067 bool dolock; in ring_buffer_empty_cpu() local[all …]
1442 int rc, dolock; in ctcmpc_chx_rx() local1454 dolock = !in_irq(); in ctcmpc_chx_rx()1455 if (dolock) in ctcmpc_chx_rx()1459 if (dolock) /* see remark about conditional locking */ in ctcmpc_chx_rx()