Home
last modified time | relevance | path

Searched refs:rw_ref (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/sound/
H A Dpcm_oss.h45 atomic_t rw_ref; /* concurrent read/write accesses */ member
/openbmc/linux/sound/core/oss/
H A Dpcm_oss.c833 if (atomic_read(&runtime->oss.rw_ref)) { in lock_params()
1410 atomic_inc(&runtime->oss.rw_ref); in snd_pcm_oss_write1()
1474 atomic_dec(&runtime->oss.rw_ref); in snd_pcm_oss_write1()
1520 atomic_inc(&runtime->oss.rw_ref); in snd_pcm_oss_read1()
1569 atomic_dec(&runtime->oss.rw_ref); in snd_pcm_oss_read1()
1675 atomic_inc(&runtime->oss.rw_ref); in snd_pcm_oss_sync()
1677 atomic_dec(&runtime->oss.rw_ref); in snd_pcm_oss_sync()
1722 atomic_dec(&runtime->oss.rw_ref); in snd_pcm_oss_sync()
2402 atomic_set(&runtime->oss.rw_ref, 0); in snd_pcm_oss_init_substream()