Lines Matching +full:function +full:- +full:mask

1 /* SPDX-License-Identifier: GPL-2.0 */
54 void *info, bool wait, const struct cpumask *mask);
60 * Architecture-dependent code may override them.
67 * Call a function on all processors
75 * on_each_cpu_mask(): Run a function on processors specified by
77 * @mask: The set of cpus to run on (only runs on online subset).
78 * @func: The function to run. This must be fast and non-blocking.
79 * @info: An arbitrary pointer to pass to the function.
80 * @wait: If true, wait (atomically) until function has completed
85 * You must not call this function with disabled interrupts or from a
90 static inline void on_each_cpu_mask(const struct cpumask *mask, in on_each_cpu_mask() argument
93 on_each_cpu_cond_mask(NULL, func, info, wait, mask); in on_each_cpu_mask()
97 * Call a function on each processor for which the supplied function
109 * Architecture specific boot CPU setup. Defined as empty weak function in
122 * main cross-CPU interfaces, handles INIT, TLB flush, STOP, etc.
137 * callsite IP should be sufficient for root-causing IPIs sent from here.
160 * Call a function on all other processors
163 void smp_call_function_many(const struct cpumask *mask,
166 int smp_call_function_any(const struct cpumask *mask,
206 #define smp_call_function_many(mask, func, info, wait) \ argument
211 smp_call_function_any(const struct cpumask *mask, smp_call_func_t func, in smp_call_function_any() argument
237 * raw_processor_id() - get the current (unstable) CPU id
244 * smp_processor_id() - get the current (stable) CPU id
251 * - IRQs are disabled;
252 * - preemption is disabled;
253 * - the task is CPU affine.
261 * For example, x86 uses an IRQ-safe asm-volatile read for the unstable but a