Lines Matching full:cpus
28 * be shared by works on different cpus.
36 /* the actual stopper, one per every possible cpu, enabled on online cpus */
112 * partially or fully on different cpus. @fn should either be ready
232 * At this stage all other CPUs we depend on must spin in multi_cpu_stop()
307 * stop_two_cpus - stops two cpus
417 * stop_cpus - stop multiple cpus
418 * @cpumask: cpus to stop
422 * Execute @fn(@arg) on online cpus in @cpumask. On each target cpu,
427 * This function doesn't guarantee the cpus in @cpumask stay online
428 * till @fn completes. If some cpus go down in the middle, execution
429 * on the cpu may happen partially or fully on different cpus. @fn
431 * the cpus stay online until this function completes.
434 * for all cpus to start executing it.
440 * -ENOENT if @fn(@arg) was not executed at all because all cpus in
456 * try_stop_cpus - try to stop multiple cpus
457 * @cpumask: cpus to stop
468 * -EAGAIN if someone else is already stopping cpus, -ENOENT if
469 * @fn(@arg) was not executed at all because all cpus in @cpumask were
596 const struct cpumask *cpus) in stop_machine_cpuslocked() argument
602 .active_cpus = cpus, in stop_machine_cpuslocked()
626 /* Set the initial state and stop all online cpus. */ in stop_machine_cpuslocked()
631 int stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) in stop_machine() argument
635 /* No CPUs can come up or down during this. */ in stop_machine()
637 ret = stop_machine_cpuslocked(fn, data, cpus); in stop_machine()
647 * @cpus: the cpus to run the @fn() on (NULL = any online cpu)
659 * Local CPU is inactive. Temporarily stops all active CPUs.
666 const struct cpumask *cpus) in stop_machine_from_inactive_cpu() argument
669 .active_cpus = cpus }; in stop_machine_from_inactive_cpu()
681 /* Schedule work on other CPUs and execute directly for local CPU */ in stop_machine_from_inactive_cpu()