Lines Matching refs:g_present
54 static int *g_present;
160 if (!g_present[i])
208 if (!g_present[i])
245 g_present[cpu] = 1;
265 g_present[low] = 1;
287 if (g_present[i])
303 g_present[g_pset_cpus[i]] = 1;
327 if (!g_present[g_pset_cpus[i]])
344 bzero(g_present, sizeof (processorid_t) * g_max_cpus);
349 g_present[g_pset_cpus[i]] = 1;
405 if ((g_present = malloc(sizeof (processorid_t) * g_max_cpus)) == NULL)
406 fatal("could not allocate g_present array\n");
408 bzero(g_present, sizeof (processorid_t) * g_max_cpus);
552 for (i = 0; i < g_max_cpus && !g_present[i]; i++)
557 g_present[i] = p_online(i, P_STATUS) == -1 ? 0 : 1;