函数逻辑报告 |
Source Code:include\asm-generic\atomic-instrumented.h |
Create Date:2022-07-27 06:38:47 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:atomic_try_cmpxchg
函数原型:static inline bool atomic_try_cmpxchg(atomic_t *v, int *old, int new)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| atomic_t * | v | |
| int * | old | |
| int | new |
| 693 | kasan_check_write(v, v的长度) |
| 694 | kasan_check_write(old, old的长度) |
| 695 | 返回:arch_atomic_try_cmpxchg(v, old, new) |
| 名称 | 描述 |
|---|---|
| atomic_fetch_add_unless | atomic_fetch_add_unless - add unless the number is already a given value*@v: pointer of type atomic_t*@a: the amount to add to v...*@u: ...unless v is equal to u.* Atomically adds @a to @v, so long as @v was not already @u.* Returns original value of @v |
| atomic_inc_unless_negative | |
| atomic_dec_unless_positive | |
| atomic_dec_if_positive | |
| atomic_long_try_cmpxchg |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |