Home
last modified time | relevance | path

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

/Linux-v6.1/include/linux/
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
Dsrcutree.h64 struct srcu_node *level[RCU_NUM_LVLS + 1];
/Linux-v6.1/kernel/rcu/
Dtree.c111 int rcu_num_lvls __read_mostly = RCU_NUM_LVLS;
4505 static struct lock_class_key rcu_node_class[RCU_NUM_LVLS]; in rcu_init_one()
4506 static struct lock_class_key rcu_fqs_class[RCU_NUM_LVLS]; in rcu_init_one()
4508 int levelspread[RCU_NUM_LVLS]; /* kids/node in each level. */ in rcu_init_one()
4514 BUILD_BUG_ON(RCU_NUM_LVLS > ARRAY_SIZE(buf)); /* Fix buf[] init! */ in rcu_init_one()
4517 if (rcu_num_lvls <= 0 || rcu_num_lvls > RCU_NUM_LVLS) in rcu_init_one()
4616 int rcu_capacity[RCU_NUM_LVLS]; in rcu_init_geometry()
4670 for (i = 1; i < RCU_NUM_LVLS; i++) in rcu_init_geometry()
4677 if (nr_cpu_ids > rcu_capacity[RCU_NUM_LVLS - 1]) { in rcu_init_geometry()
Dtree.h310 struct rcu_node *level[RCU_NUM_LVLS + 1];
Drcu.h307 for (i = 0; i < RCU_NUM_LVLS; i++) in rcu_init_levelspread()
Dtree_plugin.h58 if (RCU_NUM_LVLS >= 4) in rcu_bootup_announce_oddness()
Dsrcutree.c169 int levelspread[RCU_NUM_LVLS]; in init_srcu_struct_nodes()
/Linux-v6.1/Documentation/RCU/Design/Data-Structures/
DData-Structures.rst572 27 # define RCU_NUM_LVLS 1
580 35 # define RCU_NUM_LVLS 2
589 44 # define RCU_NUM_LVLS 3
599 54 # define RCU_NUM_LVLS 4