Lines Matching refs:fn

46 	cpu_stop_fn_t		fn;  member
63 printk("%sStopper: %pS <- %pS\n", log_lvl, stopper->fn, (void *)stopper->caller); in print_stop_info()
139 int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, void *arg) in stop_one_cpu() argument
142 struct cpu_stop_work work = { .fn = fn, .arg = arg, .done = &done, .caller = _RET_IP_ }; in stop_one_cpu()
171 cpu_stop_fn_t fn; member
240 err = msdata->fn(msdata->data); in multi_cpu_stop()
334 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus() argument
341 .fn = fn, in stop_two_cpus()
348 .fn = multi_cpu_stop, in stop_two_cpus()
384 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() argument
387 *work_buf = (struct cpu_stop_work){ .fn = fn, .arg = arg, .caller = _RET_IP_, }; in stop_one_cpu_nowait()
392 cpu_stop_fn_t fn, void *arg, in queue_stop_cpus_work() argument
409 work->fn = fn; in queue_stop_cpus_work()
424 cpu_stop_fn_t fn, void *arg) in __stop_cpus() argument
429 if (!queue_stop_cpus_work(cpumask, fn, arg, &done)) in __stop_cpus()
463 static int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in stop_cpus() argument
469 ret = __stop_cpus(cpumask, fn, arg); in stop_cpus()
502 cpu_stop_fn_t fn = work->fn; in cpu_stopper_thread() local
509 stopper->fn = fn; in cpu_stopper_thread()
511 ret = fn(arg); in cpu_stopper_thread()
518 stopper->fn = NULL; in cpu_stopper_thread()
521 "cpu_stop: %ps(%p) leaked preempt count\n", fn, arg); in cpu_stopper_thread()
586 int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, in stop_machine_cpuslocked() argument
590 .fn = fn, in stop_machine_cpuslocked()
611 ret = (*fn)(data); in stop_machine_cpuslocked()
622 int stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) in stop_machine() argument
628 ret = stop_machine_cpuslocked(fn, data, cpus); in stop_machine()
635 int stop_core_cpuslocked(unsigned int cpu, cpu_stop_fn_t fn, void *data) in stop_core_cpuslocked() argument
640 .fn = fn, in stop_core_cpuslocked()
677 int stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, in stop_machine_from_inactive_cpu() argument
680 struct multi_stop_data msdata = { .fn = fn, .data = data, in stop_machine_from_inactive_cpu()