Home
last modified time | relevance | path

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

12345678910>>...18

/linux-6.3-rc2/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()
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()
A Dnamespaces.c163 refcount_set(&nsi->refcnt, 1); in nsinfo__new()
190 refcount_set(&nnsi->refcnt, 1); in nsinfo__copy()
/linux-6.3-rc2/include/linux/
A Dref_tracker.h32 refcount_set(&dir->untracked, 1); in ref_tracker_dir_init()
33 refcount_set(&dir->no_tracker, 1); in ref_tracker_dir_init()
A Dkref.h31 refcount_set(&kref->refcount, 1); in kref_init()
/linux-6.3-rc2/arch/x86/kernel/
A Dioport.c92 refcount_set(&iobm->refcnt, 1); in ksys_ioperm()
104 refcount_set(&iobm->refcnt, 1); in ksys_ioperm()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
A 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-6.3-rc2/net/dsa/
A Dswitch.c193 refcount_set(&a->refcount, 1); in dsa_port_do_mdb_add()
228 refcount_set(&a->refcount, 1); in dsa_port_do_mdb_del()
276 refcount_set(&a->refcount, 1); in dsa_port_do_fdb_add()
310 refcount_set(&a->refcount, 1); in dsa_port_do_fdb_del()
353 refcount_set(&a->refcount, 1); in dsa_switch_do_lag_fdb_add()
382 refcount_set(&a->refcount, 1); in dsa_switch_do_lag_fdb_del()
691 refcount_set(&v->refcount, 1); in dsa_port_do_vlan_add()
725 refcount_set(&v->refcount, 1); in dsa_port_do_vlan_del()
/linux-6.3-rc2/net/mptcp/
A 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-6.3-rc2/fs/netfs/
A Dobjects.c38 refcount_set(&rreq->ref, 1); in netfs_alloc_request()
118 refcount_set(&subreq->ref, 2); in netfs_alloc_subrequest()
/linux-6.3-rc2/drivers/gpu/drm/i915/
A Dintel_wakeref.c148 refcount_set(&wf->count, 0); in intel_wakeref_auto_init()
171 refcount_set(&wf->count, 1); in intel_wakeref_auto()
/linux-6.3-rc2/net/ceph/
A Dsnapshot.c39 refcount_set(&snapc->nref, 1); in ceph_create_snap_context()
/linux-6.3-rc2/security/landlock/
A Dobject.c31 refcount_set(&new_object->usage, 1); in landlock_create_object()
/linux-6.3-rc2/lib/
A Drefcount.c15 refcount_set(r, REFCOUNT_SATURATED); in refcount_warn_saturate()
/linux-6.3-rc2/tools/include/linux/
A Drefcount.h58 static inline void refcount_set(refcount_t *r, unsigned int n) in refcount_set() function
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/core/
A Dsubdev.c207 refcount_set(&subdev->use.refcount, 1); in nvkm_subdev_ref()
263 refcount_set(&subdev->use.refcount, 1); in __nvkm_subdev_ctor()
/linux-6.3-rc2/drivers/iommu/arm/arm-smmu-v3/
A Darm-smmu-v3-sva.c115 refcount_set(&cd->refs, 1); in arm_smmu_alloc_shared_cd()
271 refcount_set(&smmu_mn->refs, 1); in arm_smmu_mmu_notifier_get()
349 refcount_set(&bond->refs, 1); in __arm_smmu_sva_bind()
/linux-6.3-rc2/net/ipv4/
A Dmetrics.c83 refcount_set(&fib_metrics->refcnt, 1); in ip_fib_metrics_init()
A 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-6.3-rc2/Documentation/translations/zh_CN/core-api/
A Drefcount-vs-atomic.rst71 * atomic_set() --> refcount_set()
/linux-6.3-rc2/fs/notify/
A Dgroup.c126 refcount_set(&group->refcnt, 1); in __fsnotify_alloc_group()
/linux-6.3-rc2/drivers/gpu/drm/i915/selftests/
A Dlib_sw_fence.c117 refcount_set(&h->ref.refcount, 2); in heap_fence_create()
/linux-6.3-rc2/net/llc/
A Dllc_core.c44 refcount_set(&sap->refcnt, 1); in llc_sap_alloc()
/linux-6.3-rc2/io_uring/
A Dnotif.c84 refcount_set(&nd->uarg.refcnt, 1); in io_alloc_notif()
/linux-6.3-rc2/tools/lib/perf/
A Dthreadmap.c57 refcount_set(&threads->refcnt, 1); in perf_thread_map__new_array()
/linux-6.3-rc2/fs/nfs/
A Dcache_lib.c102 refcount_set(&dreq->count, 1); in nfs_cache_defer_req_alloc()

Completed in 44 milliseconds

12345678910>>...18