Lines Matching refs:cpus
1769 struct cpu (*cpus)[8192]; /* Kernel maximum. */ in uv_cpu_info() local
1773 unsigned char bitmap[ARRAY_SIZE(*cpus) / 8]; in uv_cpu_info()
1785 cpus = uv__calloc(ARRAY_SIZE(*cpus), sizeof(**cpus)); in uv_cpu_info()
1786 if (cpus == NULL) in uv_cpu_info()
1791 uv__free(cpus); in uv_cpu_info()
1810 if (cpu >= ARRAY_SIZE(*cpus)) in uv_cpu_info()
1813 (*cpus)[cpu] = t; in uv_cpu_info()
1870 (*cpus)[cpu].model = model - models; in uv_cpu_info()
1896 if (1 != fscanf(fp, "%llu", &(*cpus)[cpu].freq)) in uv_cpu_info()
1907 uv__free(cpus); in uv_cpu_info()
1919 c = *cpus + cpu; in uv_cpu_info()
1937 uv__free(cpus); in uv_cpu_info()