Searched refs:cpu_nums (Results 1 – 1 of 1) sorted by relevance
2726 int *cpu_nums; in get_online_cpus() local2732 cpu_nums = malloc(sizeof(int)*ncpu); in get_online_cpus()2733 if (!cpu_nums) { in get_online_cpus()2760 cpu_nums[curcpu++] = prevcpuid++; in get_online_cpus()2767 max_cpus = cpu_nums[ncpu - 1] + 1; in get_online_cpus()2779 CPU_SET_S(cpu_nums[curcpu], alloc_size, set); in get_online_cpus()2781 free(cpu_nums); in get_online_cpus()