Searched refs:buffer_accessing (Results 1 – 4 of 4) sorted by relevance
2224 if (!atomic_inc_unless_negative(&runtime->buffer_accessing)) { in __snd_pcm_lib_xfer()2232 atomic_dec(&runtime->buffer_accessing); in __snd_pcm_lib_xfer()
973 atomic_set(&runtime->buffer_accessing, 0); in snd_pcm_attach_substream()
675 if (!atomic_dec_unless_positive(&runtime->buffer_accessing)) in snd_pcm_buffer_access_lock()685 atomic_inc(&runtime->buffer_accessing); in snd_pcm_buffer_access_unlock()
402 atomic_t buffer_accessing; /* >0: in r/w operation, <0: blocked */ member