Searched refs:g_pset_cpus (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/cmd/intrstat/ |
H A D | intrstat.c | 62 static processorid_t *g_pset_cpus; variable 296 if (pset_info(g_pset, NULL, &g_pset_ncpus, g_pset_cpus) == -1) in select_pset() 303 g_present[g_pset_cpus[i]] = 1; in select_pset() 315 if (pset_info(g_pset, NULL, &ncpus, g_pset_cpus) == -1) { in check_pset() 327 if (!g_present[g_pset_cpus[i]]) in check_pset() 349 g_present[g_pset_cpus[i]] = 1; in check_pset() 410 g_pset_cpus = malloc(sizeof (processorid_t) * g_max_cpus); in main() 411 if (g_pset_cpus == NULL) in main() 414 bzero(g_pset_cpus, sizeof (processorid_t) * g_max_cpus); in main()
|
/titanic_41/usr/src/cmd/trapstat/sun4/ |
H A D | trapstat.c | 70 static processorid_t *g_pset_cpus; variable 236 g_pset_cpus = malloc(sizeof (processorid_t) * g_max_cpus); in setup() 237 if (g_pset_cpus == NULL) in setup() 240 bzero(g_pset_cpus, sizeof (processorid_t) * g_max_cpus); in setup() 464 if (pset_info(g_pset, NULL, &g_pset_ncpus, g_pset_cpus) == -1) in select_pset() 474 g_selected[g_pset_cpus[i]] = 1; in select_pset() 486 if (pset_info(g_pset, NULL, &ncpus, g_pset_cpus) == -1) { in check_pset() 498 if (!g_selected[g_pset_cpus[i]]) in check_pset() 526 g_selected[g_pset_cpus[i]] = 1; in check_pset() 527 if (ioctl(g_fd, TSTATIOC_CPU, g_pset_cpus[i]) == -1) in check_pset()
|