Lines Matching refs:mask
345 int smp_call_function_any(const struct cpumask *mask, in smp_call_function_any() argument
354 if (cpumask_test_cpu(cpu, mask)) in smp_call_function_any()
359 for (cpu = cpumask_first_and(nodemask, mask); cpu < nr_cpu_ids; in smp_call_function_any()
360 cpu = cpumask_next_and(cpu, nodemask, mask)) { in smp_call_function_any()
366 cpu = cpumask_any_and(mask, cpu_online_mask); in smp_call_function_any()
388 void smp_call_function_many(const struct cpumask *mask, in smp_call_function_many() argument
404 cpu = cpumask_first_and(mask, cpu_online_mask); in smp_call_function_many()
406 cpu = cpumask_next_and(cpu, mask, cpu_online_mask); in smp_call_function_many()
413 next_cpu = cpumask_next_and(cpu, mask, cpu_online_mask); in smp_call_function_many()
415 next_cpu = cpumask_next_and(next_cpu, mask, cpu_online_mask); in smp_call_function_many()
425 cpumask_and(cfd->cpumask, mask, cpu_online_mask); in smp_call_function_many()
604 void on_each_cpu_mask(const struct cpumask *mask, smp_call_func_t func, in on_each_cpu_mask() argument
609 smp_call_function_many(mask, func, info, wait); in on_each_cpu_mask()
610 if (cpumask_test_cpu(cpu, mask)) { in on_each_cpu_mask()