函数逻辑报告 |
Source Code:include\linux\atomic-fallback.h |
Create Date:2022-07-27 06:38:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:atomic_dec_unless_positive
函数原型:static inline bool atomic_dec_unless_positive(atomic_t *v)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| atomic_t * | v |
| 1152 | c等于atomic_read(v) |
| 1154 | 循环 |
| 1155 | 如果此条件成立可能性小(为编译器优化)(c > 0)则返回:false |
| 1157 | 当非atomic_try_cmpxchg(v, & c, c - 1)循环 |
| 1159 | 返回:true |
| 名称 | 描述 |
|---|---|
| exclusive_event_init | The following implement mutual exclusion of events on "exclusive" pmus* (PERF_PMU_CAP_EXCLUSIVE) |
| atomic_long_dec_unless_positive | |
| mapping_deny_writable | |
| deny_write_access |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |