Searched refs:cpu_stop_fn_t (Results 1 – 2 of 2) sorted by relevance
/linux-4.4.14/include/linux/ |
D | stop_machine.h | 19 typedef int (*cpu_stop_fn_t)(void *arg); typedef 25 cpu_stop_fn_t fn; 30 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg); 31 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg); 32 void stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, 34 int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg); 35 int try_stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg); 45 cpu_stop_fn_t fn; 49 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() 69 cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() [all …]
|
/linux-4.4.14/kernel/ |
D | stop_machine.c | 121 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() 147 cpu_stop_fn_t fn; 255 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus() 306 void stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() 317 cpu_stop_fn_t fn, void *arg, in queue_stop_cpus_work() 340 cpu_stop_fn_t fn, void *arg) in __stop_cpus() 378 int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in stop_cpus() 407 int try_stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in try_stop_cpus() 448 cpu_stop_fn_t fn = work->fn; in cpu_stopper_thread() 536 static int __stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) in __stop_machine() [all …]
|