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_fetch_and

Proto:static inline int arch_atomic_fetch_and(int i, atomic_t *v)

Type:int

Parameter:

TypeParameterName
inti
atomic_t *v
218  val = arch_atomic_read - read atomic variable*@v: pointer of type atomic_t* Atomically reads the value of @v.
220  Do
220  When Not arch_atomic_try_cmpxchg(v, & val, val & i) cycle
222  Return val
Caller
NameDescribe
atomic_fetch_and