Searched refs:mmap_count (Results 1 - 13 of 13) sorted by relevance

/linux-master/sound/usb/usx2y/
H A Dus122l.h19 atomic_t mmap_count; member in struct:us122l
H A Dus122l.c99 atomic_inc(&us122l->mmap_count);
100 snd_printdd(KERN_DEBUG "%i\n", atomic_read(&us122l->mmap_count));
143 atomic_dec(&us122l->mmap_count);
144 snd_printdd(KERN_DEBUG "%i\n", atomic_read(&us122l->mmap_count));
231 atomic_inc(&us122l->mmap_count);
620 while (atomic_read(&us122l->mmap_count))
/linux-master/kernel/events/
H A Dinternal.h38 atomic_t mmap_count; member in struct:perf_buffer
H A Dcore.c3811 if (likely(!atomic_read(&event->mmap_count)))
6299 atomic_inc(&event->mmap_count);
6300 atomic_inc(&event->rb->mmap_count);
6332 * rb->aux_mmap_count will always drop before rb->mmap_count and
6333 * event->mmap_count, so it is ok to use event->mmap_mutex to
6357 if (atomic_dec_and_test(&rb->mmap_count))
6360 if (!atomic_dec_and_mutex_lock(&event->mmap_count, &event->mmap_mutex))
6511 if (!atomic_inc_not_zero(&rb->mmap_count))
6545 if (!atomic_inc_not_zero(&event->rb->mmap_count)) {
6612 atomic_set(&rb->mmap_count,
[all...]
/linux-master/drivers/staging/media/atomisp/include/hmm/
H A Dhmm_bo.h122 int mmap_count; member in struct:hmm_buffer_object
/linux-master/drivers/staging/vme_user/
H A Dvme_user.c98 int mmap_count; /* Number of current mmap's */ member in struct:image_desc
345 if (image[minor].mmap_count != 0) {
442 image[minor].mmap_count--;
477 image[minor].mmap_count++;
/linux-master/sound/core/oss/
H A Dpcm_oss.c697 if (atomic_read(&substream->mmap_count)) {
870 if (atomic_read(&substream->mmap_count))
879 if (atomic_read(&substream->mmap_count))
1005 if (atomic_read(&substream->mmap_count) ||
1014 if (atomic_read(&substream->mmap_count) ||
1396 if (atomic_read(&substream->mmap_count))
1506 if (atomic_read(&substream->mmap_count))
1661 if (atomic_read(&substream->mmap_count))
1846 if (atomic_read(&substream->mmap_count))
2090 if (atomic_read(&psubstream->mmap_count))
[all...]
/linux-master/drivers/staging/media/atomisp/pci/hmm/
H A Dhmm_bo.c1001 bo->mmap_count++;
1017 bo->mmap_count--;
1019 if (!bo->mmap_count) {
/linux-master/include/sound/
H A Dpcm.h481 atomic_t mmap_count; member in struct:snd_pcm_substream
1423 atomic_inc(&substream->mmap_count);
1435 atomic_dec(&substream->mmap_count);
/linux-master/drivers/hwtracing/intel_th/
H A Dmsu.c120 * @mmap_count: number of mappings
153 atomic_t mmap_count; member in struct:msc
1580 atomic_inc(&msc->mmap_count);
1589 if (!atomic_dec_and_mutex_lock(&msc->mmap_count, &msc->buf_mutex))
1654 atomic_set(&msc->mmap_count, 1);
/linux-master/include/linux/
H A Dperf_event.h769 atomic_t mmap_count; member in struct:perf_event
/linux-master/sound/core/
H A Dpcm.c689 atomic_set(&substream->mmap_count, 0);
H A Dpcm_native.c746 atomic_read(&substream->mmap_count))
907 if (atomic_read(&substream->mmap_count))
3901 atomic_inc(&substream->mmap_count);

Completed in 300 milliseconds