Lines Matching refs:MAX_CPUS
51 #define MAX_CPUS 4096
151 DECLARE_BITMAP(comp_cpus_mask, MAX_CPUS);
859 if (cpu >= MAX_CPUS || cpu < 0)
1143 BUG_ON(cpu >= MAX_CPUS || cpu < 0);
1214 BUG_ON(cpu >= MAX_CPUS || cpu < 0);
1654 BUG_ON(this_cpu.cpu >= MAX_CPUS || this_cpu.cpu < 0);
1660 cpus_nr = bitmap_weight(sched->map.comp_cpus_mask, MAX_CPUS);
3486 sched->cpu_last_switched = calloc(MAX_CPUS, sizeof(*(sched->cpu_last_switched)));
3490 sched->curr_pid = malloc(MAX_CPUS * sizeof(*(sched->curr_pid)));
3496 for (i = 0; i < MAX_CPUS; i++)
3621 sched->curr_thread = calloc(MAX_CPUS, sizeof(*(sched->curr_thread)));
3625 sched->curr_out_thread = calloc(MAX_CPUS, sizeof(*(sched->curr_out_thread)));
3662 for (int i = 0; i < MAX_CPUS; i++)
3667 for (int i = 0; i < MAX_CPUS; i++)