函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\jump_label.c Create Date:2022-07-27 15:10:18
Last Modify:2020-03-17 20:59:06 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:static_key_slow_try_dec

函数原型:static bool static_key_slow_try_dec(struct static_key *key)

返回类型:bool

参数:

类型参数名称
struct static_key *key
224  val等于atomic_fetch_add_unless - add unless the number is already a given value*@v: pointer of type atomic_t*@a: the amount to add to v...*@u: ...unless v is equal to u.* Atomically adds @a to @v, so long as @v was not already @u.* Returns original value of @v
225  如果val恒等于1则返回:false
235  WARN(val < 0, "jump label: negative count!\n")
236  返回:true
调用者
名称描述
__static_key_slow_dec_cpuslocked
__static_key_slow_dec_deferred