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_xor

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

Type:int

Parameter:

TypeParameterName
inti
atomic_t *v
252  val = arch_atomic_read - read atomic variable*@v: pointer of type atomic_t* Atomically reads the value of @v.
254  Do
254  When Not arch_atomic_try_cmpxchg(v, & val, val ^ i) cycle
256  Return val
Caller
NameDescribe
atomic_fetch_xor