函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\atomic64_32.h Create Date:2022-07-27 06:38:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static inline s64 arch_atomic64_cmpxchg(atomic64_t *v, s64 o, s64 n)

返回类型:s64

参数:

类型参数名称
atomic64_t *v
s64o
s64n
76  返回: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)
调用者
名称描述
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