Lines Matching refs:arg
19 typedef int (*cpu_stop_fn_t)(void *arg);
26 void *arg;
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);
44 void *arg;
47 static inline int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg)
52 ret = fn(arg);
62 stwork->fn(stwork->arg);
67 cpu_stop_fn_t fn, void *arg,
73 work_buf->arg = arg;
79 cpu_stop_fn_t fn, void *arg)
82 return stop_one_cpu(raw_smp_processor_id(), fn, arg);
87 cpu_stop_fn_t fn, void *arg)
89 return stop_cpus(cpumask, fn, arg);