Searched refs:refcnt (Results 1 – 7 of 7) sorted by relevance
46 TEST_ASSERT_VAL("wrong refcnt", mg->refcnt == 4); in test__thread_mg_share()62 TEST_ASSERT_VAL("wrong refcnt", other_mg->refcnt == 2); in test__thread_mg_share()68 TEST_ASSERT_VAL("wrong refcnt", mg->refcnt == 3); in test__thread_mg_share()71 TEST_ASSERT_VAL("wrong refcnt", mg->refcnt == 2); in test__thread_mg_share()74 TEST_ASSERT_VAL("wrong refcnt", mg->refcnt == 1); in test__thread_mg_share()80 TEST_ASSERT_VAL("wrong refcnt", other_mg->refcnt == 1); in test__thread_mg_share()
118 if (cgrp->refcnt == 0) in add_cgroup()123 cgrp->refcnt++; in add_cgroup()134 if (--cgrp->refcnt == 0) { in close_cgroup()
9 int refcnt; member
64 int refcnt; member73 ++mg->refcnt; in map_groups__get()
686 ++evlist->mmap[idx].refcnt; in perf_evlist__mmap_get()691 BUG_ON(evlist->mmap[idx].refcnt == 0); in perf_evlist__mmap_put()693 if (--evlist->mmap[idx].refcnt == 0) in perf_evlist__mmap_put()707 if (md->refcnt == 1 && perf_mmap__empty(md)) in perf_evlist__mmap_consume()716 evlist->mmap[idx].refcnt = 0; in __perf_evlist__munmap()763 evlist->mmap[idx].refcnt = 2; in __perf_evlist__mmap()
29 int refcnt; member
424 mg->refcnt = 1; in map_groups__init()492 if (--mg->refcnt == 0) in map_groups__put()