Home
last modified time | relevance | path

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

12345678910>>...17

/linux-5.19.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.c163 refcount_set(&nsi->refcnt, 1); in nsinfo__new()
190 refcount_set(&nnsi->refcnt, 1); in nsinfo__copy()
/linux-5.19.10/include/linux/
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()
Dkref.h31 refcount_set(&kref->refcount, 1); in kref_init()
/linux-5.19.10/arch/x86/kernel/
Dioport.c92 refcount_set(&iobm->refcnt, 1); in ksys_ioperm()
104 refcount_set(&iobm->refcnt, 1); in ksys_ioperm()
/linux-5.19.10/net/dsa/
Dswitch.c188 refcount_set(&a->refcount, 1); in dsa_port_do_mdb_add()
223 refcount_set(&a->refcount, 1); in dsa_port_do_mdb_del()
271 refcount_set(&a->refcount, 1); in dsa_port_do_fdb_add()
305 refcount_set(&a->refcount, 1); in dsa_port_do_fdb_del()
348 refcount_set(&a->refcount, 1); in dsa_switch_do_lag_fdb_add()
377 refcount_set(&a->refcount, 1); in dsa_switch_do_lag_fdb_del()
672 refcount_set(&v->refcount, 1); in dsa_port_do_vlan_add()
706 refcount_set(&v->refcount, 1); in dsa_port_do_vlan_del()
/linux-5.19.10/net/mptcp/
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()
/linux-5.19.10/fs/netfs/
Dobjects.c38 refcount_set(&rreq->ref, 1); in netfs_alloc_request()
118 refcount_set(&subreq->ref, 2); in netfs_alloc_subrequest()
/linux-5.19.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-5.19.10/security/landlock/
Dobject.c31 refcount_set(&new_object->usage, 1); in landlock_create_object()
Druleset.c36 refcount_set(&new_ruleset->usage, 1); in create_ruleset()
432 refcount_set(&new_dom->hierarchy->usage, 1); in landlock_merge_ruleset()
/linux-5.19.10/net/ceph/
Dsnapshot.c39 refcount_set(&snapc->nref, 1); in ceph_create_snap_context()
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/core/
Dengine.c66 refcount_set(&engine->use.refcount, 1); in nvkm_engine_ref()
184 refcount_set(&engine->use.refcount, 0); in nvkm_engine_ctor()
/linux-5.19.10/drivers/iommu/arm/arm-smmu-v3/
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()
354 refcount_set(&bond->refs, 1); in __arm_smmu_sva_bind()
/linux-5.19.10/tools/include/linux/
Drefcount.h58 static inline void refcount_set(refcount_t *r, unsigned int n) in refcount_set() function
/linux-5.19.10/lib/
Drefcount.c15 refcount_set(r, REFCOUNT_SATURATED); in refcount_warn_saturate()
/linux-5.19.10/net/ipv4/
Dinet_timewait_sock.c142 refcount_set(&tw->tw_refcnt, 3); in inet_twsk_hashdance()
194 refcount_set(&tw->tw_refcnt, 0); in inet_twsk_alloc()
Dmetrics.c84 refcount_set(&fib_metrics->refcnt, 1); in ip_fib_metrics_init()
/linux-5.19.10/Documentation/translations/zh_CN/core-api/
Drefcount-vs-atomic.rst71 * atomic_set() --> refcount_set()
/linux-5.19.10/tools/lib/perf/
Dthreadmap.c57 refcount_set(&threads->refcnt, 1); in perf_thread_map__new_array()
/linux-5.19.10/fs/notify/
Dgroup.c126 refcount_set(&group->refcnt, 1); in __fsnotify_alloc_group()
/linux-5.19.10/net/llc/
Dllc_core.c44 refcount_set(&sap->refcnt, 1); in llc_sap_alloc()
/linux-5.19.10/drivers/gpu/drm/i915/selftests/
Dlib_sw_fence.c117 refcount_set(&h->ref.refcount, 2); in heap_fence_create()
/linux-5.19.10/fs/nfs/
Dcache_lib.c102 refcount_set(&dreq->count, 1); in nfs_cache_defer_req_alloc()
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4/
Dclip_tbl.c111 refcount_set(&ce->refcnt, 0); in cxgb4_clip_get()
141 refcount_set(&ce->refcnt, 1); in cxgb4_clip_get()

12345678910>>...17