/linux-6.3-rc2/tools/perf/util/ |
A D | thread_map.c | 52 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 D | namespaces.c | 163 refcount_set(&nsi->refcnt, 1); in nsinfo__new() 190 refcount_set(&nnsi->refcnt, 1); in nsinfo__copy()
|
/linux-6.3-rc2/include/linux/ |
A D | ref_tracker.h | 32 refcount_set(&dir->untracked, 1); in ref_tracker_dir_init() 33 refcount_set(&dir->no_tracker, 1); in ref_tracker_dir_init()
|
A D | kref.h | 31 refcount_set(&kref->refcount, 1); in kref_init()
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | ioport.c | 92 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 D | cgrp.c | 76 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 D | switch.c | 193 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 D | token_test.c | 58 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 D | objects.c | 38 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 D | intel_wakeref.c | 148 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 D | snapshot.c | 39 refcount_set(&snapc->nref, 1); in ceph_create_snap_context()
|
/linux-6.3-rc2/security/landlock/ |
A D | object.c | 31 refcount_set(&new_object->usage, 1); in landlock_create_object()
|
/linux-6.3-rc2/lib/ |
A D | refcount.c | 15 refcount_set(r, REFCOUNT_SATURATED); in refcount_warn_saturate()
|
/linux-6.3-rc2/tools/include/linux/ |
A D | refcount.h | 58 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 D | subdev.c | 207 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 D | arm-smmu-v3-sva.c | 115 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 D | metrics.c | 83 refcount_set(&fib_metrics->refcnt, 1); in ip_fib_metrics_init()
|
A D | inet_timewait_sock.c | 164 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 D | refcount-vs-atomic.rst | 71 * atomic_set() --> refcount_set()
|
/linux-6.3-rc2/fs/notify/ |
A D | group.c | 126 refcount_set(&group->refcnt, 1); in __fsnotify_alloc_group()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/selftests/ |
A D | lib_sw_fence.c | 117 refcount_set(&h->ref.refcount, 2); in heap_fence_create()
|
/linux-6.3-rc2/net/llc/ |
A D | llc_core.c | 44 refcount_set(&sap->refcnt, 1); in llc_sap_alloc()
|
/linux-6.3-rc2/io_uring/ |
A D | notif.c | 84 refcount_set(&nd->uarg.refcnt, 1); in io_alloc_notif()
|
/linux-6.3-rc2/tools/lib/perf/ |
A D | threadmap.c | 57 refcount_set(&threads->refcnt, 1); in perf_thread_map__new_array()
|
/linux-6.3-rc2/fs/nfs/ |
A D | cache_lib.c | 102 refcount_set(&dreq->count, 1); in nfs_cache_defer_req_alloc()
|