函数逻辑报告 |
Source Code:kernel\rcu\srcutree.c |
Create Date:2022-07-27 11:18:46 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Initialize non-compile-time initialized fields, including the* associated srcu_node and srcu_data structures. The is_static* parameter is passed through to init_srcu_struct_nodes(), and* also tells us that ->sda has already been wired up to srcu_data.
函数原型:static int init_srcu_struct_fields(struct srcu_struct *ssp, bool is_static)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct srcu_struct * | ssp | |
| bool | is_static |
| 170 | mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & srcu_cb_mutex) |
| 171 | mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & srcu_gp_mutex) |
| 172 | Current reader array element. 等于0 |
| 173 | srcu_gp_seq等于0 |
| 174 | srcu_barrier_seq等于0 |
| 175 | mutex_init - initialize the mutex*@mutex: the mutex to be initialized* Initialize the mutex to unlocked state.* It is not allowed to initialize an already locked mutex.( & srcu_barrier_mutex) |
| 176 | atomic_set( & srcu_barrier_cpu_cnt, 0) |
| 177 | INIT_DELAYED_WORK( & work, process_srcu) |
| 178 | 如果非is_static则sda等于alloc_percpu(structsrcu_data) |
| 181 | srcu_gp_seq_needed_exp等于0 |
| 183 | smp_store_release( & srcu_gp_seq_needed, 0) |
| 名称 | 描述 |
|---|---|
| __init_srcu_struct | |
| check_init_srcu_struct | First-use initialization of statically allocated srcu_struct* structure |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |