Lines Matching refs:fn

123 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg)  in stop_one_cpu()  argument
126 struct cpu_stop_work work = { .fn = fn, .arg = arg, .done = &done }; in stop_one_cpu()
155 cpu_stop_fn_t fn; member
224 err = msdata->fn(msdata->data); in multi_cpu_stop()
318 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus() argument
325 .fn = fn, in stop_two_cpus()
332 .fn = multi_cpu_stop, in stop_two_cpus()
367 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() argument
370 *work_buf = (struct cpu_stop_work){ .fn = fn, .arg = arg, }; in stop_one_cpu_nowait()
375 cpu_stop_fn_t fn, void *arg, in queue_stop_cpus_work() argument
392 work->fn = fn; in queue_stop_cpus_work()
406 cpu_stop_fn_t fn, void *arg) in __stop_cpus() argument
411 if (!queue_stop_cpus_work(cpumask, fn, arg, &done)) in __stop_cpus()
445 static int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in stop_cpus() argument
451 ret = __stop_cpus(cpumask, fn, arg); in stop_cpus()
484 cpu_stop_fn_t fn = work->fn; in cpu_stopper_thread() local
491 ret = fn(arg); in cpu_stopper_thread()
499 "cpu_stop: %ps(%p) leaked preempt count\n", fn, arg); in cpu_stopper_thread()
566 int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, in stop_machine_cpuslocked() argument
570 .fn = fn, in stop_machine_cpuslocked()
591 ret = (*fn)(data); in stop_machine_cpuslocked()
602 int stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) in stop_machine() argument
608 ret = stop_machine_cpuslocked(fn, data, cpus); in stop_machine()
636 int stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, in stop_machine_from_inactive_cpu() argument
639 struct multi_stop_data msdata = { .fn = fn, .data = data, in stop_machine_from_inactive_cpu()