Searched refs:stop_cpus (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/include/linux/
H A Dstop_machine.h34 int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg);
80 static inline int stop_cpus(const struct cpumask *cpumask, stop_cpus() function
91 return stop_cpus(cpumask, fn, arg); try_stop_cpus()
/linux-4.4.14/kernel/
H A Dstop_machine.c44 struct cpu_stop_work stop_work; /* for stop_cpus */
51 * Avoids a race between stop_two_cpus and global stop_cpus, where
313 /* static data for stop_cpus */
351 * stop_cpus - stop multiple cpus
367 * All stop_cpus() calls are serialized making it safe for @fn to wait
378 int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) stop_cpus() function
395 * Identical to stop_cpus() except that it fails with -EAGAIN if
566 return stop_cpus(cpu_online_mask, multi_cpu_stop, &msdata); __stop_machine()

Completed in 283 milliseconds