Searched refs:tmpmask (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/kernel/sched/ |
D | membarrier.c | 107 cpumask_var_t tmpmask; in membarrier_global_expedited() local 118 if (!zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) in membarrier_global_expedited() 150 __cpumask_set_cpu(cpu, tmpmask); in membarrier_global_expedited() 155 smp_call_function_many(tmpmask, ipi_mb, NULL, 1); in membarrier_global_expedited() 158 free_cpumask_var(tmpmask); in membarrier_global_expedited() 172 cpumask_var_t tmpmask; in membarrier_private_expedited() local 207 if (cpu_id < 0 && !zalloc_cpumask_var(&tmpmask, GFP_KERNEL)) in membarrier_private_expedited() 233 __cpumask_set_cpu(cpu, tmpmask); in membarrier_private_expedited() 264 smp_call_function_many(tmpmask, ipi_func, NULL, true); in membarrier_private_expedited() 267 on_each_cpu_mask(tmpmask, ipi_func, NULL, true); in membarrier_private_expedited() [all …]
|
/Linux-v5.10/kernel/time/ |
D | tick-broadcast.c | 30 static cpumask_var_t tmpmask __cpumask_var_read_mostly; 311 cpumask_and(tmpmask, cpu_online_mask, tick_broadcast_mask); in tick_do_periodic_broadcast() 312 return tick_do_broadcast(tmpmask); in tick_do_periodic_broadcast() 614 cpumask_clear(tmpmask); in tick_handle_oneshot_broadcast() 628 cpumask_set_cpu(cpu, tmpmask); in tick_handle_oneshot_broadcast() 648 cpumask_or(tmpmask, tmpmask, tick_broadcast_force_mask); in tick_handle_oneshot_broadcast() 655 if (WARN_ON_ONCE(!cpumask_subset(tmpmask, cpu_online_mask))) in tick_handle_oneshot_broadcast() 656 cpumask_and(tmpmask, tmpmask, cpu_online_mask); in tick_handle_oneshot_broadcast() 661 bc_local = tick_do_broadcast(tmpmask); in tick_handle_oneshot_broadcast() 902 cpumask_copy(tmpmask, tick_broadcast_mask); in tick_broadcast_setup_oneshot() [all …]
|
/Linux-v5.10/arch/x86/kernel/cpu/resctrl/ |
D | rdtgroup.c | 334 cpumask_var_t tmpmask) in cpus_mon_write() argument 340 cpumask_andnot(tmpmask, newmask, &prgrp->cpu_mask); in cpus_mon_write() 341 if (cpumask_weight(tmpmask)) { in cpus_mon_write() 347 cpumask_andnot(tmpmask, &rdtgrp->cpu_mask, newmask); in cpus_mon_write() 348 if (cpumask_weight(tmpmask)) { in cpus_mon_write() 350 cpumask_or(&prgrp->cpu_mask, &prgrp->cpu_mask, tmpmask); in cpus_mon_write() 351 update_closid_rmid(tmpmask, prgrp); in cpus_mon_write() 358 cpumask_andnot(tmpmask, newmask, &rdtgrp->cpu_mask); in cpus_mon_write() 359 if (cpumask_weight(tmpmask)) { in cpus_mon_write() 365 tmpmask); in cpus_mon_write() [all …]
|
/Linux-v5.10/drivers/irqchip/ |
D | irq-gic-v3-its.c | 1568 cpumask_var_t tmpmask; in its_select_cpu() local 1571 if (!alloc_cpumask_var(&tmpmask, GFP_ATOMIC)) in its_select_cpu() 1583 cpumask_and(tmpmask, cpumask_of_node(node), aff_mask); in its_select_cpu() 1584 cpumask_and(tmpmask, tmpmask, cpu_online_mask); in its_select_cpu() 1598 cpu = cpumask_pick_least_loaded(d, tmpmask); in its_select_cpu() 1610 cpumask_and(tmpmask, aff_mask, cpu_online_mask); in its_select_cpu() 1613 if (cpumask_empty(tmpmask)) in its_select_cpu() 1614 cpumask_copy(tmpmask, cpu_online_mask); in its_select_cpu() 1616 cpu = cpumask_pick_least_loaded(d, tmpmask); in its_select_cpu() 1618 cpumask_and(tmpmask, irq_data_get_affinity_mask(d), cpu_online_mask); in its_select_cpu() [all …]
|