Searched refs:mmap_count (Results 1 – 2 of 2) sorted by relevance
38 atomic_t mmap_count; member
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()[all …]