Lines Matching defs:g_papCpuInfo
57 static kstat_t **g_papCpuInfo;
58 /** The number of entries in g_papCpuInfo */
76 kstat_named_t *pStat = (kstat_named_t *)kstat_data_lookup(g_papCpuInfo[idCpu], (char *)"core_id");
93 if (kstat_read(g_pKsCtl, g_papCpuInfo[idCpu], 0) != -1)
139 g_papCpuInfo = (kstat_t **)RTMemAllocZ(g_capCpuInfo * sizeof(kstat_t *));
140 if (g_papCpuInfo)
155 g_papCpuInfo[i++] = pKsp;
174 RTMemFree(g_papCpuInfo);
175 g_papCpuInfo = NULL;
205 RTMemFree(g_papCpuInfo);
224 && g_papCpuInfo[idCpu])
230 if (kstat_read(g_pKsCtl, g_papCpuInfo[idCpu], 0) != -1)
233 kstat_named_t *pStat = (kstat_named_t *)kstat_data_lookup(g_papCpuInfo[idCpu], (char*)pszStatName);
431 rc = kstat_read(g_pKsCtl, g_papCpuInfo[idCpu], 0);
436 kstat_named_t *pStat = (kstat_named_t *)kstat_data_lookup(g_papCpuInfo[idCpu], (char *)"state");