/linux/tools/perf/util/ |
A 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()
|
A D | namespaces.c | 156 refcount_set(&nsi->refcnt, 1); in nsinfo__new() 183 refcount_set(&nnsi->refcnt, 1); in nsinfo__copy()
|
/linux/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/tools/lib/perf/ |
A D | cpumap.c | 20 refcount_set(&cpus->refcnt, 1); in perf_cpu_map__dummy_new() 65 refcount_set(&cpus->refcnt, 1); in cpu_map__default_new() 98 refcount_set(&cpus->refcnt, 1); in cpu_map__trim_new()
|
A D | mmap.c | 24 refcount_set(&map->refcnt, 0); in perf_mmap__init() 57 refcount_set(&map->refcnt, 0); in perf_mmap__munmap()
|
A D | threadmap.c | 52 refcount_set(&threads->refcnt, 1); in perf_thread_map__new_dummy()
|
/linux/net/mptcp/ |
A 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/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/drivers/gpu/drm/nouveau/nvkm/core/ |
A 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/drivers/iommu/arm/arm-smmu-v3/ |
A D | arm-smmu-v3-sva.c | 109 refcount_set(&cd->refs, 1); in arm_smmu_alloc_shared_cd() 255 refcount_set(&smmu_mn->refs, 1); in arm_smmu_mmu_notifier_get() 338 refcount_set(&bond->refs, 1); in __arm_smmu_sva_bind()
|
/linux/security/landlock/ |
A D | object.c | 31 refcount_set(&new_object->usage, 1); in landlock_create_object()
|
A D | ruleset.c | 35 refcount_set(&new_ruleset->usage, 1); in create_ruleset() 430 refcount_set(&new_dom->hierarchy->usage, 1); in landlock_merge_ruleset()
|
/linux/net/ceph/ |
A D | snapshot.c | 39 refcount_set(&snapc->nref, 1); in ceph_create_snap_context()
|
/linux/include/linux/ |
A D | kref.h | 31 refcount_set(&kref->refcount, 1); in kref_init()
|
/linux/net/ipv4/ |
A D | inet_timewait_sock.c | 140 refcount_set(&tw->tw_refcnt, 3); in inet_twsk_hashdance() 195 refcount_set(&tw->tw_refcnt, 0); in inet_twsk_alloc()
|
A D | metrics.c | 84 refcount_set(&fib_metrics->refcnt, 1); in ip_fib_metrics_init()
|
/linux/tools/include/linux/ |
A D | refcount.h | 58 static inline void refcount_set(refcount_t *r, unsigned int n) in refcount_set() function
|
/linux/lib/ |
A D | refcount.c | 15 refcount_set(r, REFCOUNT_SATURATED); in refcount_warn_saturate()
|
/linux/net/dsa/ |
A D | switch.c | 246 refcount_set(&a->refcount, 1); in dsa_port_do_mdb_add() 280 refcount_set(&a->refcount, 1); in dsa_port_do_mdb_del() 327 refcount_set(&a->refcount, 1); in dsa_port_do_fdb_add() 361 refcount_set(&a->refcount, 1); in dsa_port_do_fdb_del()
|
/linux/Documentation/translations/zh_CN/core-api/ |
A D | refcount-vs-atomic.rst | 71 * atomic_set() --> refcount_set()
|
/linux/fs/notify/ |
A D | group.c | 124 refcount_set(&group->refcnt, 1); in __fsnotify_alloc_group()
|
/linux/drivers/gpu/drm/i915/selftests/ |
A D | lib_sw_fence.c | 117 refcount_set(&h->ref.refcount, 2); in heap_fence_create()
|
/linux/net/llc/ |
A D | llc_core.c | 44 refcount_set(&sap->refcnt, 1); in llc_sap_alloc()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | clip_tbl.c | 111 refcount_set(&ce->refcnt, 0); in cxgb4_clip_get() 141 refcount_set(&ce->refcnt, 1); in cxgb4_clip_get()
|
/linux/fs/nfs/ |
A D | cache_lib.c | 102 refcount_set(&dreq->count, 1); in nfs_cache_defer_req_alloc()
|