Home
last modified time | relevance | path

Searched refs:map__refcnt (Results 1 – 4 of 4) sorted by relevance

/linux/tools/perf/tests/
H A Dmaps.c30 refcount_read(map__refcnt(map)) != 1) { in check_maps_cb()
43 refcount_read(map__refcnt(map))); in failed_cb()
/linux/tools/perf/util/
H A Dmap.h92 static inline refcount_t *map__refcnt(struct map *map) in map__refcnt() function
190 refcount_inc(map__refcnt(map)); in map__get()
H A Dmap.c113 refcount_set(map__refcnt(map), 1); in map__init()
298 BUG_ON(refcount_read(map__refcnt(map)) != 0); in map__exit()
310 if (map && refcount_dec_and_test(map__refcnt(map))) in map__put()
H A Dmaps.c77 assert(refcount_read(map__refcnt(map)) > 0); in check_invariants()
110 assert(refcount_read(map__refcnt(map)) > 1); in check_invariants()