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() local100 rcu_init_levelspread(levelspread, num_rcu_lvl); in init_srcu_struct_nodes()125 levelspread[level - 1]; in init_srcu_struct_nodes()143 sdp->mynode = &snp_first[cpu / levelspread[level]]; in init_srcu_struct_nodes()
3354 int levelspread[RCU_NUM_LVLS]; /* kids/node in each level. */ in rcu_init_one() local3371 rcu_init_levelspread(levelspread, num_rcu_lvl); in rcu_init_one()3376 cpustride *= levelspread[i]; in rcu_init_one()3399 rnp->grpnum = j % levelspread[i - 1]; in rcu_init_one()3402 j / levelspread[i - 1]; in rcu_init_one()