Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\percpu-refcount.c Create Date:2022-07-28 06:24:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:percpu_count_ptr

Proto:static unsigned long __percpu *percpu_count_ptr(struct percpu_ref *ref)

Type:unsigned long

Parameter:

TypeParameterName
struct percpu_ref *ref
42  Return (unsigned long __percpu * )(* The low bit of the pointer indicates whether the ref is in percpu * mode; if set, then get/put will manipulate the atomic_t. & ~__PERCPU_REF_ATOMIC_DEAD)
Caller
NameDescribe
percpu_ref_exitpercpu_ref_exit - undo percpu_ref_init()*@ref: percpu_ref to exit* This function exits @ref
percpu_ref_switch_to_atomic_rcu
__percpu_ref_switch_to_percpu