Lines Matching refs:fn

25 	cpu_stop_fn_t		fn;  member
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);
43 cpu_stop_fn_t fn; member
47 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() argument
52 ret = fn(arg); in stop_one_cpu()
62 stwork->fn(stwork->arg); in stop_one_cpu_nowait_workfn()
67 cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() argument
72 work_buf->fn = fn; in stop_one_cpu_nowait()
79 cpu_stop_fn_t fn, void *arg) in stop_cpus() argument
82 return stop_one_cpu(raw_smp_processor_id(), fn, arg); in stop_cpus()
87 cpu_stop_fn_t fn, void *arg) in try_stop_cpus() argument
89 return stop_cpus(cpumask, fn, arg); in try_stop_cpus()
115 int stop_machine(int (*fn)(void *), void *data, const struct cpumask *cpus);
126 int __stop_machine(int (*fn)(void *), void *data, const struct cpumask *cpus);
128 int stop_machine_from_inactive_cpu(int (*fn)(void *), void *data,
133 static inline int __stop_machine(int (*fn)(void *), void *data, in __stop_machine()
139 ret = fn(data); in __stop_machine()
144 static inline int stop_machine(int (*fn)(void *), void *data, in stop_machine()
147 return __stop_machine(fn, data, cpus); in stop_machine()
150 static inline int stop_machine_from_inactive_cpu(int (*fn)(void *), void *data, in stop_machine_from_inactive_cpu()
153 return __stop_machine(fn, data, cpus); in stop_machine_from_inactive_cpu()