Searched refs:cpu_stop_fn_t (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/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, 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() 109 int stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus); 120 int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus); [all …]
|
/Linux-v5.10/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; 318 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus() 367 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() 375 cpu_stop_fn_t fn, void *arg, in queue_stop_cpus_work() 406 cpu_stop_fn_t fn, void *arg) in __stop_cpus() 445 static int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in stop_cpus() 484 cpu_stop_fn_t fn = work->fn; in cpu_stopper_thread() 566 int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, in stop_machine_cpuslocked() 602 int stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) in stop_machine() [all …]
|