函数逻辑报告 |
Source Code:include\linux\atomic-fallback.h |
Create Date:2022-07-27 06:38:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:atomic64_fetch_add_unless - add unless the number is already a given value*@v: pointer of type atomic64_t*@a: the amount to add to v
函数原型:static inline s64 atomic64_fetch_add_unless(atomic64_t *v, s64 a, s64 u)
返回类型:s64
参数:
类型 | 参数 | 名称 |
---|---|---|
atomic64_t * | v | |
s64 | a | |
s64 | u |
2196 | c等于atomic64_read(v) |
2198 | 循环 |
2199 | 如果此条件成立可能性小(为编译器优化)(c == u)则退出 |
2203 | 返回:c |
名称 | 描述 |
---|---|
__bpf_map_inc_not_zero | map_idr_lock should have been held |
atomic64_add_unless | atomic64_add_unless - add unless the number is already a given value*@v: pointer of type atomic64_t*@a: the amount to add to v...*@u: ...unless v is equal to u.* Atomically adds @a to @v, if @v was not already @u.* Returns true if the addition was done. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |