Lines Matching refs:MAX_CPUS
50 #define MAX_CPUS 4096
170 DECLARE_BITMAP(comp_cpus_mask, MAX_CPUS);
872 if (cpu >= MAX_CPUS || cpu < 0)
1142 BUG_ON(cpu >= MAX_CPUS || cpu < 0);
1213 BUG_ON(cpu >= MAX_CPUS || cpu < 0);
1584 BUG_ON(this_cpu.cpu >= MAX_CPUS || this_cpu.cpu < 0);
1590 cpus_nr = bitmap_weight(sched->map.comp_cpus_mask, MAX_CPUS);
3598 sched.curr_thread = calloc(MAX_CPUS, sizeof(*sched.curr_thread));
3603 sched.cpu_last_switched = calloc(MAX_CPUS, sizeof(*sched.cpu_last_switched));
3608 sched.curr_pid = malloc(MAX_CPUS * sizeof(*sched.curr_pid));
3613 for (i = 0; i < MAX_CPUS; i++)