Searched refs:num_active_cpus (Results 1 – 4 of 4) sorted by relevance
42 static atomic_t num_active_cpus = ATOMIC_INIT(0); variable82 atomic_add(is_active ? 1 : -1, &num_active_cpus); in ledtrig_cpu()83 active_cpus = atomic_read(&num_active_cpus); in ledtrig_cpu()
650 msdata.num_threads = num_active_cpus() + 1; /* +1 for local */ in stop_machine_from_inactive_cpu()658 cpu_stop_init_done(&done, num_active_cpus()); in stop_machine_from_inactive_cpu()
122 #define num_active_cpus() cpumask_weight(cpu_active_mask) macro131 #define num_active_cpus() 1U macro
729 + if (num_active_cpus() == 1 && cpu_active(cpu))