Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\atomic.h Create Date:2022-07-28 05:34:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:arch_atomic_add_negative - add and test if negative*@i: integer value to add*@v: pointer of type atomic_t* Atomically adds @i to @v and returns true* if the result is negative, or false when* result is greater than or equal to zero.

Proto:static __always_inline bool arch_atomic_add_negative(int i, atomic_t *v)

Type:bool

Parameter:

TypeParameterName
inti
atomic_t *v
154  Return GEN_BINARY_RMWcc(LOCK_PREFIX"addl", counter, s, "er", i)
Caller
NameDescribe
atomic_add_negative