函数逻辑报告 |
Source Code:kernel\rcu\rcu.h |
Create Date:2022-07-27 11:17:57 |
Last Modify:2022-05-19 07:39:19 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Compute the per-level fanout, either using the exact fanout specified* or balancing the tree, depending on the rcu_fanout_exact boot parameter.
函数原型:static inline void rcu_init_levelspread(int *levelspread, const int *levelcnt)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
int * | levelspread | |
const int * | levelcnt |
302 | 以i小于RCU_NUM_LVLS循环levelspread[i]等于INT_MIN |
304 | 如果rcu_fanout_exact则 |
305 | levelspread[rcu_num_lvls - 1]等于rcu_fanout_leaf |
306 | 以i大于等于0循环levelspread[i]等于RCU_FANOUT |
308 | 否则 |
312 | cprv等于nr_cpu_ids |
名称 | 描述 |
---|---|
init_srcu_struct_nodes | Initialize SRCU combining tree. Note that statically allocated* srcu_struct structures might already have srcu_read_lock() and* srcu_read_unlock() running against them. So if the is_static parameter |
rcu_init_one | Helper function for rcu_init() that initializes the rcu_state structure. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |