Searched refs:cond_func (Results 1 - 4 of 4) sorted by relevance

/linux-master/kernel/
H A Dup.c40 * Preemption is disabled here to make sure the cond_func is called under the
43 void on_each_cpu_cond_mask(smp_cond_func_t cond_func, smp_call_func_t func, argument
49 if ((!cond_func || cond_func(0, info)) && cpumask_test_cpu(0, mask)) {
H A Dsmp.c759 smp_cond_func_t cond_func)
808 if (cond_func && !cond_func(cpu, info)) {
842 if (run_local && (!cond_func || cond_func(this_cpu, info))) {
994 * the supplied function cond_func returns true, optionally waiting
997 * @cond_func: A callback function that is passed a cpu id and
1014 void on_each_cpu_cond_mask(smp_cond_func_t cond_func, smp_call_func_t func, argument
1023 smp_call_function_many_cond(mask, func, info, scf_flags, cond_func);
756 smp_call_function_many_cond(const struct cpumask *mask, smp_call_func_t func, void *info, unsigned int scf_flags, smp_cond_func_t cond_func) argument
/linux-master/include/linux/
H A Dsmp.h53 void on_each_cpu_cond_mask(smp_cond_func_t cond_func, smp_call_func_t func,
98 * cond_func returns a positive value. This may include the local
102 static inline void on_each_cpu_cond(smp_cond_func_t cond_func, argument
105 on_each_cpu_cond_mask(cond_func, func, info, wait, cpu_online_mask);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_selftest.c306 mlx5e_st_func cond_func; member in struct:mlx5e_st
332 if (st.cond_func && st.cond_func(priv))
359 if (st.cond_func && st.cond_func(priv))

Completed in 114 milliseconds