Home
last modified time | relevance | path

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

/tools/perf/util/
A Dthread_map.c52 refcount_set(&threads->refcnt, 1); in thread_map__new_by_pid()
69 refcount_set(&threads->refcnt, 1); in thread_map__new_by_tid()
91 refcount_set(&threads->refcnt, 1); in thread_map__new_all_cpus()
208 refcount_set(&threads->refcnt, 1); in thread_map__new_by_pid_str()
262 refcount_set(&threads->refcnt, 1); in thread_map__new_by_tid_str()
357 refcount_set(&threads->refcnt, 1); in thread_map__copy_event()
A Dmem-info.c32 refcount_set(mem_info__refcnt(result), 1); in mem_info__new()
A Dkvm-stat.h183 refcount_set(&ki->refcnt, 1); in kvm_info__new()
A Dcomm.c86 refcount_set(comm_str__refcnt(result), 1); in comm_str__new()
A Dcgroup.c122 refcount_set(&cgroup->refcnt, 1); in cgroup__new()
549 refcount_set(&cgrp->refcnt, 1); in __cgroup__findnew()
A Dmap.c113 refcount_set(map__refcnt(map), 1); in map__init()
423 refcount_set(&map->refcnt, 1); in map__clone()
A Dnamespaces.c149 refcount_set(&nsi->refcnt, 1); in nsinfo__alloc()
A Dthread.c71 refcount_set(thread__refcnt(thread), 1); in thread__new()
A Dmaps.c222 refcount_set(maps__refcnt(maps), 1); in maps__init()
A Ddso.c1562 refcount_set(&dso->refcnt, 1); in dso__new_id()
/tools/include/linux/
A Drefcount.h58 static inline void refcount_set(refcount_t *r, unsigned int n) in refcount_set() function
/tools/lib/perf/
A Dthreadmap.c57 refcount_set(&threads->refcnt, 1); in perf_thread_map__new_array()
A Dmmap.c26 refcount_set(&map->refcnt, 0); in perf_mmap__init()
64 refcount_set(&map->refcnt, 0); in perf_mmap__munmap()
A Dcpumap.c34 refcount_set(&cpus->refcnt, 1); in perf_cpu_map__alloc()
A Devlist.c563 refcount_set(&map->refcnt, 2); in mmap_per_evsel()
/tools/testing/selftests/bpf/test_kmods/
A Dbpf_testmod.c231 refcount_set(&ctx->usage, 1); in bpf_testmod_ctx_create()

Completed in 33 milliseconds