Lines Matching refs:max_cpu_num
203 int max_cpu_num; member
1626 if (topo.max_cpu_num < cpu) in count_cpus()
1627 topo.max_cpu_num = cpu; in count_cpus()
2744 topo.max_cpu_num = 0; in topology_probe()
2750 fprintf(stderr, "num_cpus %d max_cpu_num %d\n", topo.num_cpus, topo.max_cpu_num); in topology_probe()
2752 cpus = calloc(1, (topo.max_cpu_num + 1) * sizeof(struct cpu_topology)); in topology_probe()
2759 cpu_present_set = CPU_ALLOC((topo.max_cpu_num + 1)); in topology_probe()
2762 cpu_present_setsize = CPU_ALLOC_SIZE((topo.max_cpu_num + 1)); in topology_probe()
2769 cpu_affinity_set = CPU_ALLOC((topo.max_cpu_num + 1)); in topology_probe()
2772 cpu_affinity_setsize = CPU_ALLOC_SIZE((topo.max_cpu_num + 1)); in topology_probe()
2780 for (i = 0; i <= topo.max_cpu_num; ++i) { in topology_probe()