Searched refs:mmap_count (Results 1 – 2 of 2) sorted by relevance
38 atomic_t mmap_count; member
3812 if (likely(!atomic_read(&event->mmap_count))) in event_update_userpage()6163 atomic_inc(&event->mmap_count); in perf_mmap_open()6164 atomic_inc(&event->rb->mmap_count); in perf_mmap_open()6221 if (atomic_dec_and_test(&rb->mmap_count)) in perf_mmap_close()6224 if (!atomic_dec_and_mutex_lock(&event->mmap_count, &event->mmap_mutex)) in perf_mmap_close()6375 if (!atomic_inc_not_zero(&rb->mmap_count)) in perf_mmap()6409 if (!atomic_inc_not_zero(&event->rb->mmap_count)) { in perf_mmap()6476 atomic_set(&rb->mmap_count, 1); in perf_mmap()6497 atomic_inc(&event->mmap_count); in perf_mmap()6499 atomic_dec(&rb->mmap_count); in perf_mmap()[all …]