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_sub_return - subtract integer and return*@v: pointer of type atomic_t*@i: integer value to subtract* Atomically subtracts @i from @v and returns @v - @i

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

Type:int

Parameter:

TypeParameterName
inti
atomic_t *v
179  Return arch_atomic_add_return - add integer and return*@i: integer value to add*@v: pointer of type atomic_t* Atomically adds @i to @v and returns @i + @v
Caller
NameDescribe
atomic_sub_return