Searched refs:cpu_stop_fn_t (Results 1 – 2 of 2) sorted by relevance
/linux/include/linux/ |
H A D | stop_machine.h | 20 typedef int (*cpu_stop_fn_t)(void *arg); typedef 26 cpu_stop_fn_t fn; 32 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg); 33 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg); 34 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, 48 cpu_stop_fn_t fn; 52 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() 72 cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() 130 int stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus); 142 int stop_machine_cpuslocked(cpu_stop_fn_t f [all...] |
/linux/kernel/ |
H A D | stop_machine.c | 46 cpu_stop_fn_t fn; 137 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() 169 cpu_stop_fn_t fn; 335 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus() 385 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() 393 cpu_stop_fn_t fn, void *arg, in queue_stop_cpus_work() 425 cpu_stop_fn_t fn, void *arg) in __stop_cpus() 464 static int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in stop_cpus() 503 cpu_stop_fn_t fn = work->fn; in cpu_stopper_thread() 587 int stop_machine_cpuslocked(cpu_stop_fn_t f [all...] |