Searched refs:mmap_count (Results 1 – 14 of 14) sorted by relevance
98 atomic_inc(&us122l->mmap_count); in usb_stream_hwdep_vm_open()99 snd_printdd(KERN_DEBUG "%i\n", atomic_read(&us122l->mmap_count)); in usb_stream_hwdep_vm_open()141 atomic_dec(&us122l->mmap_count); in usb_stream_hwdep_vm_close()142 snd_printdd(KERN_DEBUG "%i\n", atomic_read(&us122l->mmap_count)); in usb_stream_hwdep_vm_close()228 atomic_inc(&us122l->mmap_count); in usb_stream_hwdep_mmap()613 while (atomic_read(&us122l->mmap_count)) in snd_us122l_disconnect()
19 atomic_t mmap_count; member
98 int mmap_count; /* Number of current mmap's */ member343 if (image[minor].mmap_count != 0) { in vme_user_ioctl()440 image[minor].mmap_count--; in vme_user_vm_close()475 image[minor].mmap_count++; in vme_user_master_mmap()
705 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()1010 if (atomic_read(&substream->mmap_count) || in snd_pcm_oss_change_params_locked()1019 if (atomic_read(&substream->mmap_count) || in snd_pcm_oss_change_params_locked()1398 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_write1()1508 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_read1()1663 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_sync()1843 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_get_formats()2086 if (atomic_read(&psubstream->mmap_count)) in snd_pcm_oss_set_trigger()[all …]
141 int mmap_count; member
38 atomic_t mmap_count; member
3681 if (likely(!atomic_read(&event->mmap_count))) in event_update_userpage()5937 atomic_inc(&event->mmap_count); in perf_mmap_open()5938 atomic_inc(&event->rb->mmap_count); in perf_mmap_open()5995 if (atomic_dec_and_test(&rb->mmap_count)) in perf_mmap_close()5998 if (!atomic_dec_and_mutex_lock(&event->mmap_count, &event->mmap_mutex)) in perf_mmap_close()6149 if (!atomic_inc_not_zero(&rb->mmap_count)) in perf_mmap()6183 if (!atomic_inc_not_zero(&event->rb->mmap_count)) { in perf_mmap()6250 atomic_set(&rb->mmap_count, 1); in perf_mmap()6272 atomic_inc(&event->mmap_count); in perf_mmap()6274 atomic_dec(&rb->mmap_count); in perf_mmap()[all …]
473 atomic_t mmap_count; member1313 atomic_inc(&substream->mmap_count); in snd_pcm_mmap_data_open()1325 atomic_dec(&substream->mmap_count); in snd_pcm_mmap_data_close()
1338 bo->mmap_count++; in hmm_bo_vm_open()1354 bo->mmap_count--; in hmm_bo_vm_close()1356 if (!bo->mmap_count) { in hmm_bo_vm_close()
153 atomic_t mmap_count; member1566 atomic_inc(&msc->mmap_count); in msc_mmap_open()1575 if (!atomic_dec_and_mutex_lock(&msc->mmap_count, &msc->buf_mutex)) in msc_mmap_close()1640 atomic_set(&msc->mmap_count, 1); in intel_th_msc_mmap()
724 atomic_t mmap_count; member
714 atomic_read(&substream->mmap_count)) in snd_pcm_hw_params()876 if (atomic_read(&substream->mmap_count)) in snd_pcm_hw_free()3872 atomic_inc(&substream->mmap_count); in snd_pcm_mmap_data()
696 atomic_set(&substream->mmap_count, 0); in snd_pcm_new_stream()
1594 atomic_t mmap_count;