Searched refs:dolock (Results 1 – 2 of 2) sorted by relevance
4975 bool dolock; in ring_buffer_peek() local4982 dolock = rb_reader_lock(cpu_buffer); in ring_buffer_peek()4986 rb_reader_unlock(cpu_buffer, dolock); in ring_buffer_peek()5053 bool dolock; in ring_buffer_consume() local5064 dolock = rb_reader_lock(cpu_buffer); in ring_buffer_consume()5072 rb_reader_unlock(cpu_buffer, dolock); in ring_buffer_consume()5425 bool dolock; in ring_buffer_empty() local5433 dolock = rb_reader_lock(cpu_buffer); in ring_buffer_empty()5435 rb_reader_unlock(cpu_buffer, dolock); in ring_buffer_empty()5455 bool dolock; in ring_buffer_empty_cpu() local[all …]
1435 int rc, dolock; in ctcmpc_chx_rx() local1447 dolock = !in_hardirq(); in ctcmpc_chx_rx()1448 if (dolock) in ctcmpc_chx_rx()1452 if (dolock) /* see remark about conditional locking */ in ctcmpc_chx_rx()