函数逻辑报告 |
Source Code:lib\percpu-refcount.c |
Create Date:2022-07-27 07:22:01 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:__percpu_ref_switch_to_percpu
函数原型:static void __percpu_ref_switch_to_percpu(struct percpu_ref *ref)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct percpu_ref * | ref |
| 199 | BUG_ON(!percpu_count) |
| 201 | 如果非* 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_ATOMIC的值则返回 |
| 204 | 如果WARN_ON_ONCE(!allow_reinit)则返回 |
| 216 | per_cpu_ptr(percpu_count, cpu)等于0 |
| 名称 | 描述 |
|---|---|
| __percpu_ref_switch_mode |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |