Searched refs:mmap_count (Results 1 – 11 of 11) sorted by relevance
699 if (atomic_read(&substream->mmap_count)) { in snd_pcm_oss_period_size() 872 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_change_params_locked() 881 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_change_params_locked() 1007 if (atomic_read(&substream->mmap_count) || in snd_pcm_oss_change_params_locked() 1016 if (atomic_read(&substream->mmap_count) || in snd_pcm_oss_change_params_locked() 1405 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_write1() 1515 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_read1() 1670 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_sync() 1854 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_get_formats() 2099 if (atomic_read(&psubstream->mmap_count)) in snd_pcm_oss_set_trigger() [all...]
422 refcount_t mmap_count; in arena_vm_fault() 433 refcount_set(&vml->mmap_count, 1);445 refcount_inc(&vml->mmap_count); in arena_get_unmapped_area() 464 if (!refcount_dec_and_test(&vml->mmap_count)) in arena_get_unmapped_area() 320 refcount_t mmap_count; global() member
38 refcount_t mmap_count; member
4083 if (likely(!refcount_read(&event->mmap_count))) in event_update_userpage() 6998 refcount_inc(&event->mmap_count); in perf_mmap_open() 6999 refcount_inc(&event->rb->mmap_count); in perf_mmap_open() 7056 if (refcount_dec_and_test(&rb->mmap_count)) in perf_mmap_close() 7059 if (!refcount_dec_and_mutex_lock(&event->mmap_count, &event->mmap_mutex)) in perf_mmap_close() 7291 * If this event doesn't have mmap_count, we're attempting to in perf_mmap_rb() 7296 if (!refcount_read(&event->mmap_count)) in perf_mmap_rb() 7299 if (refcount_inc_not_zero(&event->rb->mmap_count)) { in perf_mmap_rb() 7305 refcount_inc(&event->mmap_count); in perf_mmap_rb() 7339 refcount_set(&event->mmap_count, in perf_mmap_rb() [all...]
344 refcount_set(&rb->mmap_count, 1); in ring_buffer_init()
997 bo->mmap_count++; in hmm_bo_vm_close() 1012 bo->mmap_count--; in hmm_bo_vm_close() 1014 if (!bo->mmap_count) {
162 atomic_t mmap_count; member1593 atomic_inc(&msc->mmap_count); in msc_mmap_open()1601 if (!atomic_dec_and_mutex_lock(&msc->mmap_count, &msc->buf_mutex)) in msc_mmap_close()1653 atomic_set(&msc->mmap_count, 1); in intel_th_msc_mmap()
801 atomic_read(&substream->mmap_count)) in snd_pcm_hw_params() 962 if (atomic_read(&substream->mmap_count)) in snd_pcm_hw_free() 3883 atomic_inc(&substream->mmap_count);3893 atomic_dec(&substream->mmap_count);4035 atomic_inc(&substream->mmap_count); in snd_pcm_mmap()
690 atomic_set(&substream->mmap_count, 0); in snd_pcm_new_stream()
863 refcount_t mmap_count; member
1516 atomic_t mmap_count;