函数逻辑报告 |
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_inc_unless_negative
函数原型:static inline bool atomic_inc_unless_negative(atomic_t *v)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
atomic_t * | v |
1136 | c等于atomic_read(v) |
1138 | 循环 |
1139 | 如果此条件成立可能性小(为编译器优化)(c < 0)则返回:false |
1141 | 当非atomic_try_cmpxchg(v, & c, c + 1)循环 |
1143 | 返回:true |
名称 | 描述 |
---|---|
exclusive_event_init | The following implement mutual exclusion of events on "exclusive" pmus* (PERF_PMU_CAP_EXCLUSIVE) |
atomic_long_inc_unless_negative | |
mapping_map_writable | |
get_write_access | get_write_access() gets write permission for a file.* put_write_access() releases this write permission.* This is used for regular files.* We cannot support write (and maybe mmap read-write shared) accesses and* MAP_DENYWRITE mmappings simultaneously |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |