Searched refs:levelspread (Results 1 – 3 of 3) sorted by relevance
298 static inline void rcu_init_levelspread(int *levelspread, const int *levelcnt) in rcu_init_levelspread() argument303 levelspread[rcu_num_lvls - 1] = rcu_fanout_leaf; in rcu_init_levelspread()305 levelspread[i] = RCU_FANOUT; in rcu_init_levelspread()313 levelspread[i] = (cprv + ccur - 1) / ccur; in rcu_init_levelspread()
88 int levelspread[RCU_NUM_LVLS]; in init_srcu_struct_nodes() local97 rcu_init_levelspread(levelspread, num_rcu_lvl); in init_srcu_struct_nodes()122 levelspread[level - 1]; in init_srcu_struct_nodes()140 sdp->mynode = &snp_first[cpu / levelspread[level]]; in init_srcu_struct_nodes()
3344 int levelspread[RCU_NUM_LVLS]; /* kids/node in each level. */ in rcu_init_one() local3361 rcu_init_levelspread(levelspread, num_rcu_lvl); in rcu_init_one()3366 cpustride *= levelspread[i]; in rcu_init_one()3389 rnp->grpnum = j % levelspread[i - 1]; in rcu_init_one()3392 j / levelspread[i - 1]; in rcu_init_one()