函数逻辑报告 |
Source Code:lib\percpu-refcount.c |
Create Date:2022-07-27 07:22:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:percpu_ref_resurrect - modify a percpu refcount from dead to live*@ref: perpcu_ref to resurrect* Modify @ref so that it's in the same state as before percpu_ref_kill() was* called
函数原型:void percpu_ref_resurrect(struct percpu_ref *ref)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct percpu_ref * | ref |
391 | __percpu乘percpu_count |
394 | spin_lock_irqsave( & percpu_ref_switch_lock, flags) |
396 | WARN_ON_ONCE(!(* The low bit of the pointer indicates whether the ref is in percpu * mode; if set, then get/put will manipulate the atomic_t. & __PERCPU_REF_DEAD)) |
399 | * The low bit of the pointer indicates whether the ref is in percpu * mode; if set, then get/put will manipulate the atomic_t.与等于__PERCPU_REF_DEAD的反 |
400 | percpu计数引用增 |
401 | __percpu_ref_switch_mode(ref, NULL) |
名称 | 描述 |
---|---|
percpu_ref_reinit | percpu_ref_reinit - re-initialize a percpu refcount*@ref: perpcu_ref to re-initialize* Re-initialize @ref so that it's in the same state as when it finished* percpu_ref_init() ignoring %PERCPU_REF_INIT_DEAD. @ref must have been |
blk_mq_unfreeze_queue |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |