Lines Matching full:cpus

26  * be shared by works on different cpus.
35 /* the actual stopper, one per every possible cpu, enabled on online cpus */
94 * partially or fully on different cpus. @fn should either be ready
179 * stop_cpus - stop multiple cpus
180 * @cpumask: cpus to stop
184 * Execute @fn(@arg) on online cpus in @cpumask. On each target cpu,
189 * This function doesn't guarantee the cpus in @cpumask stay online
190 * till @fn completes. If some cpus go down in the middle, execution
191 * on the cpu may happen partially or fully on different cpus. @fn
193 * the cpus stay online until this function completes.
196 * for all cpus to start executing it.
202 * -ENOENT if @fn(@arg) was not executed at all because all cpus in
218 * try_stop_cpus - try to stop multiple cpus
219 * @cpumask: cpus to stop
230 * -EAGAIN if someone else is already stopping cpus, -ENOENT if
231 * @fn(@arg) was not executed at all because all cpus in @cpumask were
485 int __stop_machine(int (*fn)(void *), void *data, const struct cpumask *cpus) in __stop_machine() argument
489 .active_cpus = cpus }; in __stop_machine()
510 /* Set the initial state and stop all online cpus. */ in __stop_machine()
515 int stop_machine(int (*fn)(void *), void *data, const struct cpumask *cpus) in stop_machine() argument
519 /* No CPUs can come up or down during this. */ in stop_machine()
521 ret = __stop_machine(fn, data, cpus); in stop_machine()
531 * @cpus: the cpus to run the @fn() on (NULL = any online cpu)
543 * Local CPU is inactive. Temporarily stops all active CPUs.
550 const struct cpumask *cpus) in stop_machine_from_inactive_cpu() argument
553 .active_cpus = cpus }; in stop_machine_from_inactive_cpu()
565 /* Schedule work on other CPUs and execute directly for local CPU */ in stop_machine_from_inactive_cpu()