Home
last modified time | relevance | path

Searched refs:refcount_read (Results 1 – 10 of 10) sorted by relevance

/tools/perf/tests/
Dthread-maps-share.c46 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&maps->refcnt), 4); in test__thread_maps_share()
74 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&other_maps->refcnt), 2); in test__thread_maps_share()
80 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&maps->refcnt), 3); in test__thread_maps_share()
83 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&maps->refcnt), 2); in test__thread_maps_share()
86 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&maps->refcnt), 1); in test__thread_maps_share()
92 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(&other_maps->refcnt), 1); in test__thread_maps_share()
Dthread-map.c42 refcount_read(&map->refcnt) == 1); in test__thread_map()
57 refcount_read(&map->refcnt) == 1); in test__thread_map()
84 refcount_read(&threads->refcnt) == 1); in process_event()
Dmaps.c28 TEST_ASSERT_VAL("wrong map refcnt", refcount_read(&map->refcnt) == 1); in check_maps()
Dcpumap.c72 TEST_ASSERT_VAL("wrong refcnt", refcount_read(&map->refcnt) == 1); in process_event_cpus()
/tools/lib/perf/
Dmmap.c68 BUG_ON(map->base && refcount_read(&map->refcnt) == 0); in perf_mmap__put()
99 if (refcount_read(&map->refcnt) == 1 && perf_mmap__empty(map)) in perf_mmap__consume()
177 if (!refcount_read(&map->refcnt)) in perf_mmap__read_init()
194 if (!refcount_read(&map->refcnt)) in perf_mmap__read_done()
262 if (!refcount_read(&map->refcnt)) in perf_mmap__read_event()
Dthreadmap.c62 WARN_ONCE(refcount_read(&threads->refcnt) != 0, in perf_thread_map__delete()
Dcpumap.c29 WARN_ONCE(refcount_read(&map->refcnt) != 0, in cpu_map__delete()
/tools/include/linux/
Drefcount.h63 static inline unsigned int refcount_read(const refcount_t *r) in refcount_read() function
/tools/perf/util/
Dmap.c282 BUG_ON(refcount_read(&map->refcnt) != 0); in map__exit()
Dmachine.c1836 BUG_ON(refcount_read(&th->refcnt) == 0); in __machine__remove_thread()