Lines Matching defs:nr_cpus
110 int nr_cpus;
219 for (cpu = 0; cpu < g->p.nr_cpus; cpu++)
222 BUG_ON(target_cpu < 0 || target_cpu >= g->p.nr_cpus);
234 int cpus_per_node = g->p.nr_cpus/g->p.nr_nodes;
239 BUG_ON(cpus_per_node*g->p.nr_nodes != g->p.nr_cpus);
248 for (cpu = 0; cpu < g->p.nr_cpus; cpu++)
254 BUG_ON(cpu_stop > g->p.nr_cpus);
478 BUG_ON(step <= 0 || step >= g->p.nr_cpus);
490 BUG_ON(bind_len <= 0 || bind_len > g->p.nr_cpus);
503 BUG_ON(bind_cpu_0 < 0 || bind_cpu_0 >= g->p.nr_cpus);
504 BUG_ON(bind_cpu_1 < 0 || bind_cpu_1 >= g->p.nr_cpus);
529 BUG_ON(cpu < 0 || cpu >= g->p.nr_cpus);
1140 if (this_cpu < g->p.nr_cpus/2)
1141 target_cpu = g->p.nr_cpus-1;
1255 g->p.nr_tasks, g->p.nr_tasks == 1 ? "task" : "tasks", g->p.nr_nodes, g->p.nr_cpus);
1284 for (cpu = 0; cpu < g->p.nr_cpus; cpu++)
1303 g->p.nr_cpus = numa_num_configured_cpus();