Searched refs:nr_cpus (Results 1 – 5 of 5) sorted by relevance
903 int nr_cpus = 0; in smp_call_function_many_cond() local961 nr_cpus++; in smp_call_function_many_cond()977 if (nr_cpus == 1) in smp_call_function_many_cond()979 else if (likely(nr_cpus > 1)) in smp_call_function_many_cond()1080 int nr_cpus; in nrcpus() local1082 if (get_option(&str, &nr_cpus) && nr_cpus > 0 && nr_cpus < nr_cpu_ids) in nrcpus()1083 set_nr_cpu_ids(nr_cpus); in nrcpus()
1238 unsigned long nr_cpus = num_possible_cpus(), nr_phdr, elf_sz; in crash_prepare_elf64_headers() local1245 nr_phdr = nr_cpus + 1; in crash_prepare_elf64_headers()
377 int i, nr_pd = 0, nr_ps = 0, nr_cpus = cpumask_weight(cpu_map); in build_perf_domains() local435 if (nr_pd * (nr_ps + nr_cpus) > EM_MAX_COMPLEXITY) { in build_perf_domains()
6308 atomic_t nr_cpus; member11265 if (likely(!atomic_read(&nohz.nr_cpus))) in nohz_balancer_kick()11387 atomic_dec(&nohz.nr_cpus); in nohz_balance_exit_idle()11449 atomic_inc(&nohz.nr_cpus); in nohz_balance_enter_idle()
6091 pack->nr_cpus = cpumask_weight(trace_buffer->cpumask); in trace_buffer_pack()