Lines Matching refs:arg
116 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() argument
119 struct cpu_stop_work work = { .fn = fn, .arg = arg, .done = &done }; in stop_one_cpu()
226 static void irq_cpu_stop_queue_work(void *arg) in irq_cpu_stop_queue_work() argument
228 struct irq_cpu_stop_queue_work_info *info = arg; in irq_cpu_stop_queue_work()
244 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus() argument
254 .data = arg, in stop_two_cpus()
261 .arg = &msdata, in stop_two_cpus()
319 void stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() argument
322 *work_buf = (struct cpu_stop_work){ .fn = fn, .arg = arg, }; in stop_one_cpu_nowait()
331 cpu_stop_fn_t fn, void *arg, in queue_stop_cpus_work() argument
341 work->arg = arg; in queue_stop_cpus_work()
357 cpu_stop_fn_t fn, void *arg) in __stop_cpus() argument
362 queue_stop_cpus_work(cpumask, fn, arg, &done); in __stop_cpus()
395 int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in stop_cpus() argument
401 ret = __stop_cpus(cpumask, fn, arg); in stop_cpus()
424 int try_stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in try_stop_cpus() argument
431 ret = __stop_cpus(cpumask, fn, arg); in try_stop_cpus()
466 void *arg = work->arg; in cpu_stopper_thread() local
473 ret = fn(arg); in cpu_stopper_thread()
482 ksym_buf), arg); in cpu_stopper_thread()