Searched refs:cpu_stop_fn_t (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/include/linux/ |
| D | stop_machine.h | 20 typedef int (*cpu_stop_fn_t)(void *arg); typedef 26 cpu_stop_fn_t fn; 31 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg); 32 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg); 33 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, 35 int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg); 36 int try_stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg); 47 cpu_stop_fn_t fn; 51 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() 71 cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() [all …]
|
| /Linux-v5.4/kernel/ |
| D | stop_machine.c | 123 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() 155 cpu_stop_fn_t fn; 317 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus() 366 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() 374 cpu_stop_fn_t fn, void *arg, in queue_stop_cpus_work() 405 cpu_stop_fn_t fn, void *arg) in __stop_cpus() 444 int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in stop_cpus() 473 int try_stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in try_stop_cpus() 513 cpu_stop_fn_t fn = work->fn; in cpu_stopper_thread() 595 int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, in stop_machine_cpuslocked() [all …]
|