Function report | 
Source Code:kernel\rcu\rcu.h | 
Create Date:2022-07-28 10:17:37 | 
| Last Modify:2022-05-19 07:39:19 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Compute the per-level fanout, either using the exact fanout specified* or balancing the tree, depending on the rcu_fanout_exact boot parameter.
Proto:static inline void rcu_init_levelspread(int *levelspread, const int *levelcnt)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int * | levelspread | |
| const int * | levelcnt | 
| 302 | When i < RCU_NUM_LVLS cycle levelspread[i] = INT_MIN | 
| 304 | If rcu_fanout_exact Then | 
| 305 | levelspread[rcu_num_lvls - 1] = rcu_fanout_leaf | 
| 306 | When i >= 0 cycle levelspread[i] = RCU_FANOUT | 
| 308 | Else | 
| 312 | cprv = nr_cpu_ids | 
| Name | Describe | 
|---|---|
| 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. | 
| 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  |