Searched refs:mmap_count (Results 1 – 2 of 2) sorted by relevance
36 atomic_t mmap_count; member
4653 atomic_inc(&event->mmap_count); in perf_mmap_open()4654 atomic_inc(&event->rb->mmap_count); in perf_mmap_open()4697 if (atomic_dec_and_test(&rb->mmap_count)) in perf_mmap_close()4700 if (!atomic_dec_and_mutex_lock(&event->mmap_count, &event->mmap_mutex)) in perf_mmap_close()4846 if (!atomic_inc_not_zero(&rb->mmap_count)) in perf_mmap()4880 if (!atomic_inc_not_zero(&event->rb->mmap_count)) { in perf_mmap()4941 atomic_set(&rb->mmap_count, 1); in perf_mmap()4961 atomic_inc(&event->mmap_count); in perf_mmap()4963 atomic_dec(&rb->mmap_count); in perf_mmap()8237 if (atomic_read(&event->mmap_count)) in perf_event_set_output()