Searched refs:mmap_count (Results 1 – 14 of 14) sorted by relevance
99 atomic_inc(&us122l->mmap_count); in usb_stream_hwdep_vm_open()100 snd_printdd(KERN_DEBUG "%i\n", atomic_read(&us122l->mmap_count)); in usb_stream_hwdep_vm_open()143 atomic_dec(&us122l->mmap_count); in usb_stream_hwdep_vm_close()144 snd_printdd(KERN_DEBUG "%i\n", atomic_read(&us122l->mmap_count)); in usb_stream_hwdep_vm_close()231 atomic_inc(&us122l->mmap_count); in usb_stream_hwdep_mmap()620 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()865 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_change_params_locked()874 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()1395 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_write1()1505 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()2816 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_playback_ready()[all …]
141 int mmap_count; member
38 atomic_t mmap_count; member
3712 if (likely(!atomic_read(&event->mmap_count))) in event_update_userpage()6032 atomic_inc(&event->mmap_count); in perf_mmap_open()6033 atomic_inc(&event->rb->mmap_count); in perf_mmap_open()6090 if (atomic_dec_and_test(&rb->mmap_count)) in perf_mmap_close()6093 if (!atomic_dec_and_mutex_lock(&event->mmap_count, &event->mmap_mutex)) in perf_mmap_close()6244 if (!atomic_inc_not_zero(&rb->mmap_count)) in perf_mmap()6278 if (!atomic_inc_not_zero(&event->rb->mmap_count)) { in perf_mmap()6345 atomic_set(&rb->mmap_count, 1); in perf_mmap()6367 atomic_inc(&event->mmap_count); in perf_mmap()6369 atomic_dec(&rb->mmap_count); in perf_mmap()[all …]
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()
469 atomic_t mmap_count; member1328 atomic_inc(&substream->mmap_count); in snd_pcm_mmap_data_open()1340 atomic_dec(&substream->mmap_count); in snd_pcm_mmap_data_close()
153 atomic_t mmap_count; member1572 atomic_inc(&msc->mmap_count); in msc_mmap_open()1581 if (!atomic_dec_and_mutex_lock(&msc->mmap_count, &msc->buf_mutex)) in msc_mmap_close()1646 atomic_set(&msc->mmap_count, 1); in intel_th_msc_mmap()
727 atomic_t mmap_count; member
700 if (atomic_read(&substream->mmap_count)) in snd_pcm_hw_params()853 if (atomic_read(&substream->mmap_count)) in snd_pcm_hw_free()3830 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;
Completed in 75 milliseconds