Home
last modified time | relevance | path

Searched refs:RCU_NUM_LVLS (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/include/linux/
Drcu_node_tree.h66 # define RCU_NUM_LVLS 1 macro
73 # define RCU_NUM_LVLS 2 macro
81 # define RCU_NUM_LVLS 3 macro
90 # define RCU_NUM_LVLS 4 macro
Dsrcutree.h78 struct srcu_node *level[RCU_NUM_LVLS + 1];
/Linux-v4.19/kernel/rcu/
Dtree.c125 int rcu_num_lvls __read_mostly = RCU_NUM_LVLS;
3956 static struct lock_class_key rcu_node_class[RCU_NUM_LVLS]; in rcu_init_one()
3957 static struct lock_class_key rcu_fqs_class[RCU_NUM_LVLS]; in rcu_init_one()
3959 int levelspread[RCU_NUM_LVLS]; /* kids/node in each level. */ in rcu_init_one()
3965 BUILD_BUG_ON(RCU_NUM_LVLS > ARRAY_SIZE(buf)); /* Fix buf[] init! */ in rcu_init_one()
3968 if (rcu_num_lvls <= 0 || rcu_num_lvls > RCU_NUM_LVLS) in rcu_init_one()
4040 int rcu_capacity[RCU_NUM_LVLS]; in rcu_init_geometry()
4080 for (i = 1; i < RCU_NUM_LVLS; i++) in rcu_init_geometry()
4087 if (nr_cpu_ids > rcu_capacity[RCU_NUM_LVLS - 1]) { in rcu_init_geometry()
Dtree.h314 struct rcu_node *level[RCU_NUM_LVLS + 1];
Dsrcutree.c96 int levelspread[RCU_NUM_LVLS]; in init_srcu_struct_nodes()
Dtree_plugin.h85 if (RCU_NUM_LVLS >= 4) in rcu_bootup_announce_oddness()