Lines Matching refs:si
195 s32 cpu, cid, si;
212 for (si = 0; si < num_possible_cpus(); si++)
213 tbls->shard_node[si] = NUMA_NO_NODE;
480 s32 cpu, cid, si;
534 for (si = 1; si < nr_shards; si++) {
535 if (shard_start[si] <= shard_start[si - 1]) {
537 si);
540 if (shard_start[si] >= npossible) {
542 si, shard_start[si], npossible);
545 if (shard_start[si] - shard_start[si - 1] > SCX_CID_SHARD_MAX_CPUS) {
547 si - 1, shard_start[si] - shard_start[si - 1],
582 for (si = 0; si < nr_shards; si++) {
583 u32 end = (si + 1 < nr_shards) ? shard_start[si + 1] : npossible;
586 for (cid = shard_start[si]; cid < end; cid++) {
592 tbls->shard_node[si] = pick_max_node(node_counts, nr_node_ids);
599 si = 0;
601 if (si + 1 < nr_shards && cid >= shard_start[si + 1])
602 si++;
603 tbls->cid_to_shard[cid] = si;
605 tbls->topo[cid].shard_cid = shard_start[si];
606 tbls->topo[cid].shard_idx = si;
611 for (si = 0; si < nr_shards; si++) {
612 u32 end = (si + 1 < nr_shards) ? shard_start[si + 1] : npossible;
614 tbls->shard_ranges[si].base_cid = shard_start[si];
615 tbls->shard_ranges[si].nr_cids = end - shard_start[si];