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()
141 int mmap_count; member
697 if (atomic_read(&substream->mmap_count)) { in snd_pcm_oss_period_size()853 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_change_params_locked()862 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_change_params_locked()986 if (atomic_read(&substream->mmap_count) || in snd_pcm_oss_change_params_locked()995 if (atomic_read(&substream->mmap_count) || in snd_pcm_oss_change_params_locked()1375 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_write1()1485 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_read1()1640 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_sync()1819 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_get_formats()2058 if (atomic_read(&psubstream->mmap_count)) in snd_pcm_oss_set_trigger()[all …]
38 atomic_t mmap_count; member
5869 atomic_inc(&event->mmap_count); in perf_mmap_open()5870 atomic_inc(&event->rb->mmap_count); in perf_mmap_open()5927 if (atomic_dec_and_test(&rb->mmap_count)) in perf_mmap_close()5930 if (!atomic_dec_and_mutex_lock(&event->mmap_count, &event->mmap_mutex)) in perf_mmap_close()6081 if (!atomic_inc_not_zero(&rb->mmap_count)) in perf_mmap()6115 if (!atomic_inc_not_zero(&event->rb->mmap_count)) { in perf_mmap()6182 atomic_set(&rb->mmap_count, 1); in perf_mmap()6202 atomic_inc(&event->mmap_count); in perf_mmap()6204 atomic_dec(&rb->mmap_count); in perf_mmap()11513 if (atomic_read(&event->mmap_count)) in perf_event_set_output()
1335 bo->mmap_count++; in hmm_bo_vm_open()1351 bo->mmap_count--; in hmm_bo_vm_close()1353 if (!bo->mmap_count) { in hmm_bo_vm_close()
469 atomic_t mmap_count; member1309 atomic_inc(&substream->mmap_count); in snd_pcm_mmap_data_open()1321 atomic_dec(&substream->mmap_count); in snd_pcm_mmap_data_close()
153 atomic_t mmap_count; member1556 atomic_inc(&msc->mmap_count); in msc_mmap_open()1565 if (!atomic_dec_and_mutex_lock(&msc->mmap_count, &msc->buf_mutex)) in msc_mmap_close()1630 atomic_set(&msc->mmap_count, 1); in intel_th_msc_mmap()
721 atomic_t mmap_count; member
686 if (atomic_read(&substream->mmap_count)) in snd_pcm_hw_params()833 if (atomic_read(&substream->mmap_count)) in snd_pcm_hw_free()3796 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;