Searched refs:num_active_cpus (Results 1 – 3 of 3) 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()
687 msdata.num_threads = num_active_cpus() + 1; /* +1 for local */ in stop_machine_from_inactive_cpu()695 cpu_stop_init_done(&done, num_active_cpus()); in stop_machine_from_inactive_cpu()
1078 #define num_active_cpus() cpumask_weight(cpu_active_mask) macro1110 #define num_active_cpus() 1U macro