函数逻辑报告 |
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_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, if @v was not already @u.* Returns true if the addition was done.
函数原型:static inline bool atomic_add_unless(atomic_t *v, int a, int u)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| atomic_t * | v | |
| int | a | |
| int | u |
| 名称 | 描述 |
|---|---|
| _atomic_dec_and_lock | This is an implementation of the notion of "decrement a* reference count, and return locked if it decremented to zero" |
| _atomic_dec_and_lock_irqsave | |
| atomic_dec_and_mutex_lock | atomic_dec_and_mutex_lock - return holding mutex if we dec to 0*@cnt: the atomic which we are to dec*@lock: the mutex to return holding if we dec to 0* return true and hold lock if we dec to 0, return false otherwise |
| hibernate | hibernate - Carry out system hibernation, including saving the image. |
| software_resume | software_resume - Resume from a saved hibernation image.* This routine is called as a late initcall, when all devices have been* discovered and initialized already.* The image reading code is called to see if there is a hibernation image |
| snapshot_open | |
| kdb_param_enable_nmi | |
| unaccount_event | |
| deactivate_super | 降低活跃性 |
| atomic_inc_not_zero | atomic_inc_not_zero - increment unless the number is zero*@v: pointer of type atomic_t* Atomically increments @v by 1, if @v is non-zero.* Returns true if the increment was done. |
| atomic_long_add_unless | |
| page_ref_add_unless |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |