Lines Matching refs:arg
20 typedef int (*cpu_stop_fn_t)(void *arg);
27 void *arg; member
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 void *arg; member
50 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() argument
55 ret = fn(arg); in stop_one_cpu()
65 stwork->fn(stwork->arg); in stop_one_cpu_nowait_workfn()
70 cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() argument
76 work_buf->arg = arg; in stop_one_cpu_nowait()
85 cpu_stop_fn_t fn, void *arg) in stop_cpus() argument
88 return stop_one_cpu(raw_smp_processor_id(), fn, arg); in stop_cpus()
93 cpu_stop_fn_t fn, void *arg) in try_stop_cpus() argument
95 return stop_cpus(cpumask, fn, arg); in try_stop_cpus()