Lines Matching refs:cpuid2pset
1207 * Returned values: cpuid2pset[NCPU], nctxs[NCPU], md_gen
1208 * - cpuid2pset is initialized so it can convert cpuids to processor set of CPUs
1216 load_tlb_cpu_mappings(cpuset_t **cpuid2pset, uint_t *nctxs, uint64_t *md_gen)
1274 * If a CPU is already in a set as shown by cpuid2pset[], then
1279 ppset = cpuid2pset[cpids[cp_idx]];
1292 cpuid2pset[cpids[cp_idx]] = ppset;
1331 static cpuset_t **cpuid2pset = NULL;
1348 * result MD is read here only once on such machines: when cpuid2pset is
1351 if (current_gen != md_gen || cpuid2pset == NULL) {
1352 if (cpuid2pset == NULL) {
1353 cpuid2pset = kmem_zalloc(sizeof (cpuset_t *) * NCPU,
1357 /* clean cpuid2pset[NCPU], before loading new values */
1359 cpuset_t *pset = cpuid2pset[idx];
1368 cpuid2pset[id] = NULL;
1370 ASSERT(cpuid2pset[idx] == NULL);
1376 if (load_tlb_cpu_mappings(cpuid2pset, nctxs, &md_gen))
1382 if (cpuid2pset[cpuid] == NULL)
1385 cpuid_pset = *cpuid2pset[cpuid];