Home
last modified time | relevance | path

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

12345678910>>...14

/OK3568_Linux_fs/kernel/tools/perf/util/
H A 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()
H A Dnamespaces.c150 refcount_set(&nsi->refcnt, 1); in nsinfo__new()
176 refcount_set(&nnsi->refcnt, 1); in nsinfo__copy()
H A Dcgroup.c59 refcount_set(&cgroup->refcnt, 1); in cgroup__new()
336 refcount_set(&cgrp->refcnt, 1); in __cgroup__findnew()
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H A Dioport.c92 refcount_set(&iobm->refcnt, 1); in ksys_ioperm()
104 refcount_set(&iobm->refcnt, 1); in ksys_ioperm()
/OK3568_Linux_fs/kernel/tools/lib/perf/
H A 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()
H A Dmmap.c22 refcount_set(&map->refcnt, 0); in perf_mmap__init()
55 refcount_set(&map->refcnt, 0); in perf_mmap__munmap()
H A Dthreadmap.c52 refcount_set(&threads->refcnt, 1); in perf_thread_map__new_dummy()
/OK3568_Linux_fs/kernel/net/mptcp/
H A Dtoken_test.c58 refcount_set(&((struct sock *)msk)->sk_refcnt, 1); in build_msk()
120 refcount_set(&sk->sk_refcnt, 0); in mptcp_token_test_destroyed()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/
H A Dintel_wakeref.c148 refcount_set(&wf->count, 0); in intel_wakeref_auto_init()
171 refcount_set(&wf->count, 1); in intel_wakeref_auto()
/OK3568_Linux_fs/kernel/drivers/net/ipa/
H A Dipa_clock.c231 refcount_set(&clock->count, 1); in ipa_clock_get()
291 refcount_set(&clock->count, 0); in ipa_clock_init()
/OK3568_Linux_fs/kernel/net/ceph/
H A Dsnapshot.c39 refcount_set(&snapc->nref, 1); in ceph_create_snap_context()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_refcount_defs.h49 #define kbase_refcount_set(x, v) refcount_set(x, v)
/OK3568_Linux_fs/kernel/net/ipv4/
H A 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()
H A Dmetrics.c84 refcount_set(&fib_metrics->refcnt, 1); in ip_fib_metrics_init()
/OK3568_Linux_fs/kernel/include/linux/
H A Dkref.h31 refcount_set(&kref->refcount, 1); in kref_init()
/OK3568_Linux_fs/kernel/tools/include/linux/
H A Drefcount.h58 static inline void refcount_set(refcount_t *r, unsigned int n) in refcount_set() function
/OK3568_Linux_fs/kernel/lib/
H A Drefcount.c15 refcount_set(r, REFCOUNT_SATURATED); in refcount_warn_saturate()
/OK3568_Linux_fs/kernel/fs/notify/
H A Dgroup.c126 refcount_set(&group->refcnt, 1); in fsnotify_alloc_group()
/OK3568_Linux_fs/kernel/fs/afs/
H A Dfile.c88 refcount_set(&wbk->usage, 2); in afs_cache_wb_key()
325 refcount_set(&req->usage, 1); in afs_page_filler()
471 refcount_set(&req->usage, 1); in afs_readpages_one()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dclip_tbl.c112 refcount_set(&ce->refcnt, 0); in cxgb4_clip_get()
142 refcount_set(&ce->refcnt, 1); in cxgb4_clip_get()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/selftests/
H A Dlib_sw_fence.c117 refcount_set(&h->ref.refcount, 2); in heap_fence_create()
/OK3568_Linux_fs/kernel/net/llc/
H A Dllc_core.c44 refcount_set(&sap->refcnt, 1); in llc_sap_alloc()
/OK3568_Linux_fs/kernel/drivers/tee/
H A Dtee_shm.c94 refcount_set(&shm->refcount, 1); in tee_shm_alloc()
181 refcount_set(&shm->refcount, 1); in tee_shm_register()
/OK3568_Linux_fs/kernel/fs/nfs/
H A Dcache_lib.c102 refcount_set(&dreq->count, 1); in nfs_cache_defer_req_alloc()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/core/
H A Dmemory.c93 refcount_set(&tags->refcount, 1); in nvkm_memory_tags_get()

12345678910>>...14