Searched refs:curcpu (Results 1 – 4 of 4) sorted by relevance
54 if (cpu[curnode][curcpu[curnode]] == "")55 curcpu[curnode] = 0;58 s = s cpu[curnode][curcpu[curnode]];59 curcpu[curnode]++;80 if (curcpu[i] != "")81 print "curcpu[" i "] = " curcpu[i] ";" >> fn;
37 curcpu=`echo $i | sed -e 's/^[^0-9]*//'`38 nohotplugcpus="$nohotplugcpus $curcpu"
129 int curcpu = -1; in midr_from_proc_cpuinfo() local140 if(curcpu >= 0 && midr == 0) in midr_from_proc_cpuinfo()146 if(curcpu >= 0 && curcpu < max_num_cpus) in midr_from_proc_cpuinfo()156 curcpu = newcpu; in midr_from_proc_cpuinfo()203 if(curcpu >= 0 && curcpu < max_num_cpus) in midr_from_proc_cpuinfo()
2725 int n, ncpu, curcpu = 0; in get_online_cpus() local2756 if (curcpu >= ncpu) { in get_online_cpus()2760 cpu_nums[curcpu++] = prevcpuid++; in get_online_cpus()2766 ncpu = curcpu; in get_online_cpus()2778 for (curcpu = 0; curcpu < ncpu; curcpu++) in get_online_cpus()2779 CPU_SET_S(cpu_nums[curcpu], alloc_size, set); in get_online_cpus()