Lines Matching refs:idx
223 int idx = 0;
261 cpunodes[cpuid].l2_cache_mapping = idx;
265 idx++;
277 int idx, i, j;
327 idx = NCPU + i;
348 cpunodes[cpuid].exec_unit_mapping = idx;
351 cpunodes[cpuid].fpu_mapping = idx;
1336 int idx;
1358 for (idx = 0; idx < NCPU; idx++) {
1359 cpuset_t *pset = cpuid2pset[idx];
1370 ASSERT(cpuid2pset[idx] == NULL);
1411 idx = next_domain;
1413 if (mmu_ctxs_tbl[idx] != NULL) {
1414 for (idx = 0; idx < max_mmu_ctxdoms; idx++)
1415 if (mmu_ctxs_tbl[idx] == NULL)
1417 if (idx == max_mmu_ctxdoms) {
1419 idx = next_domain;
1421 if (info->mmu_nctxs < sfmmu_ctxdom_nctxs(idx))
1427 info->mmu_idx = idx;
1428 next_domain = (idx + 1) % max_mmu_ctxdoms;