Lines Matching refs:MAX_CPUS
50 #define MAX_CPUS 4096
152 DECLARE_BITMAP(comp_cpus_mask, MAX_CPUS);
854 if (cpu >= MAX_CPUS || cpu < 0)
1117 BUG_ON(cpu >= MAX_CPUS || cpu < 0);
1188 BUG_ON(cpu >= MAX_CPUS || cpu < 0);
1559 BUG_ON(this_cpu.cpu >= MAX_CPUS || this_cpu.cpu < 0);
1565 cpus_nr = bitmap_weight(sched->map.comp_cpus_mask, MAX_CPUS);
3174 sched->cpu_last_switched = calloc(MAX_CPUS, sizeof(*(sched->cpu_last_switched)));
3178 sched->curr_pid = malloc(MAX_CPUS * sizeof(*(sched->curr_pid)));
3184 for (i = 0; i < MAX_CPUS; i++)
3303 sched->curr_thread = calloc(MAX_CPUS, sizeof(*(sched->curr_thread)));