Home
last modified time | relevance | path

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

/linux/drivers/staging/vme_user/
H A Dvme_user.c98 int mmap_count; /* Number of current mmap's */ member
346 if (image[minor].mmap_count != 0) { in vme_user_ioctl()
443 image[minor].mmap_count--; in vme_user_vm_close()
478 image[minor].mmap_count++; in vme_user_master_mmap()
/linux/sound/core/oss/
H A Dpcm_oss.c697 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()
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()
1396 if (atomic_read(&substream->mmap_count)) in snd_pcm_oss_write1()
1506 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()
2090 if (atomic_read(&psubstream->mmap_count)) in snd_pcm_oss_set_trigger()
[all …]
/linux/kernel/events/
H A Dinternal.h38 atomic_t mmap_count; member
H A Dcore.c3892 if (likely(!atomic_read(&event->mmap_count))) in event_update_userpage()
6424 atomic_inc(&event->mmap_count); in perf_mmap_open()
6425 atomic_inc(&event->rb->mmap_count); in perf_mmap_open()
6481 if (atomic_dec_and_test(&rb->mmap_count)) in perf_mmap_close()
6484 if (!atomic_dec_and_mutex_lock(&event->mmap_count, &event->mmap_mutex)) in perf_mmap_close()
6641 if (!atomic_inc_not_zero(&rb->mmap_count)) in perf_mmap()
6675 if (!atomic_inc_not_zero(&event->rb->mmap_count)) { in perf_mmap()
6742 atomic_set(&rb->mmap_count, 1); in perf_mmap()
6763 atomic_inc(&event->mmap_count); in perf_mmap()
6765 atomic_dec(&rb->mmap_count); in perf_mmap()
[all …]
/linux/drivers/hwtracing/intel_th/
H A Dmsu.c153 atomic_t mmap_count; member
1588 atomic_inc(&msc->mmap_count); in msc_mmap_open()
1597 if (!atomic_dec_and_mutex_lock(&msc->mmap_count, &msc->buf_mutex)) in msc_mmap_close()
1662 atomic_set(&msc->mmap_count, 1); in intel_th_msc_mmap()
/linux/sound/core/
H A Dpcm_native.c752 atomic_read(&substream->mmap_count)) in snd_pcm_hw_params()
913 if (atomic_read(&substream->mmap_count)) in snd_pcm_hw_free()
3783 atomic_inc(&substream->mmap_count); in snd_pcm_mmap_data_open()
3793 atomic_dec(&substream->mmap_count); in snd_pcm_mmap_data_close()
3935 atomic_inc(&substream->mmap_count); in snd_pcm_mmap_data()
H A Dpcm.c692 atomic_set(&substream->mmap_count, 0); in snd_pcm_new_stream()
/linux/include/sound/
H A Dpcm.h491 atomic_t mmap_count; member
/linux/include/linux/
H A Dperf_event.h814 atomic_t mmap_count; member
/linux/Documentation/sound/kernel-api/
H A Dwriting-an-alsa-driver.rst1516 atomic_t mmap_count;