函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\atomic64.c Create Date:2022-07-27 08:16:06
Last Modify:2022-05-18 13:46:02 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:atomic64_fetch_add_unless

函数原型:s64 atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u)

返回类型:s64

参数:

类型参数名称
atomic64_t *v
s64a
s64u
192  lock等于lock_addr(v)
195  raw_spin_lock_irqsave(lock, flags)
196  val等于counter
197  如果val不等于ucounter加等于a
199  raw_spin_unlock_irqrestore(lock, flags)
201  返回:val
调用者
名称描述
bpf_prog_inc_not_zeroprog_idr_lock should have been held