Lines Matching refs:mmap_count
3892 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()
12616 if (atomic_read(&event->mmap_count)) in perf_event_set_output()
12626 if (!atomic_read(&rb->mmap_count)) { in perf_event_set_output()