函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\percpu-refcount.c Create Date:2022-07-27 07:22:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:percpu_count_ptr

函数原型:static unsigned long __percpu *percpu_count_ptr(struct percpu_ref *ref)

返回类型:unsigned long

参数:

类型参数名称
struct percpu_ref *ref
42  返回:(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)
调用者
名称描述
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