Home
last modified time | relevance | path

Searched refs:tmpmask (Results 1 – 3 of 3) sorted by relevance

/kernel/sched/
Dmembarrier.c250 cpumask_var_t tmpmask; in membarrier_global_expedited() local
261 if (!zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) in membarrier_global_expedited()
293 __cpumask_set_cpu(cpu, tmpmask); in membarrier_global_expedited()
298 smp_call_function_many(tmpmask, ipi_mb, NULL, 1); in membarrier_global_expedited()
301 free_cpumask_var(tmpmask); in membarrier_global_expedited()
315 cpumask_var_t tmpmask; in membarrier_private_expedited() local
350 if (cpu_id < 0 && !zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) in membarrier_private_expedited()
377 __cpumask_set_cpu(cpu, tmpmask); in membarrier_private_expedited()
408 smp_call_function_many(tmpmask, ipi_func, NULL, true); in membarrier_private_expedited()
411 on_each_cpu_mask(tmpmask, ipi_func, NULL, true); in membarrier_private_expedited()
[all …]
/kernel/time/
Dtick-broadcast.c30 static cpumask_var_t tmpmask __cpumask_var_read_mostly;
393 cpumask_and(tmpmask, cpu_online_mask, tick_broadcast_mask); in tick_do_periodic_broadcast()
394 return tick_do_broadcast(tmpmask); in tick_do_periodic_broadcast()
696 cpumask_clear(tmpmask); in tick_handle_oneshot_broadcast()
710 cpumask_set_cpu(cpu, tmpmask); in tick_handle_oneshot_broadcast()
730 cpumask_or(tmpmask, tmpmask, tick_broadcast_force_mask); in tick_handle_oneshot_broadcast()
737 if (WARN_ON_ONCE(!cpumask_subset(tmpmask, cpu_online_mask))) in tick_handle_oneshot_broadcast()
738 cpumask_and(tmpmask, tmpmask, cpu_online_mask); in tick_handle_oneshot_broadcast()
743 bc_local = tick_do_broadcast(tmpmask); in tick_handle_oneshot_broadcast()
1075 cpumask_copy(tmpmask, tick_broadcast_mask); in tick_broadcast_setup_oneshot()
[all …]
/kernel/cgroup/
Dcpuset.c2312 struct tmpmasks tmpmask; in update_prstate() local
2326 if (alloc_cpumasks(NULL, &tmpmask)) in update_prstate()
2347 NULL, &tmpmask); in update_prstate()
2374 &tmpmask); in update_prstate()
2397 update_tasks_cpumask(parent, tmpmask.new_cpus); in update_prstate()
2400 update_sibling_cpumasks(parent, cs, &tmpmask); in update_prstate()
2419 update_cpumasks_hier(cs, &tmpmask, !new_prs); in update_prstate()
2422 free_cpumasks(NULL, &tmpmask); in update_prstate()