Searched refs:g_pset_cpus (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/intrstat/
H A Dintrstat.c62 static processorid_t *g_pset_cpus; variable
296 if (pset_info(g_pset, NULL, &g_pset_ncpus, g_pset_cpus) == -1)
303 g_present[g_pset_cpus[i]] = 1;
315 if (pset_info(g_pset, NULL, &ncpus, g_pset_cpus) == -1) {
327 if (!g_present[g_pset_cpus[i]])
349 g_present[g_pset_cpus[i]] = 1;
410 g_pset_cpus = malloc(sizeof (processorid_t) * g_max_cpus);
411 if (g_pset_cpus == NULL)
412 fatal("could not allocate g_pset_cpus");
414 bzero(g_pset_cpus, sizeo
[all...]
/illumos-gate/usr/src/cmd/trapstat/sun4/
H A Dtrapstat.c70 static processorid_t *g_pset_cpus; variable
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[
[all...]

Completed in 229 milliseconds