Searched refs:rw_ref (Results 1 – 2 of 2) sorted by relevance
45 atomic_t rw_ref; /* concurrent read/write accesses */ member
816 if (atomic_read(&runtime->oss.rw_ref)) { in lock_params()1377 atomic_inc(&runtime->oss.rw_ref); in snd_pcm_oss_write1()1441 atomic_dec(&runtime->oss.rw_ref); in snd_pcm_oss_write1()1487 atomic_inc(&runtime->oss.rw_ref); in snd_pcm_oss_read1()1536 atomic_dec(&runtime->oss.rw_ref); in snd_pcm_oss_read1()1643 atomic_inc(&runtime->oss.rw_ref); in snd_pcm_oss_sync()1645 atomic_dec(&runtime->oss.rw_ref); in snd_pcm_oss_sync()1687 atomic_dec(&runtime->oss.rw_ref); in snd_pcm_oss_sync()2357 atomic_set(&runtime->oss.rw_ref, 0); in snd_pcm_oss_init_substream()