/linux-5.19.10/tools/perf/util/ |
D | thread_map.c | 51 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()
|
D | namespaces.c | 163 refcount_set(&nsi->refcnt, 1); in nsinfo__new() 190 refcount_set(&nnsi->refcnt, 1); in nsinfo__copy()
|
/linux-5.19.10/include/linux/ |
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()
|
D | kref.h | 31 refcount_set(&kref->refcount, 1); in kref_init()
|
/linux-5.19.10/arch/x86/kernel/ |
D | ioport.c | 92 refcount_set(&iobm->refcnt, 1); in ksys_ioperm() 104 refcount_set(&iobm->refcnt, 1); in ksys_ioperm()
|
/linux-5.19.10/net/dsa/ |
D | switch.c | 188 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/ |
D | token_test.c | 58 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/ |
D | objects.c | 38 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/ |
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-5.19.10/security/landlock/ |
D | object.c | 31 refcount_set(&new_object->usage, 1); in landlock_create_object()
|
D | ruleset.c | 36 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/ |
D | snapshot.c | 39 refcount_set(&snapc->nref, 1); in ceph_create_snap_context()
|
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/core/ |
D | engine.c | 66 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/ |
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() 354 refcount_set(&bond->refs, 1); in __arm_smmu_sva_bind()
|
/linux-5.19.10/tools/include/linux/ |
D | refcount.h | 58 static inline void refcount_set(refcount_t *r, unsigned int n) in refcount_set() function
|
/linux-5.19.10/lib/ |
D | refcount.c | 15 refcount_set(r, REFCOUNT_SATURATED); in refcount_warn_saturate()
|
/linux-5.19.10/net/ipv4/ |
D | inet_timewait_sock.c | 142 refcount_set(&tw->tw_refcnt, 3); in inet_twsk_hashdance() 194 refcount_set(&tw->tw_refcnt, 0); in inet_twsk_alloc()
|
D | metrics.c | 84 refcount_set(&fib_metrics->refcnt, 1); in ip_fib_metrics_init()
|
/linux-5.19.10/Documentation/translations/zh_CN/core-api/ |
D | refcount-vs-atomic.rst | 71 * atomic_set() --> refcount_set()
|
/linux-5.19.10/tools/lib/perf/ |
D | threadmap.c | 57 refcount_set(&threads->refcnt, 1); in perf_thread_map__new_array()
|
/linux-5.19.10/fs/notify/ |
D | group.c | 126 refcount_set(&group->refcnt, 1); in __fsnotify_alloc_group()
|
/linux-5.19.10/net/llc/ |
D | llc_core.c | 44 refcount_set(&sap->refcnt, 1); in llc_sap_alloc()
|
/linux-5.19.10/drivers/gpu/drm/i915/selftests/ |
D | lib_sw_fence.c | 117 refcount_set(&h->ref.refcount, 2); in heap_fence_create()
|
/linux-5.19.10/fs/nfs/ |
D | cache_lib.c | 102 refcount_set(&dreq->count, 1); in nfs_cache_defer_req_alloc()
|
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | clip_tbl.c | 111 refcount_set(&ce->refcnt, 0); in cxgb4_clip_get() 141 refcount_set(&ce->refcnt, 1); in cxgb4_clip_get()
|