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