Searched refs:refcount_set (Results 1 – 14 of 14) sorted by relevance
/tools/perf/util/ |
D | thread_map.c | 51 refcount_set(&threads->refcnt, 1); in thread_map__new_by_pid() 68 refcount_set(&threads->refcnt, 1); in thread_map__new_by_tid() 90 refcount_set(&threads->refcnt, 1); in __thread_map__new_all_cpus() 230 refcount_set(&threads->refcnt, 1); in thread_map__new_by_pid_str() 283 refcount_set(&threads->refcnt, 1); in thread_map__new_by_tid_str() 383 refcount_set(&threads->refcnt, 1); in thread_map__copy_event()
|
D | namespaces.c | 150 refcount_set(&nsi->refcnt, 1); in nsinfo__new() 176 refcount_set(&nnsi->refcnt, 1); in nsinfo__copy()
|
D | comm.c | 55 refcount_set(&cs->refcnt, 1); in comm_str__alloc()
|
D | cgroup.c | 115 refcount_set(&cgroup->refcnt, 1); in cgroup__new()
|
D | cpumap.c | 92 refcount_set(&cpus->refcnt, 1); in perf_cpu_map__empty_new() 158 refcount_set(&c->refcnt, 1); in cpu_map__build_map()
|
D | mmap.c | 325 refcount_set(&map->core.refcnt, 0); in perf_mmap__munmap() 371 refcount_set(&map->core.refcnt, 2); in perf_mmap__mmap()
|
D | map.c | 145 refcount_set(&map->refcnt, 1); in map__init() 395 refcount_set(&map->refcnt, 1); in map__clone() 586 refcount_set(&mg->refcnt, 1); in map_groups__init()
|
D | thread.c | 66 refcount_set(&thread->refcnt, 1); in thread__new()
|
D | symbol.c | 2371 refcount_set(&mi->refcnt, 1); in mem_info__new() 2393 refcount_set(&bi->refcnt, 1); in block_info__new()
|
D | dso.c | 1196 refcount_set(&dso->refcnt, 1); in dso__new()
|
D | evlist.c | 619 refcount_set(&map[i].core.refcnt, 0); in evlist__alloc_mmap()
|
/tools/perf/lib/ |
D | cpumap.c | 20 refcount_set(&cpus->refcnt, 1); in perf_cpu_map__dummy_new() 65 refcount_set(&cpus->refcnt, 1); in cpu_map__default_new() 79 refcount_set(&cpus->refcnt, 1); in cpu_map__trim_new()
|
D | threadmap.c | 52 refcount_set(&threads->refcnt, 1); in perf_thread_map__new_dummy()
|
/tools/include/linux/ |
D | refcount.h | 58 static inline void refcount_set(refcount_t *r, unsigned int n) in refcount_set() function
|