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_or

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

Type:int

Parameter:

TypeParameterName
inti
atomic_t *v
235  val = arch_atomic_read - read atomic variable*@v: pointer of type atomic_t* Atomically reads the value of @v.
237  Do
237  When Not arch_atomic_try_cmpxchg(v, & val, val | i) cycle
239  Return val
Caller
NameDescribe
atomic_fetch_or