HomeSort by relevance Sort by last modified time
    Searched refs:g_max_cpus (Results 1 - 2 of 2) sorted by null

  /onnv/onnv-gate/usr/src/cmd/intrstat/
intrstat.c 55 static int g_max_cpus; variable
159 for (i = g_start, j = 0; i < g_max_cpus; i++) {
202 for (i = g_start, j = 0; i < g_max_cpus && j < g_cpus_per_line; i++) {
236 if (cpu < 0 || cpu >= g_max_cpus)
254 if (low < 0 || low >= g_max_cpus)
257 if (high < 0 || high >= g_max_cpus)
286 for (i = 0; i < g_max_cpus; i++)
290 if (i != g_max_cpus)
294 g_pset_ncpus = g_max_cpus;
309 uint_t ncpus = g_max_cpus;
    [all...]
  /onnv/onnv-gate/usr/src/cmd/trapstat/sun4/
trapstat.c 63 static processorid_t g_max_cpus; variable
871 g_max_cpus = (processorid_t)sysconf(_SC_CPUID_MAX) + 1;
873 if ((g_selected = malloc(sizeof (int8_t) * g_max_cpus)) == NULL)
876 bzero(g_selected, sizeof (int8_t) * g_max_cpus);
878 g_pset_cpus = malloc(sizeof (processorid_t) * g_max_cpus);
882 bzero(g_pset_cpus, sizeof (processorid_t) * g_max_cpus);
913 if ((g_data[0] = malloc(g_datasize * g_max_cpus)) == NULL)
916 if ((g_data[1] = malloc(g_datasize * g_max_cpus)) == NULL)
    [all...]

Completed in 300 milliseconds