函数逻辑报告

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_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.

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

返回类型:s64

参数:

类型参数名称
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  返回:o
调用者
名称描述
atomic64_xchg