Home
last modified time | relevance | path

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

12345678910>>...19

/openbmc/linux/tools/perf/util/
H 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()
285 refcount_set(&threads->refcnt, 1); in thread_map__new_by_tid_str()
384 refcount_set(&threads->refcnt, 1); in thread_map__copy_event()
/openbmc/linux/include/linux/
H A 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()
H A Dkref.h31 refcount_set(&kref->refcount, 1); in kref_init()
/openbmc/linux/arch/x86/kernel/
H A Dioport.c92 refcount_set(&iobm->refcnt, 1); in ksys_ioperm()
104 refcount_set(&iobm->refcnt, 1); in ksys_ioperm()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H 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()
/openbmc/linux/net/mptcp/
H 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()
/openbmc/linux/drivers/gpu/drm/i915/
H A Dintel_wakeref.c149 refcount_set(&wf->count, 0); in intel_wakeref_auto_init()
173 refcount_set(&wf->count, 1); in intel_wakeref_auto()
/openbmc/linux/fs/netfs/
H A Dobjects.c38 refcount_set(&rreq->ref, 1); in netfs_alloc_request()
118 refcount_set(&subreq->ref, 2); in netfs_alloc_subrequest()
/openbmc/linux/net/dsa/
H A 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()
/openbmc/linux/security/landlock/
H A Dobject.c31 refcount_set(&new_object->usage, 1); in landlock_create_object()
H A Druleset.c36 refcount_set(&new_ruleset->usage, 1); in create_ruleset()
432 refcount_set(&new_dom->hierarchy->usage, 1); in landlock_merge_ruleset()
/openbmc/linux/net/ceph/
H A Dsnapshot.c39 refcount_set(&snapc->nref, 1); in ceph_create_snap_context()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/core/
H A Dsubdev.c207 refcount_set(&subdev->use.refcount, 1); in nvkm_subdev_ref()
263 refcount_set(&subdev->use.refcount, 1); in __nvkm_subdev_ctor()
/openbmc/linux/drivers/iommu/arm/arm-smmu-v3/
H A 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()
/openbmc/linux/lib/
H A Drefcount.c15 refcount_set(r, REFCOUNT_SATURATED); in refcount_warn_saturate()
/openbmc/linux/tools/include/linux/
H A Drefcount.h58 static inline void refcount_set(refcount_t *r, unsigned int n) in refcount_set() function
/openbmc/linux/net/ipv4/
H A Dmetrics.c83 refcount_set(&fib_metrics->refcnt, 1); in ip_fib_metrics_init()
H 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()
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Drefcount-vs-atomic.rst71 * atomic_set() --> refcount_set()
/openbmc/linux/fs/notify/
H A Dgroup.c126 refcount_set(&group->refcnt, 1); in __fsnotify_alloc_group()
/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A Dlib_sw_fence.c117 refcount_set(&h->ref.refcount, 2); in heap_fence_create()
/openbmc/linux/tools/lib/perf/
H A Dthreadmap.c57 refcount_set(&threads->refcnt, 1); in perf_thread_map__new_array()
/openbmc/linux/net/llc/
H A Dllc_core.c44 refcount_set(&sap->refcnt, 1); in llc_sap_alloc()
/openbmc/linux/crypto/
H A 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()
/openbmc/linux/io_uring/
H A Dnotif.c84 refcount_set(&nd->uarg.refcnt, 1); in io_alloc_notif()

12345678910>>...19