Searched refs:nr_shards (Results 1 – 1 of 1) sorted by relevance
138 int nr_shards; /* total number of shards */ member8262 layout.nr_shards = max(1, DIV_ROUND_CLOSEST(nr_cores, wq_cache_shard_size)); in llc_calc_shard_layout()8263 layout.cores_per_shard = nr_cores / layout.nr_shards; in llc_calc_shard_layout()8264 layout.nr_large_shards = nr_cores % layout.nr_shards; in llc_calc_shard_layout()8336 WARN_ON_ONCE(shard_id != (layout.nr_shards - 1)); in llc_populate_cpu_shard_id()