Searched refs:refcount_set (Results 1 – 16 of 16) sorted by relevance
| /tools/perf/util/ |
| A D | thread_map.c | 52 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 D | mem-info.c | 32 refcount_set(mem_info__refcnt(result), 1); in mem_info__new()
|
| A D | kvm-stat.h | 183 refcount_set(&ki->refcnt, 1); in kvm_info__new()
|
| A D | comm.c | 86 refcount_set(comm_str__refcnt(result), 1); in comm_str__new()
|
| A D | cgroup.c | 122 refcount_set(&cgroup->refcnt, 1); in cgroup__new() 549 refcount_set(&cgrp->refcnt, 1); in __cgroup__findnew()
|
| A D | map.c | 113 refcount_set(map__refcnt(map), 1); in map__init() 423 refcount_set(&map->refcnt, 1); in map__clone()
|
| A D | namespaces.c | 149 refcount_set(&nsi->refcnt, 1); in nsinfo__alloc()
|
| A D | thread.c | 71 refcount_set(thread__refcnt(thread), 1); in thread__new()
|
| A D | maps.c | 222 refcount_set(maps__refcnt(maps), 1); in maps__init()
|
| A D | dso.c | 1562 refcount_set(&dso->refcnt, 1); in dso__new_id()
|
| /tools/include/linux/ |
| A D | refcount.h | 58 static inline void refcount_set(refcount_t *r, unsigned int n) in refcount_set() function
|
| /tools/lib/perf/ |
| A D | threadmap.c | 57 refcount_set(&threads->refcnt, 1); in perf_thread_map__new_array()
|
| A D | mmap.c | 26 refcount_set(&map->refcnt, 0); in perf_mmap__init() 64 refcount_set(&map->refcnt, 0); in perf_mmap__munmap()
|
| A D | cpumap.c | 34 refcount_set(&cpus->refcnt, 1); in perf_cpu_map__alloc()
|
| A D | evlist.c | 563 refcount_set(&map->refcnt, 2); in mmap_per_evsel()
|
| /tools/testing/selftests/bpf/test_kmods/ |
| A D | bpf_testmod.c | 231 refcount_set(&ctx->usage, 1); in bpf_testmod_ctx_create()
|
Completed in 33 milliseconds