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_xchg - xchg atomic64 variable*@v: pointer to type atomic64_t*@n: value to assign* Atomically xchgs the value of @v to @n and returns* the old value.

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

Type:s64

Parameter:

TypeParameterName
atomic64_t *v
s64n
90  high = n >> 32
91  low = n
92  alternative_atomic64(xchg, "=&A"(o), "S"(v), "b"(low), "c"(high) : "memory")
95  Return o
Caller
NameDescribe
atomic64_xchg