Searched refs:mmap_count (Results 1 – 10 of 10) sorted by relevance
98 int mmap_count; /* Number of current mmap's */ member346 if (image[minor].mmap_count != 0) { in vme_user_ioctl()443 image[minor].mmap_count--; in vme_user_vm_close()478 image[minor].mmap_count++; in vme_user_master_mmap()
697 if (atomic_read(&substream->mmap_count)) { in snd_pcm_oss_period_size()870 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_change_params_locked()879 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_change_params_locked()1005 if (atomic_read(&substream->mmap_count) || in snd_pcm_oss_change_params_locked()1014 if (atomic_read(&substream->mmap_count) || in snd_pcm_oss_change_params_locked()1396 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_write1()1506 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_read1()1661 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_sync()1846 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_get_formats()2090 if (atomic_read(&psubstream->mmap_count)) in snd_pcm_oss_set_trigger()[all …]
38 atomic_t mmap_count; member
3892 if (likely(!atomic_read(&event->mmap_count))) in event_update_userpage()6424 atomic_inc(&event->mmap_count); in perf_mmap_open()6425 atomic_inc(&event->rb->mmap_count); in perf_mmap_open()6481 if (atomic_dec_and_test(&rb->mmap_count)) in perf_mmap_close()6484 if (!atomic_dec_and_mutex_lock(&event->mmap_count, &event->mmap_mutex)) in perf_mmap_close()6641 if (!atomic_inc_not_zero(&rb->mmap_count)) in perf_mmap()6675 if (!atomic_inc_not_zero(&event->rb->mmap_count)) { in perf_mmap()6742 atomic_set(&rb->mmap_count, 1); in perf_mmap()6763 atomic_inc(&event->mmap_count); in perf_mmap()6765 atomic_dec(&rb->mmap_count); in perf_mmap()[all …]
153 atomic_t mmap_count; member1588 atomic_inc(&msc->mmap_count); in msc_mmap_open()1597 if (!atomic_dec_and_mutex_lock(&msc->mmap_count, &msc->buf_mutex)) in msc_mmap_close()1662 atomic_set(&msc->mmap_count, 1); in intel_th_msc_mmap()
752 atomic_read(&substream->mmap_count)) in snd_pcm_hw_params() 913 if (atomic_read(&substream->mmap_count)) in snd_pcm_hw_free() 3783 atomic_inc(&substream->mmap_count); in snd_pcm_mmap_data_open() 3793 atomic_dec(&substream->mmap_count); in snd_pcm_mmap_data_close() 3935 atomic_inc(&substream->mmap_count); in snd_pcm_mmap_data()
692 atomic_set(&substream->mmap_count, 0); in snd_pcm_new_stream()
491 atomic_t mmap_count; member
814 atomic_t mmap_count; member
1516 atomic_t mmap_count;