Home
last modified time | relevance | path

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

12345678910>>...16

/linux/tools/perf/util/
A 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()
A Dnamespaces.c156 refcount_set(&nsi->refcnt, 1); in nsinfo__new()
183 refcount_set(&nnsi->refcnt, 1); in nsinfo__copy()
/linux/arch/x86/kernel/
A Dioport.c92 refcount_set(&iobm->refcnt, 1); in ksys_ioperm()
104 refcount_set(&iobm->refcnt, 1); in ksys_ioperm()
/linux/tools/lib/perf/
A Dcpumap.c20 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 Dmmap.c24 refcount_set(&map->refcnt, 0); in perf_mmap__init()
57 refcount_set(&map->refcnt, 0); in perf_mmap__munmap()
A Dthreadmap.c52 refcount_set(&threads->refcnt, 1); in perf_thread_map__new_dummy()
/linux/net/mptcp/
A 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/drivers/gpu/drm/i915/
A Dintel_wakeref.c148 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 Dengine.c66 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 Darm-smmu-v3-sva.c109 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 Dobject.c31 refcount_set(&new_object->usage, 1); in landlock_create_object()
A Druleset.c35 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 Dsnapshot.c39 refcount_set(&snapc->nref, 1); in ceph_create_snap_context()
/linux/include/linux/
A Dkref.h31 refcount_set(&kref->refcount, 1); in kref_init()
/linux/net/ipv4/
A Dinet_timewait_sock.c140 refcount_set(&tw->tw_refcnt, 3); in inet_twsk_hashdance()
195 refcount_set(&tw->tw_refcnt, 0); in inet_twsk_alloc()
A Dmetrics.c84 refcount_set(&fib_metrics->refcnt, 1); in ip_fib_metrics_init()
/linux/tools/include/linux/
A Drefcount.h58 static inline void refcount_set(refcount_t *r, unsigned int n) in refcount_set() function
/linux/lib/
A Drefcount.c15 refcount_set(r, REFCOUNT_SATURATED); in refcount_warn_saturate()
/linux/net/dsa/
A Dswitch.c246 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 Drefcount-vs-atomic.rst71 * atomic_set() --> refcount_set()
/linux/fs/notify/
A Dgroup.c124 refcount_set(&group->refcnt, 1); in __fsnotify_alloc_group()
/linux/drivers/gpu/drm/i915/selftests/
A Dlib_sw_fence.c117 refcount_set(&h->ref.refcount, 2); in heap_fence_create()
/linux/net/llc/
A Dllc_core.c44 refcount_set(&sap->refcnt, 1); in llc_sap_alloc()
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dclip_tbl.c111 refcount_set(&ce->refcnt, 0); in cxgb4_clip_get()
141 refcount_set(&ce->refcnt, 1); in cxgb4_clip_get()
/linux/fs/nfs/
A Dcache_lib.c102 refcount_set(&dreq->count, 1); in nfs_cache_defer_req_alloc()

Completed in 23 milliseconds

12345678910>>...16