Lines Matching refs:mask
369 int smp_call_function_any(const struct cpumask *mask, in smp_call_function_any() argument
378 if (cpumask_test_cpu(cpu, mask)) in smp_call_function_any()
383 for (cpu = cpumask_first_and(nodemask, mask); cpu < nr_cpu_ids; in smp_call_function_any()
384 cpu = cpumask_next_and(cpu, nodemask, mask)) { in smp_call_function_any()
390 cpu = cpumask_any_and(mask, cpu_online_mask); in smp_call_function_any()
412 void smp_call_function_many(const struct cpumask *mask, in smp_call_function_many() argument
436 cpu = cpumask_first_and(mask, cpu_online_mask); in smp_call_function_many()
438 cpu = cpumask_next_and(cpu, mask, cpu_online_mask); in smp_call_function_many()
445 next_cpu = cpumask_next_and(cpu, mask, cpu_online_mask); in smp_call_function_many()
447 next_cpu = cpumask_next_and(next_cpu, mask, cpu_online_mask); in smp_call_function_many()
457 cpumask_and(cfd->cpumask, mask, cpu_online_mask); in smp_call_function_many()
640 void on_each_cpu_mask(const struct cpumask *mask, smp_call_func_t func, in on_each_cpu_mask() argument
645 smp_call_function_many(mask, func, info, wait); in on_each_cpu_mask()
646 if (cpumask_test_cpu(cpu, mask)) { in on_each_cpu_mask()
685 gfp_t gfp_flags, const struct cpumask *mask) in on_each_cpu_cond_mask() argument
694 for_each_cpu(cpu, mask) in on_each_cpu_cond_mask()
706 for_each_cpu(cpu, mask) in on_each_cpu_cond_mask()