Lines Matching refs:arg
114 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() argument
117 struct cpu_stop_work work = { .fn = fn, .arg = arg, .done = &done }; in stop_one_cpu()
309 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus() argument
317 .data = arg, in stop_two_cpus()
324 .arg = &msdata, in stop_two_cpus()
358 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() argument
361 *work_buf = (struct cpu_stop_work){ .fn = fn, .arg = arg, }; in stop_one_cpu_nowait()
381 int stop_one_cpu_async(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_async() argument
389 work_buf->arg = arg; in stop_one_cpu_async()
415 cpu_stop_fn_t fn, void *arg, in queue_stop_cpus_work() argument
433 work->arg = arg; in queue_stop_cpus_work()
446 cpu_stop_fn_t fn, void *arg) in __stop_cpus() argument
451 if (!queue_stop_cpus_work(cpumask, fn, arg, &done)) in __stop_cpus()
485 static int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in stop_cpus() argument
491 ret = __stop_cpus(cpumask, fn, arg); in stop_cpus()
525 void *arg = work->arg; in cpu_stopper_thread() local
531 ret = fn(arg); in cpu_stopper_thread()
539 "cpu_stop: %ps(%p) leaked preempt count\n", fn, arg); in cpu_stopper_thread()