Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Drcu_node_tree.h53 # define RCU_NUM_LVLS 1 macro
60 # define RCU_NUM_LVLS 2 macro
68 # define RCU_NUM_LVLS 3 macro
77 # define RCU_NUM_LVLS 4 macro
Dsrcutree.h66 struct srcu_node *level[RCU_NUM_LVLS + 1];
/Linux-v5.4/kernel/rcu/
Dtree.c111 int rcu_num_lvls __read_mostly = RCU_NUM_LVLS;
3341 static struct lock_class_key rcu_node_class[RCU_NUM_LVLS]; in rcu_init_one()
3342 static struct lock_class_key rcu_fqs_class[RCU_NUM_LVLS]; in rcu_init_one()
3344 int levelspread[RCU_NUM_LVLS]; /* kids/node in each level. */ in rcu_init_one()
3350 BUILD_BUG_ON(RCU_NUM_LVLS > ARRAY_SIZE(buf)); /* Fix buf[] init! */ in rcu_init_one()
3353 if (rcu_num_lvls <= 0 || rcu_num_lvls > RCU_NUM_LVLS) in rcu_init_one()
3425 int rcu_capacity[RCU_NUM_LVLS]; in rcu_init_geometry()
3466 for (i = 1; i < RCU_NUM_LVLS; i++) in rcu_init_geometry()
3473 if (nr_cpu_ids > rcu_capacity[RCU_NUM_LVLS - 1]) { in rcu_init_geometry()
Dtree.h292 struct rcu_node *level[RCU_NUM_LVLS + 1];
Dsrcutree.c88 int levelspread[RCU_NUM_LVLS]; in init_srcu_struct_nodes()
Dtree_plugin.h39 if (RCU_NUM_LVLS >= 4) in rcu_bootup_announce_oddness()