Home
last modified time | relevance | path

Searched refs:RCU_NUM_LVLS (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
H A 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
H A Dsrcutree.h66 struct srcu_node *level[RCU_NUM_LVLS + 1];
/kernel/linux/linux-6.6/include/linux/
H A Drcu_node_tree.h55 # define RCU_NUM_LVLS 1 macro
62 # define RCU_NUM_LVLS 2 macro
70 # define RCU_NUM_LVLS 3 macro
79 # define RCU_NUM_LVLS 4 macro
H A Dsrcutree.h65 struct srcu_node *level[RCU_NUM_LVLS + 1];
/kernel/linux/linux-5.10/kernel/rcu/
H A Dtree.h298 struct rcu_node *level[RCU_NUM_LVLS + 1];
H A Dtree.c112 int rcu_num_lvls __read_mostly = RCU_NUM_LVLS;
4366 static struct lock_class_key rcu_node_class[RCU_NUM_LVLS]; in rcu_init_one()
4367 static struct lock_class_key rcu_fqs_class[RCU_NUM_LVLS]; in rcu_init_one()
4369 int levelspread[RCU_NUM_LVLS]; /* kids/node in each level. */ in rcu_init_one()
4375 BUILD_BUG_ON(RCU_NUM_LVLS > ARRAY_SIZE(buf)); /* Fix buf[] init! */ in rcu_init_one()
4378 if (rcu_num_lvls <= 0 || rcu_num_lvls > RCU_NUM_LVLS) in rcu_init_one()
4451 int rcu_capacity[RCU_NUM_LVLS]; in rcu_init_geometry()
4505 for (i = 1; i < RCU_NUM_LVLS; i++) in rcu_init_geometry()
4512 if (nr_cpu_ids > rcu_capacity[RCU_NUM_LVLS - 1]) { in rcu_init_geometry()
H A Drcu.h292 for (i = 0; i < RCU_NUM_LVLS; i++) in rcu_init_levelspread()
H A Dsrcutree.c88 int levelspread[RCU_NUM_LVLS]; in init_srcu_struct_nodes()
H A Dtree_plugin.h41 if (RCU_NUM_LVLS >= 4) in rcu_bootup_announce_oddness()
/kernel/linux/linux-6.6/kernel/rcu/
H A Dtree.c112 int rcu_num_lvls __read_mostly = RCU_NUM_LVLS;
4788 static struct lock_class_key rcu_node_class[RCU_NUM_LVLS]; in rcu_init_one()
4789 static struct lock_class_key rcu_fqs_class[RCU_NUM_LVLS]; in rcu_init_one()
4791 int levelspread[RCU_NUM_LVLS]; /* kids/node in each level. */ in rcu_init_one()
4797 BUILD_BUG_ON(RCU_NUM_LVLS > ARRAY_SIZE(buf)); /* Fix buf[] init! */ in rcu_init_one()
4800 if (rcu_num_lvls <= 0 || rcu_num_lvls > RCU_NUM_LVLS) in rcu_init_one()
4899 int rcu_capacity[RCU_NUM_LVLS]; in rcu_init_geometry()
4953 for (i = 1; i < RCU_NUM_LVLS; i++) in rcu_init_geometry()
4960 if (nr_cpu_ids > rcu_capacity[RCU_NUM_LVLS - 1]) { in rcu_init_geometry()
H A Dtree.h331 struct rcu_node *level[RCU_NUM_LVLS + 1];
H A Drcu.h346 for (i = 0; i < RCU_NUM_LVLS; i++) in rcu_init_levelspread()
H A Dtree_plugin.h58 if (RCU_NUM_LVLS >= 4) in rcu_bootup_announce_oddness()
H A Dsrcutree.c169 int levelspread[RCU_NUM_LVLS]; in init_srcu_struct_nodes()

Completed in 27 milliseconds