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

/linux-master/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];
/linux-master/kernel/rcu/
H A Dtree.h330 struct rcu_node *level[RCU_NUM_LVLS + 1];
H A Drcu.h355 for (i = 0; i < RCU_NUM_LVLS; i++)
H A Dtree.c112 int rcu_num_lvls __read_mostly = RCU_NUM_LVLS;
4933 static struct lock_class_key rcu_node_class[RCU_NUM_LVLS];
4934 static struct lock_class_key rcu_fqs_class[RCU_NUM_LVLS];
4936 int levelspread[RCU_NUM_LVLS]; /* kids/node in each level. */
4942 BUILD_BUG_ON(RCU_NUM_LVLS > ARRAY_SIZE(buf)); /* Fix buf[] init! */
4945 if (rcu_num_lvls <= 0 || rcu_num_lvls > RCU_NUM_LVLS)
5044 int rcu_capacity[RCU_NUM_LVLS];
5098 for (i = 1; i < RCU_NUM_LVLS; i++)
5105 if (nr_cpu_ids > rcu_capacity[RCU_NUM_LVLS - 1]) {
H A Dtree_plugin.h58 if (RCU_NUM_LVLS >= 4)
H A Dsrcutree.c169 int levelspread[RCU_NUM_LVLS];

Completed in 117 milliseconds