Lines Matching refs:tmpmask
247 cpumask_var_t tmpmask; in membarrier_global_expedited() local
258 if (!zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) in membarrier_global_expedited()
289 __cpumask_set_cpu(cpu, tmpmask); in membarrier_global_expedited()
294 smp_call_function_many(tmpmask, ipi_mb, NULL, 1); in membarrier_global_expedited()
297 free_cpumask_var(tmpmask); in membarrier_global_expedited()
311 cpumask_var_t tmpmask; in membarrier_private_expedited() local
346 if (cpu_id < 0 && !zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) in membarrier_private_expedited()
372 __cpumask_set_cpu(cpu, tmpmask); in membarrier_private_expedited()
403 smp_call_function_many(tmpmask, ipi_func, NULL, true); in membarrier_private_expedited()
406 on_each_cpu_mask(tmpmask, ipi_func, NULL, true); in membarrier_private_expedited()
412 free_cpumask_var(tmpmask); in membarrier_private_expedited()
428 cpumask_var_t tmpmask; in sync_runqueues_membarrier_state() local
445 if (!zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) in sync_runqueues_membarrier_state()
470 __cpumask_set_cpu(cpu, tmpmask); in sync_runqueues_membarrier_state()
474 on_each_cpu_mask(tmpmask, ipi_sync_rq_state, mm, true); in sync_runqueues_membarrier_state()
476 free_cpumask_var(tmpmask); in sync_runqueues_membarrier_state()