Home
last modified time | relevance | path

Searched refs:cpu_stop_fn_t (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/include/linux/
Dstop_machine.h20 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()
114 int stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus);
125 int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus);
[all …]
/Linux-v6.6/kernel/
Dstop_machine.c46 cpu_stop_fn_t fn;
139 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu()
171 cpu_stop_fn_t fn;
334 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus()
384 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait()
392 cpu_stop_fn_t fn, void *arg, in queue_stop_cpus_work()
424 cpu_stop_fn_t fn, void *arg) in __stop_cpus()
463 static int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in stop_cpus()
502 cpu_stop_fn_t fn = work->fn; in cpu_stopper_thread()
586 int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, in stop_machine_cpuslocked()
[all …]