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