Searched refs:CPU_NUM (Results 1 – 4 of 4) sorted by relevance
41 #define CPU_NUM (sizeof(CPU_SENSORS) / sizeof(int)) macro110 for (cpu = 0; cpu < CPU_NUM; cpu++) { in get_cpu_temperatures()189 return CPU_NUM; in get_cpu_usages()214 if (vals != 5 || size == CPU_NUM) { in get_cpu_usages()257 if (size != CPU_NUM) { in get_cpu_usages()261 return CPU_NUM; in get_cpu_usages()
42 #define CPU_NUM (sizeof(CPU_SENSORS) / sizeof(int)) macro108 for (cpu = 0; cpu < CPU_NUM; cpu++) { in get_cpu_temperatures()191 return CPU_NUM; in get_cpu_usages()216 if (vals != 5 || size == CPU_NUM) { in get_cpu_usages()260 if (size != CPU_NUM) { in get_cpu_usages()265 return CPU_NUM; in get_cpu_usages()
39 #define CPU_NUM 2 macro155 return CPU_NUM; in get_cpu_usages()180 if (vals != 5 || size == CPU_NUM) { in get_cpu_usages()224 if (size != CPU_NUM) { in get_cpu_usages()229 return CPU_NUM; in get_cpu_usages()
40 #define CPU_NUM 4 macro106 for (cpu = 0; cpu < CPU_NUM; cpu++) { in get_cpu_temperatures()181 return CPU_NUM; in get_cpu_usages()206 if (vals != 5 || size == CPU_NUM) { in get_cpu_usages()250 if (size != CPU_NUM) { in get_cpu_usages()