Searched refs:dolock (Results 1 – 2 of 2) sorted by relevance
3896 int dolock; in ring_buffer_peek() local3901 dolock = rb_ok_to_lock(); in ring_buffer_peek()3904 if (dolock) in ring_buffer_peek()3909 if (dolock) in ring_buffer_peek()3963 int dolock; in ring_buffer_consume() local3965 dolock = rb_ok_to_lock(); in ring_buffer_consume()3976 if (dolock) in ring_buffer_consume()3985 if (dolock) in ring_buffer_consume()4267 int dolock; in ring_buffer_empty() local4271 dolock = rb_ok_to_lock(); in ring_buffer_empty()[all …]
1449 int rc, dolock; in ctcmpc_chx_rx() local1461 dolock = !in_irq(); in ctcmpc_chx_rx()1462 if (dolock) in ctcmpc_chx_rx()1467 if (dolock) /* see remark about conditional locking */ in ctcmpc_chx_rx()