Home
last modified time | relevance | path

Searched refs:nr_cpus (Results 1 – 5 of 5) sorted by relevance

/kernel/
Dsmp.c903 int nr_cpus = 0; in smp_call_function_many_cond() local
961 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() local
1082 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()
Dkexec_file.c1238 unsigned long nr_cpus = num_possible_cpus(), nr_phdr, elf_sz; in crash_prepare_elf64_headers() local
1245 nr_phdr = nr_cpus + 1; in crash_prepare_elf64_headers()
/kernel/sched/
Dtopology.c377 int i, nr_pd = 0, nr_ps = 0, nr_cpus = cpumask_weight(cpu_map); in build_perf_domains() local
435 if (nr_pd * (nr_ps + nr_cpus) > EM_MAX_COMPLEXITY) { in build_perf_domains()
Dfair.c6308 atomic_t nr_cpus; member
11265 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()
/kernel/trace/
Dring_buffer.c6091 pack->nr_cpus = cpumask_weight(trace_buffer->cpumask); in trace_buffer_pack()