Lines Matching refs:arg
121 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() argument
124 struct cpu_stop_work work = { .fn = fn, .arg = arg, .done = &done }; in stop_one_cpu()
255 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus() argument
264 .data = arg, in stop_two_cpus()
271 .arg = &msdata, in stop_two_cpus()
306 void stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() argument
309 *work_buf = (struct cpu_stop_work){ .fn = fn, .arg = arg, }; in stop_one_cpu_nowait()
317 cpu_stop_fn_t fn, void *arg, in queue_stop_cpus_work() argument
332 work->arg = arg; in queue_stop_cpus_work()
340 cpu_stop_fn_t fn, void *arg) in __stop_cpus() argument
345 queue_stop_cpus_work(cpumask, fn, arg, &done); in __stop_cpus()
378 int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in stop_cpus() argument
384 ret = __stop_cpus(cpumask, fn, arg); in stop_cpus()
407 int try_stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in try_stop_cpus() argument
414 ret = __stop_cpus(cpumask, fn, arg); in try_stop_cpus()
449 void *arg = work->arg; in cpu_stopper_thread() local
456 ret = fn(arg); in cpu_stopper_thread()
465 ksym_buf), arg); in cpu_stopper_thread()