Lines Matching refs:mmap_count
3773 if (likely(!atomic_read(&event->mmap_count))) in event_update_userpage()
6117 atomic_inc(&event->mmap_count); in perf_mmap_open()
6118 atomic_inc(&event->rb->mmap_count); in perf_mmap_open()
6175 if (atomic_dec_and_test(&rb->mmap_count)) in perf_mmap_close()
6178 if (!atomic_dec_and_mutex_lock(&event->mmap_count, &event->mmap_mutex)) in perf_mmap_close()
6329 if (!atomic_inc_not_zero(&rb->mmap_count)) in perf_mmap()
6363 if (!atomic_inc_not_zero(&event->rb->mmap_count)) { in perf_mmap()
6430 atomic_set(&rb->mmap_count, 1); in perf_mmap()
6451 atomic_inc(&event->mmap_count); in perf_mmap()
6453 atomic_dec(&rb->mmap_count); in perf_mmap()
12131 if (atomic_read(&event->mmap_count)) in perf_event_set_output()
12141 if (!atomic_read(&rb->mmap_count)) { in perf_event_set_output()