Lines Matching defs:func
25 smp_call_func_t func;
30 (struct __call_single_data){ .func = (_func), .info = (_info), }
50 int smp_call_function_single(int cpuid, smp_call_func_t func, void *info,
53 void on_each_cpu_cond_mask(smp_cond_func_t cond_func, smp_call_func_t func,
69 static inline void on_each_cpu(smp_call_func_t func, void *info, int wait)
71 on_each_cpu_cond_mask(NULL, func, info, wait, cpu_online_mask);
78 * @func: The function to run. This must be fast and non-blocking.
83 * If @wait is true, then returns once @func has returned.
91 smp_call_func_t func, void *info, bool wait)
93 on_each_cpu_cond_mask(NULL, func, info, wait, mask);
103 smp_call_func_t func, void *info, bool wait)
105 on_each_cpu_cond_mask(cond_func, func, info, wait, cpu_online_mask);
156 void smp_call_function(smp_call_func_t func, void *info, int wait);
158 smp_call_func_t func, void *info, bool wait);
161 smp_call_func_t func, void *info, int wait);
199 static inline void up_smp_call_function(smp_call_func_t func, void *info)
202 #define smp_call_function(func, info, wait) \
203 (up_smp_call_function(func, info))
207 #define smp_call_function_many(mask, func, info, wait) \
208 (up_smp_call_function(func, info))
212 smp_call_function_any(const struct cpumask *mask, smp_call_func_t func,
215 return smp_call_function_single(0, func, info, wait);
288 int smp_call_on_cpu(unsigned int cpu, int (*func)(void *), void *par,