Lines Matching refs:cpus
1762 struct cpu (*cpus)[8192]; /* Kernel maximum. */ in uv_cpu_info() local
1766 unsigned char bitmap[ARRAY_SIZE(*cpus) / 8]; in uv_cpu_info()
1778 cpus = uv__calloc(ARRAY_SIZE(*cpus), sizeof(**cpus)); in uv_cpu_info()
1779 if (cpus == NULL) in uv_cpu_info()
1784 uv__free(cpus); in uv_cpu_info()
1803 if (cpu >= ARRAY_SIZE(*cpus)) in uv_cpu_info()
1806 (*cpus)[cpu] = t; in uv_cpu_info()
1855 (*cpus)[cpu].model = model - models; in uv_cpu_info()
1881 if (1 != fscanf(fp, "%llu", &(*cpus)[cpu].freq)) in uv_cpu_info()
1892 uv__free(cpus); in uv_cpu_info()
1904 c = *cpus + cpu; in uv_cpu_info()
1922 uv__free(cpus); in uv_cpu_info()