Lines Matching refs:cpumask
176 const struct cpumask *active_cpus;
198 notrace void __weak stop_machine_yield(const struct cpumask *cpumask) in stop_machine_yield() argument
209 const struct cpumask *cpumask; in multi_cpu_stop() local
220 cpumask = cpu_online_mask; in multi_cpu_stop()
221 is_active = cpu == cpumask_first(cpumask); in multi_cpu_stop()
223 cpumask = msdata->active_cpus; in multi_cpu_stop()
224 is_active = cpumask_test_cpu(cpu, cpumask); in multi_cpu_stop()
230 stop_machine_yield(cpumask); in multi_cpu_stop()
393 static bool queue_stop_cpus_work(const struct cpumask *cpumask, in queue_stop_cpus_work() argument
409 for_each_cpu(cpu, cpumask) { in queue_stop_cpus_work()
425 static int __stop_cpus(const struct cpumask *cpumask, in __stop_cpus() argument
430 cpu_stop_init_done(&done, cpumask_weight(cpumask)); in __stop_cpus()
431 if (!queue_stop_cpus_work(cpumask, fn, arg, &done)) in __stop_cpus()
465 static int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in stop_cpus() argument
471 ret = __stop_cpus(cpumask, fn, arg); in stop_cpus()
589 const struct cpumask *cpus) in stop_machine_cpuslocked()
624 int stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) in stop_machine()
639 const struct cpumask *smt_mask = cpu_smt_mask(cpu); in stop_core_cpuslocked()
680 const struct cpumask *cpus) in stop_machine_from_inactive_cpu()