Home
last modified time | relevance | path

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

12345678910>>...14

/Linux-v5.10/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()
Dcgroup.c59 refcount_set(&cgroup->refcnt, 1); in cgroup__new()
336 refcount_set(&cgrp->refcnt, 1); in __cgroup__findnew()
Dcomm.c55 refcount_set(&cs->refcnt, 1); in comm_str__alloc()
/Linux-v5.10/arch/x86/kernel/
Dioport.c92 refcount_set(&iobm->refcnt, 1); in ksys_ioperm()
104 refcount_set(&iobm->refcnt, 1); in ksys_ioperm()
/Linux-v5.10/net/mptcp/
Dtoken_test.c57 refcount_set(&((struct sock *)msk)->sk_refcnt, 1); in build_msk()
118 refcount_set(&sk->sk_refcnt, 0); in mptcp_token_test_destroyed()
/Linux-v5.10/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()
Dmmap.c22 refcount_set(&map->refcnt, 0); in perf_mmap__init()
55 refcount_set(&map->refcnt, 0); in perf_mmap__munmap()
Dthreadmap.c52 refcount_set(&threads->refcnt, 1); in perf_thread_map__new_dummy()
/Linux-v5.10/drivers/gpu/drm/i915/
Dintel_wakeref.c148 refcount_set(&wf->count, 0); in intel_wakeref_auto_init()
171 refcount_set(&wf->count, 1); in intel_wakeref_auto()
/Linux-v5.10/net/ceph/
Dsnapshot.c39 refcount_set(&snapc->nref, 1); in ceph_create_snap_context()
/Linux-v5.10/drivers/net/ipa/
Dipa_clock.c231 refcount_set(&clock->count, 1); in ipa_clock_get()
291 refcount_set(&clock->count, 0); in ipa_clock_init()
/Linux-v5.10/include/linux/
Dkref.h31 refcount_set(&kref->refcount, 1); in kref_init()
/Linux-v5.10/lib/
Drefcount.c15 refcount_set(r, REFCOUNT_SATURATED); in refcount_warn_saturate()
/Linux-v5.10/tools/include/linux/
Drefcount.h58 static inline void refcount_set(refcount_t *r, unsigned int n) in refcount_set() function
/Linux-v5.10/net/ipv4/
Dinet_timewait_sock.c140 refcount_set(&tw->tw_refcnt, 3); in inet_twsk_hashdance()
195 refcount_set(&tw->tw_refcnt, 0); in inet_twsk_alloc()
Dmetrics.c84 refcount_set(&fib_metrics->refcnt, 1); in ip_fib_metrics_init()
/Linux-v5.10/fs/notify/
Dgroup.c126 refcount_set(&group->refcnt, 1); in fsnotify_alloc_group()
/Linux-v5.10/drivers/gpu/drm/i915/selftests/
Dlib_sw_fence.c117 refcount_set(&h->ref.refcount, 2); in heap_fence_create()
/Linux-v5.10/net/llc/
Dllc_core.c44 refcount_set(&sap->refcnt, 1); in llc_sap_alloc()
/Linux-v5.10/fs/nfs/
Dcache_lib.c102 refcount_set(&dreq->count, 1); in nfs_cache_defer_req_alloc()
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/
Dclip_tbl.c112 refcount_set(&ce->refcnt, 0); in cxgb4_clip_get()
142 refcount_set(&ce->refcnt, 1); in cxgb4_clip_get()
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/core/
Dmemory.c93 refcount_set(&tags->refcount, 1); in nvkm_memory_tags_get()
/Linux-v5.10/fs/afs/
Dserver_list.c44 refcount_set(&slist->usage, 1); in afs_alloc_server_list()
/Linux-v5.10/kernel/bpf/
Ddispatcher.c62 refcount_set(&entry->users, 1); in bpf_dispatcher_add_prog()

12345678910>>...14