Lines Matching refs:fn

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()
142 int (*fn)(void *); member
201 err = msdata->fn(msdata->data); in multi_cpu_stop()
244 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus() argument
253 .fn = fn, in stop_two_cpus()
260 .fn = multi_cpu_stop, 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
340 work->fn = fn; 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()
465 cpu_stop_fn_t fn = work->fn; in cpu_stopper_thread() local
473 ret = fn(arg); in cpu_stopper_thread()
481 kallsyms_lookup((unsigned long)fn, NULL, NULL, NULL, in cpu_stopper_thread()
550 int __stop_machine(int (*fn)(void *), void *data, const struct cpumask *cpus) in __stop_machine()
553 .fn = fn, in __stop_machine()
572 ret = (*fn)(data); in __stop_machine()
583 int stop_machine(int (*fn)(void *), void *data, const struct cpumask *cpus) in stop_machine()
589 ret = __stop_machine(fn, data, cpus); in stop_machine()
617 int stop_machine_from_inactive_cpu(int (*fn)(void *), void *data, in stop_machine_from_inactive_cpu()
620 struct multi_stop_data msdata = { .fn = fn, .data = data, in stop_machine_from_inactive_cpu()