Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\atomic64_32.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_atomic64_cmpxchg - cmpxchg atomic64 variable*@v: pointer to type atomic64_t*@o: expected value*@n: new value* Atomically sets @v to @n if it was equal to @o and returns* the old value.

Proto:static inline s64 arch_atomic64_cmpxchg(atomic64_t *v, s64 o, s64 n)

Type:s64

Parameter:

TypeParameterName
atomic64_t *v
s64o
s64n
76  Return Building a kernel capable running on 80386 and 80486. It may be necessary* to simulate the cmpxchg8b on the 80386 and 80486 CPU.( & counter, o, n)
Caller
NameDescribe
arch_atomic64_and
arch_atomic64_fetch_and
arch_atomic64_or
arch_atomic64_fetch_or
arch_atomic64_xor
arch_atomic64_fetch_xor
arch_atomic64_fetch_add
atomic64_cmpxchg