• Home
  • Raw
  • Download

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()
172 cpu_stop_fn_t fn; member
241 err = msdata->fn(msdata->data); in multi_cpu_stop()
335 int stop_two_cpus(unsigned int cpu1, unsigned int cpu2, cpu_stop_fn_t fn, void *arg) in stop_two_cpus() argument
342 .fn = fn, in stop_two_cpus()
349 .fn = multi_cpu_stop, in stop_two_cpus()
385 bool stop_one_cpu_nowait(unsigned int cpu, cpu_stop_fn_t fn, void *arg, in stop_one_cpu_nowait() argument
388 *work_buf = (struct cpu_stop_work){ .fn = fn, .arg = arg, .caller = _RET_IP_, }; in stop_one_cpu_nowait()
394 cpu_stop_fn_t fn, void *arg, in queue_stop_cpus_work() argument
411 work->fn = fn; in queue_stop_cpus_work()
426 cpu_stop_fn_t fn, void *arg) in __stop_cpus() argument
431 if (!queue_stop_cpus_work(cpumask, fn, arg, &done)) in __stop_cpus()
465 static int stop_cpus(const struct cpumask *cpumask, cpu_stop_fn_t fn, void *arg) in stop_cpus() argument
471 ret = __stop_cpus(cpumask, fn, arg); in stop_cpus()
504 cpu_stop_fn_t fn = work->fn; in cpu_stopper_thread() local
511 stopper->fn = fn; in cpu_stopper_thread()
513 ret = fn(arg); in cpu_stopper_thread()
520 stopper->fn = NULL; in cpu_stopper_thread()
523 "cpu_stop: %ps(%p) leaked preempt count\n", fn, arg); in cpu_stopper_thread()
588 int stop_machine_cpuslocked(cpu_stop_fn_t fn, void *data, in stop_machine_cpuslocked() argument
592 .fn = fn, in stop_machine_cpuslocked()
613 ret = (*fn)(data); in stop_machine_cpuslocked()
624 int stop_machine(cpu_stop_fn_t fn, void *data, const struct cpumask *cpus) in stop_machine() argument
630 ret = stop_machine_cpuslocked(fn, data, cpus); in stop_machine()
637 int stop_core_cpuslocked(unsigned int cpu, cpu_stop_fn_t fn, void *data) in stop_core_cpuslocked() argument
642 .fn = fn, in stop_core_cpuslocked()
679 int stop_machine_from_inactive_cpu(cpu_stop_fn_t fn, void *data, in stop_machine_from_inactive_cpu() argument
682 struct multi_stop_data msdata = { .fn = fn, .data = data, in stop_machine_from_inactive_cpu()