Searched refs:refcount_read (Results 1 – 14 of 14) sorted by relevance
| /tools/perf/tests/ |
| D | thread-maps-share.c | 46 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 4); in test__thread_maps_share() 74 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(other_maps)), 2); in test__thread_maps_share() 80 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 3); in test__thread_maps_share() 83 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 2); in test__thread_maps_share() 86 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(maps)), 1); in test__thread_maps_share() 92 TEST_ASSERT_EQUAL("wrong refcnt", refcount_read(maps__refcnt(other_maps)), 1); in test__thread_maps_share()
|
| D | thread-map.c | 43 refcount_read(&map->refcnt) == 1); in test__thread_map() 58 refcount_read(&map->refcnt) == 1); in test__thread_map() 85 refcount_read(&threads->refcnt) == 1); in process_event()
|
| D | maps.c | 30 refcount_read(map__refcnt(map)) != 1) { in check_maps_cb() 43 refcount_read(map__refcnt(map))); in failed_cb()
|
| D | cpumap.c | 71 TEST_ASSERT_VAL("wrong refcnt", refcount_read(perf_cpu_map__refcnt(map)) == 1); in process_event_cpus() 97 TEST_ASSERT_VAL("wrong refcnt", refcount_read(perf_cpu_map__refcnt(map)) == 1); in process_event_range_cpus()
|
| /tools/lib/perf/ |
| D | mmap.c | 77 BUG_ON(map->base && refcount_read(&map->refcnt) == 0); in perf_mmap__put() 108 if (refcount_read(&map->refcnt) == 1 && perf_mmap__empty(map)) in perf_mmap__consume() 186 if (!refcount_read(&map->refcnt)) in perf_mmap__read_init() 203 if (!refcount_read(&map->refcnt)) in perf_mmap__read_done() 279 if (!refcount_read(&map->refcnt)) in perf_mmap__read_event()
|
| D | threadmap.c | 72 WARN_ONCE(refcount_read(&threads->refcnt) != 0, in perf_thread_map__delete()
|
| D | cpumap.c | 48 WARN_ONCE(refcount_read(perf_cpu_map__refcnt(map)) != 0, in cpu_map__delete()
|
| /tools/include/linux/ |
| D | refcount.h | 68 static inline unsigned int refcount_read(const refcount_t *r) in refcount_read() function
|
| /tools/perf/util/ |
| D | comm.c | 71 if (refcount_read(comm_str__refcnt(cs)) == 1) in comm_str__put() 108 if (refcount_read(comm_str__refcnt(cs)) == 1) { in comm_strs__remove_if_last()
|
| D | namespaces.c | 220 WARN_ONCE(refcount_read(nsinfo__refcnt(nsi)) != 0, "nsinfo refcnt unbalanced\n"); in nsinfo__delete()
|
| D | maps.c | 77 assert(refcount_read(map__refcnt(map)) > 0); in check_invariants() 110 assert(refcount_read(map__refcnt(map)) > 1); in check_invariants()
|
| D | map.c | 298 BUG_ON(refcount_read(map__refcnt(map)) != 0); in map__exit()
|
| /tools/testing/vma/ |
| D | vma_internal.h | 400 WARN_ON_ONCE(!refcount_read(&vma->vm_refcnt)); in vma_assert_attached() 405 WARN_ON_ONCE(refcount_read(&vma->vm_refcnt)); in vma_assert_detached()
|
| /tools/testing/selftests/bpf/bpf_testmod/ |
| D | bpf_testmod.c | 1370 while (refcount_read(&prog_test_struct.cnt) > 1) in bpf_testmod_exit()
|