Searched refs:mmap_count (Results 1 – 16 of 16) 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
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 …]
38 atomic_t mmap_count; member
3747 if (likely(!atomic_read(&event->mmap_count))) in event_update_userpage()6033 atomic_inc(&event->mmap_count); in perf_mmap_open()6034 atomic_inc(&event->rb->mmap_count); in perf_mmap_open()6091 if (atomic_dec_and_test(&rb->mmap_count)) in perf_mmap_close()6094 if (!atomic_dec_and_mutex_lock(&event->mmap_count, &event->mmap_mutex)) in perf_mmap_close()6245 if (!atomic_inc_not_zero(&rb->mmap_count)) in perf_mmap()6279 if (!atomic_inc_not_zero(&event->rb->mmap_count)) { in perf_mmap()6346 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()
471 atomic_t mmap_count; member1311 atomic_inc(&substream->mmap_count); in snd_pcm_mmap_data_open()1323 atomic_dec(&substream->mmap_count); in snd_pcm_mmap_data_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()
713 atomic_t mmap_count; member
696 atomic_set(&substream->mmap_count, 0); in snd_pcm_new_stream()
714 atomic_read(&substream->mmap_count)) in snd_pcm_hw_params()876 if (atomic_read(&substream->mmap_count)) in snd_pcm_hw_free()3874 atomic_inc(&substream->mmap_count); in snd_pcm_mmap_data()
1124 + * @mmap_count: number of times buffer has been mmapped.1126 + * @vm_ops: the overridden vm_ops used to track mmap_count of the buffer.1137 + int mmap_count;
5313 + dmabuf->mmap_count++;5323 + if (dmabuf->mmap_count)5324 + dmabuf->mmap_count--;5345 + dmabuf->mmap_count++;
1594 atomic_t mmap_count;