函数逻辑报告 |
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_atomic_rcu
函数原型:static void percpu_ref_switch_to_atomic_rcu(struct rcu_head *rcu)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct rcu_head * | rcu |
137 | count等于0 |
141 | count加等于per_cpu_ptr(percpu_count, cpu) |
143 | pr_debug("global %ld percpu %ld", atomic_long_read( & count), (long)count) |
158 | atomic_long_add((long)count - Initially, a percpu refcount is just a set of percpu counters, & count) |
160 | WARN_ONCE(atomic_long_read( & count) <= 0, "percpu ref (%ps) <= 0 (%ld) after switching to atomic", release, atomic_long_read( & count)) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |