Home
last modified time | relevance | path

Searched refs:refcount_set (Results 1 – 15 of 15) sorted by relevance

/tools/perf/util/
Dthread_map.c51 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()
Dnamespaces.c150 refcount_set(&nsi->refcnt, 1); in nsinfo__new()
176 refcount_set(&nnsi->refcnt, 1); in nsinfo__copy()
Dcomm.c55 refcount_set(&cs->refcnt, 1); in comm_str__alloc()
Dcgroup.c59 refcount_set(&cgroup->refcnt, 1); in cgroup__new()
336 refcount_set(&cgrp->refcnt, 1); in __cgroup__findnew()
Dcpumap.c92 refcount_set(&cpus->refcnt, 1); in perf_cpu_map__empty_new()
158 refcount_set(&c->refcnt, 1); in cpu_map__build_map()
Dmap.c127 refcount_set(&map->refcnt, 1); in map__init()
389 refcount_set(&map->refcnt, 1); in map__clone()
531 refcount_set(&maps->refcnt, 1); in maps__init()
Dthread.c67 refcount_set(&thread->refcnt, 1); in thread__new()
Dblock-info.c64 refcount_set(&bi->refcnt, 1); in block_info__new()
Ddso.c1276 refcount_set(&dso->refcnt, 1); in dso__new_id()
Dsymbol.c2585 refcount_set(&mi->refcnt, 1); in mem_info__new()
/tools/lib/perf/
Dcpumap.c20 refcount_set(&cpus->refcnt, 1); in perf_cpu_map__dummy_new()
65 refcount_set(&cpus->refcnt, 1); in cpu_map__default_new()
93 refcount_set(&cpus->refcnt, 1); in cpu_map__trim_new()
Dthreadmap.c52 refcount_set(&threads->refcnt, 1); in perf_thread_map__new_dummy()
Dmmap.c22 refcount_set(&map->refcnt, 0); in perf_mmap__init()
55 refcount_set(&map->refcnt, 0); in perf_mmap__munmap()
Devlist.c469 refcount_set(&map->refcnt, 2); in mmap_per_evsel()
/tools/include/linux/
Drefcount.h58 static inline void refcount_set(refcount_t *r, unsigned int n) in refcount_set() function