Lines Matching refs:g_pset_cpus
70 static processorid_t *g_pset_cpus;
236 g_pset_cpus = malloc(sizeof (processorid_t) * g_max_cpus);
237 if (g_pset_cpus == NULL)
238 fatal("could not allocate g_pset_cpus");
240 bzero(g_pset_cpus, sizeof (processorid_t) * g_max_cpus);
464 if (pset_info(g_pset, NULL, &g_pset_ncpus, g_pset_cpus) == -1)
474 g_selected[g_pset_cpus[i]] = 1;
486 if (pset_info(g_pset, NULL, &ncpus, g_pset_cpus) == -1) {
498 if (!g_selected[g_pset_cpus[i]])
526 g_selected[g_pset_cpus[i]] = 1;
527 if (ioctl(g_fd, TSTATIOC_CPU, g_pset_cpus[i]) == -1)