Lines Matching refs:mmap_count
3712 if (likely(!atomic_read(&event->mmap_count))) in event_update_userpage()
6032 atomic_inc(&event->mmap_count); in perf_mmap_open()
6033 atomic_inc(&event->rb->mmap_count); in perf_mmap_open()
6090 if (atomic_dec_and_test(&rb->mmap_count)) in perf_mmap_close()
6093 if (!atomic_dec_and_mutex_lock(&event->mmap_count, &event->mmap_mutex)) in perf_mmap_close()
6244 if (!atomic_inc_not_zero(&rb->mmap_count)) in perf_mmap()
6278 if (!atomic_inc_not_zero(&event->rb->mmap_count)) { in perf_mmap()
6345 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()
11883 if (atomic_read(&event->mmap_count)) in perf_event_set_output()