Lines Matching refs:cpu
19 int cpu;
21 for (cpu = 0; cpu < CPU_SETSIZE; cpu++)
22 if (CPU_ISSET(cpu, cpus))
30 * of cpu numbers such as: "0,2,4-7" into a cpu_set_t.
38 int cpu;
58 ERROR(0, "bad cpu number '%d' in cpu set", start);
63 ERROR(0, "bad cpu number '%d' in cpu set", end);
68 ERROR(0, "bad range '%d-%d' in cpu set", start, end);
72 for (cpu = start; cpu <= end; ++cpu)
73 CPU_SET(cpu, cpus);
78 ERROR(0, "unexpected character '%c' in cpu set", *s);
104 * comma separated list of ranges of cpu numbers.
116 int cpu;
118 for (cpu = 0; cpu < CPU_SETSIZE; cpu++) {
119 if (CPU_ISSET(cpu, cpus)) {
121 start = cpu;
122 end = cpu;