Home
last modified time | relevance | path

Searched refs:mmap_count (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/sound/usb/usx2y/
Dus122l.c98 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()
Dus122l.h19 atomic_t mmap_count; member
/kernel/linux/linux-5.10/drivers/staging/vme/devices/
Dvme_user.c98 int mmap_count; /* Number of current mmap's */ member
343 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()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/include/hmm/
Dhmm_bo.h141 int mmap_count; member
/kernel/linux/linux-5.10/sound/core/oss/
Dpcm_oss.c705 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 …]
/kernel/linux/linux-5.10/kernel/events/
Dinternal.h38 atomic_t mmap_count; member
Dcore.c3747 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 …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hmm/
Dhmm_bo.c1338 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()
/kernel/linux/linux-5.10/include/sound/
Dpcm.h471 atomic_t mmap_count; member
1311 atomic_inc(&substream->mmap_count); in snd_pcm_mmap_data_open()
1323 atomic_dec(&substream->mmap_count); in snd_pcm_mmap_data_close()
/kernel/linux/linux-5.10/drivers/hwtracing/intel_th/
Dmsu.c153 atomic_t mmap_count; member
1566 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()
/kernel/linux/linux-5.10/include/linux/
Dperf_event.h713 atomic_t mmap_count; member
/kernel/linux/linux-5.10/sound/core/
Dpcm.c696 atomic_set(&substream->mmap_count, 0); in snd_pcm_new_stream()
Dpcm_native.c714 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()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dinclude.patch1124 + * @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;
Ddrivers.patch5313 + dmabuf->mmap_count++;
5323 + if (dmabuf->mmap_count)
5324 + dmabuf->mmap_count--;
5345 + dmabuf->mmap_count++;
/kernel/linux/linux-5.10/Documentation/sound/kernel-api/
Dwriting-an-alsa-driver.rst1594 atomic_t mmap_count;