Function report | 
Source Code:kernel\rcu\srcutree.c | 
Create Date:2022-07-28 10:18:25 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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.
Proto:static int init_srcu_struct_fields(struct srcu_struct *ssp, bool is_static)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| 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 | If Not is_static Then sda = alloc_percpu(structsrcu_data) | 
| 181 | srcu_gp_seq_needed_exp = 0 | 
| 183 | smp_store_release( & srcu_gp_seq_needed, 0) | 
| Name | Describe | 
|---|---|
| __init_srcu_struct | |
| check_init_srcu_struct | First-use initialization of statically allocated srcu_struct* structure | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |