Home
last modified time | relevance | path

Searched refs:num_active_cpus (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/leds/trigger/
Dledtrig-cpu.c42 static atomic_t num_active_cpus = ATOMIC_INIT(0); variable
82 atomic_add(is_active ? 1 : -1, &num_active_cpus); in ledtrig_cpu()
83 active_cpus = atomic_read(&num_active_cpus); in ledtrig_cpu()
/linux-6.6.21/kernel/
Dstop_machine.c687 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()
/linux-6.6.21/include/linux/
Dcpumask.h1078 #define num_active_cpus() cpumask_weight(cpu_active_mask) macro
1110 #define num_active_cpus() 1U macro