Home
last modified time | relevance | path

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

12345678910>>...19

/Linux-v6.6/tools/perf/util/
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()
231 refcount_set(&threads->refcnt, 1); in thread_map__new_by_pid_str()
284 refcount_set(&threads->refcnt, 1); in thread_map__new_by_tid_str()
384 refcount_set(&threads->refcnt, 1); in thread_map__copy_event()
/Linux-v6.6/include/linux/
Dref_tracker.h35 refcount_set(&dir->untracked, 1); in ref_tracker_dir_init()
36 refcount_set(&dir->no_tracker, 1); in ref_tracker_dir_init()
Dkref.h31 refcount_set(&kref->refcount, 1); in kref_init()
/Linux-v6.6/arch/x86/kernel/
Dioport.c92 refcount_set(&iobm->refcnt, 1); in ksys_ioperm()
104 refcount_set(&iobm->refcnt, 1); in ksys_ioperm()
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dcgrp.c76 refcount_set(&ectx->refs, 1); in nvkm_cgrp_ectx_get()
77 refcount_set(&ectx->uses, 0); in nvkm_cgrp_ectx_get()
151 refcount_set(&vctx->refs, 1); in nvkm_cgrp_vctx_get()
/Linux-v6.6/net/mptcp/
Dtoken_test.c58 refcount_set(&((struct sock *)msk)->sk_refcnt, 1); in build_msk()
123 refcount_set(&sk->sk_refcnt, 0); in mptcp_token_test_destroyed()
/Linux-v6.6/drivers/gpu/drm/i915/
Dintel_wakeref.c149 refcount_set(&wf->count, 0); in intel_wakeref_auto_init()
173 refcount_set(&wf->count, 1); in intel_wakeref_auto()
/Linux-v6.6/fs/netfs/
Dobjects.c38 refcount_set(&rreq->ref, 1); in netfs_alloc_request()
118 refcount_set(&subreq->ref, 2); in netfs_alloc_subrequest()
/Linux-v6.6/net/dsa/
Dswitch.c201 refcount_set(&a->refcount, 1); in dsa_port_do_mdb_add()
245 refcount_set(&a->refcount, 1); in dsa_port_do_mdb_del()
299 refcount_set(&a->refcount, 1); in dsa_port_do_fdb_add()
341 refcount_set(&a->refcount, 1); in dsa_port_do_fdb_del()
387 refcount_set(&a->refcount, 1); in dsa_switch_do_lag_fdb_add()
421 refcount_set(&a->refcount, 1); in dsa_switch_do_lag_fdb_del()
736 refcount_set(&v->refcount, 1); in dsa_port_do_vlan_add()
778 refcount_set(&v->refcount, 1); in dsa_port_do_vlan_del()
/Linux-v6.6/net/ceph/
Dsnapshot.c39 refcount_set(&snapc->nref, 1); in ceph_create_snap_context()
/Linux-v6.6/security/landlock/
Dobject.c31 refcount_set(&new_object->usage, 1); in landlock_create_object()
/Linux-v6.6/tools/include/linux/
Drefcount.h58 static inline void refcount_set(refcount_t *r, unsigned int n) in refcount_set() function
/Linux-v6.6/lib/
Drefcount.c15 refcount_set(r, REFCOUNT_SATURATED); in refcount_warn_saturate()
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/core/
Dsubdev.c207 refcount_set(&subdev->use.refcount, 1); in nvkm_subdev_ref()
263 refcount_set(&subdev->use.refcount, 1); in __nvkm_subdev_ctor()
/Linux-v6.6/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3-sva.c115 refcount_set(&cd->refs, 1); in arm_smmu_alloc_shared_cd()
296 refcount_set(&smmu_mn->refs, 1); in arm_smmu_mmu_notifier_get()
374 refcount_set(&bond->refs, 1); in __arm_smmu_sva_bind()
/Linux-v6.6/Documentation/translations/zh_CN/core-api/
Drefcount-vs-atomic.rst71 * atomic_set() --> refcount_set()
/Linux-v6.6/net/ipv4/
Dmetrics.c83 refcount_set(&fib_metrics->refcnt, 1); in ip_fib_metrics_init()
Dinet_timewait_sock.c164 refcount_set(&tw->tw_refcnt, 3); in inet_twsk_hashdance()
216 refcount_set(&tw->tw_refcnt, 0); in inet_twsk_alloc()
/Linux-v6.6/drivers/gpu/drm/i915/selftests/
Dlib_sw_fence.c117 refcount_set(&h->ref.refcount, 2); in heap_fence_create()
/Linux-v6.6/net/llc/
Dllc_core.c44 refcount_set(&sap->refcnt, 1); in llc_sap_alloc()
/Linux-v6.6/tools/lib/perf/
Dthreadmap.c57 refcount_set(&threads->refcnt, 1); in perf_thread_map__new_array()
/Linux-v6.6/fs/notify/
Dgroup.c126 refcount_set(&group->refcnt, 1); in __fsnotify_alloc_group()
/Linux-v6.6/io_uring/
Dnotif.c84 refcount_set(&nd->uarg.refcnt, 1); in io_alloc_notif()
/Linux-v6.6/crypto/
Dapi.c136 refcount_set(&larval->alg.cra_refcnt, 2); in crypto_larval_add()
402 refcount_set(&tfm->refcnt, 1); in __crypto_alloc_tfmgfp()
503 refcount_set(&tfm->refcnt, 1); in crypto_alloc_tfmmem()
/Linux-v6.6/fs/nfs/
Dcache_lib.c102 refcount_set(&dreq->count, 1); in nfs_cache_defer_req_alloc()

12345678910>>...19