Lines Matching refs:MAX_NR_CPUS
1570 for (i = 0; i < MAX_NR_CPUS; i++) { in top_print_per_cpu_load()
1593 u64 idle_time = stat->cpus_runtime[MAX_NR_CPUS].idle; in top_print_cpu_usage()
1594 u64 hardirq_time = stat->cpus_runtime[MAX_NR_CPUS].irq; in top_print_cpu_usage()
1595 u64 softirq_time = stat->cpus_runtime[MAX_NR_CPUS].softirq; in top_print_cpu_usage()
1596 int cpus_nr = bitmap_weight(stat->all_cpus_bitmap, MAX_NR_CPUS); in top_print_cpu_usage()
1597 u64 cpus_total_time = stat->cpus_runtime[MAX_NR_CPUS].total; in top_print_cpu_usage()
2009 BUG_ON(work->cpu >= MAX_NR_CPUS); in top_calc_total_runtime()
2011 stat->cpus_runtime[MAX_NR_CPUS].total += work->total_runtime; in top_calc_total_runtime()
2023 stat->cpus_runtime[MAX_NR_CPUS].idle += work->total_runtime; in top_calc_idle_time()
2035 stat->cpus_runtime[MAX_NR_CPUS].irq += work->total_runtime; in top_calc_irq_runtime()
2038 stat->cpus_runtime[MAX_NR_CPUS].softirq += work->total_runtime; in top_calc_irq_runtime()
2105 stat->cpus_runtime[MAX_NR_CPUS].load += work->total_runtime; in top_calc_load_runtime()
2209 cpus_runtime = zalloc(sizeof(struct __top_cpus_runtime) * (MAX_NR_CPUS + 1)); in perf_kwork__top()
2214 bitmap_zero(kwork->top_stat.all_cpus_bitmap, MAX_NR_CPUS); in perf_kwork__top()