Lines Matching full:fn

26 	cpu_stop_fn_t		fn;  member
41 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg);
42 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg);
43 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg,
48 int stop_one_cpu_async(unsigned int cpu, cpu_stop_fn_t fn, void *arg,
59 cpu_stop_fn_t fn; member
63 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() argument
68 ret = fn(arg); in stop_one_cpu()
78 stwork->fn(stwork->arg); in stop_one_cpu_nowait_workfn()
83 cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() argument
88 work_buf->fn = fn; in stop_one_cpu_nowait()
109 * @fn: the function to run
110 * @data: the data ptr for the @fn()
111 * @cpus: the cpus to run the @fn() on (NULL = any online cpu)
116 * @fn() runs.
123 int stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus);
127 * @fn: the function to run
128 * @data: the data ptr for the @fn()
129 * @cpus: the cpus to run the @fn() on (NULL = any online cpu)
134 int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus);
136 int stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data,
140 static __always_inline int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, in stop_machine_cpuslocked() argument
146 ret = fn(data); in stop_machine_cpuslocked()
152 stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) in stop_machine() argument
154 return stop_machine_cpuslocked(fn, data, cpus); in stop_machine()
158 stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, in stop_machine_from_inactive_cpu() argument
161 return stop_machine(fn, data, cpus); in stop_machine_from_inactive_cpu()