/linux-6.6.21/lib/ |
D | group_cpus.c | 147 cpumask_and(nmsk, cpu_mask, node_to_cpumask[n]); in alloc_nodes_groups() 272 cpumask_and(nmsk, cpu_mask, node_to_cpumask[n]); in __group_cpus_evenly() 297 cpumask_and(nmsk, cpu_mask, node_to_cpumask[nv->id]); in __group_cpus_evenly()
|
/linux-6.6.21/kernel/sched/ |
D | cpupri.c | 103 cpumask_and(lowest_mask, &p->cpus_mask, vec->mask); in __cpupri_find() 104 cpumask_and(lowest_mask, lowest_mask, cpu_active_mask); in __cpupri_find()
|
D | cpudeadline.c | 122 cpumask_and(later_mask, cp->free_cpus, &p->cpus_mask)) { in cpudl_find()
|
/linux-6.6.21/arch/mips/kernel/ |
D | mips-mt-fpaff.c | 122 cpumask_and(effective_mask, new_mask, &mt_fpu_cpumask); in mipsmt_sys_sched_setaffinity() 181 cpumask_and(&mask, &allowed, cpu_active_mask); in mipsmt_sys_sched_getaffinity()
|
/linux-6.6.21/kernel/cgroup/ |
D | cpuset.c | 507 if (WARN_ON(!cpumask_and(pmask, possible_mask, cpu_online_mask))) in guarantee_online_cpus() 526 cpumask_and(pmask, pmask, cs->effective_cpus); in guarantee_online_cpus() 922 cpumask_and(doms[0], top_cpuset.effective_cpus, in generate_sched_domains() 1042 cpumask_and(dp, dp, housekeeping_cpumask(HK_TYPE_DOMAIN)); in generate_sched_domains() 1237 cpumask_and(new_cpus, possible_mask, cs->effective_cpus); in update_tasks_cpumask() 1261 cpumask_and(new_cpus, new_cpus, cs->cpus_allowed); in compute_effective_cpumask() 1262 cpumask_and(new_cpus, new_cpus, cpu_active_mask); in compute_effective_cpumask() 1264 cpumask_and(new_cpus, cs->cpus_allowed, parent->effective_cpus); in compute_effective_cpumask() 1428 cpumask_and(tmp->delmask, cs->cpus_allowed, in update_parent_subparts_cpumask() 1438 deleting = cpumask_and(tmp->delmask, cs->cpus_allowed, in update_parent_subparts_cpumask() [all …]
|
/linux-6.6.21/drivers/cpuidle/ |
D | coupled.c | 445 cpumask_and(&cpus, cpu_online_mask, &coupled->coupled_cpus); in cpuidle_coupled_any_pokes_pending() 446 ret = cpumask_and(&cpus, &cpuidle_coupled_poke_pending, &cpus); in cpuidle_coupled_any_pokes_pending() 630 cpumask_and(&cpus, cpu_online_mask, &coupled->coupled_cpus); in cpuidle_coupled_update_online_cpus()
|
/linux-6.6.21/arch/ia64/kernel/ |
D | irq_ia64.c | 106 cpumask_and(&mask, &domain, cpu_online_mask); in find_unassigned_vector() 112 cpumask_and(&mask, &domain, &vector_table[vector]); in find_unassigned_vector() 129 cpumask_and(&mask, &domain, cpu_online_mask); in __bind_irq_vector() 308 cpumask_and(&cleanup_mask, &cfg->old_domain, cpu_online_mask); in irq_complete_move()
|
D | topology.c | 207 cpumask_and(&shared_cpu_map, in show_shared_cpu_map()
|
/linux-6.6.21/drivers/powercap/ |
D | dtpm_cpu.c | 50 cpumask_and(&cpus, cpu_online_mask, to_cpumask(pd->cpus)); in set_pd_power_limit() 119 cpumask_and(&cpus, cpu_online_mask, to_cpumask(em->cpus)); in update_pd_power_uw()
|
/linux-6.6.21/arch/x86/kernel/apic/ |
D | vector.c | 275 cpumask_and(vector_searchmask, dest, cpu_online_mask); in assign_irq_vector() 289 cpumask_and(vector_searchmask, cpumask_of_node(node), affmsk); in assign_irq_vector_any_locked() 295 cpumask_and(vector_searchmask, affmsk, cpu_online_mask); in assign_irq_vector_any_locked() 330 cpumask_and(vector_searchmask, dest, affmsk); in assign_managed_vector() 436 cpumask_and(vector_searchmask, dest, cpu_online_mask); in activate_managed() 882 cpumask_and(vector_searchmask, dest, cpu_online_mask); in apic_set_affinity()
|
/linux-6.6.21/kernel/trace/ |
D | trace_hwlat.c | 329 cpumask_and(current_mask, cpu_online_mask, tr->tracing_cpumask); in move_to_next_cpu() 440 cpumask_and(current_mask, cpu_online_mask, tr->tracing_cpumask); in start_single_kthread() 589 cpumask_and(current_mask, cpu_online_mask, tr->tracing_cpumask); in start_per_cpu_kthreads()
|
/linux-6.6.21/drivers/irqchip/ |
D | irq-loongson-eiointc.c | 100 cpumask_and(&intersect_affinity, affinity, cpu_online_mask); in eiointc_set_irq_affinity() 101 cpumask_and(&intersect_affinity, &intersect_affinity, &priv->cpuspan_map); in eiointc_set_irq_affinity()
|
D | irq-bcm6345-l1.c | 199 if (!cpumask_and(&valid, &intc->cpumask, dest)) in bcm6345_l1_set_affinity()
|
/linux-6.6.21/arch/sparc/kernel/ |
D | sun4m_smp.c | 195 cpumask_and(&mask, cpu_online_mask, &mask); in sun4m_cross_call()
|
D | sun4d_smp.c | 319 cpumask_and(&mask, cpu_online_mask, &mask); in sun4d_cross_call()
|
D | leon_smp.c | 407 cpumask_and(&mask, cpu_online_mask, &mask); in leon_cross_call()
|
/linux-6.6.21/drivers/parisc/ |
D | gsc.c | 146 if (!cpumask_and(&tmask, dest, cpu_online_mask)) in gsc_set_affinity_irq()
|
/linux-6.6.21/arch/riscv/kernel/ |
D | sys_riscv.c | 263 cpumask_and(&cpus, &cpus, cpu_online_mask); in do_riscv_hwprobe()
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | affinity.c | 624 cpumask_and(&entry->def_intr.mask, &node_affinity.real_cpu_mask, in hfi1_dev_affinity_init() 675 cpumask_and(&entry->comp_vect_mask, in hfi1_dev_affinity_init() 1115 cpumask_and(available_mask, hw_thread_mask, node_mask); in hfi1_get_proc_affinity()
|
D | netdev_rx.c | 176 cpumask_and(node_cpu_mask, cpu_mask, cpumask_of_node(dd->node)); in hfi1_num_netdev_contexts()
|
/linux-6.6.21/kernel/bpf/ |
D | cpumask.c | 253 return cpumask_and((struct cpumask *)dst, src1, src2); in bpf_cpumask_and()
|
/linux-6.6.21/kernel/time/ |
D | tick-broadcast.c | 393 cpumask_and(tmpmask, cpu_online_mask, tick_broadcast_mask); in tick_do_periodic_broadcast() 742 cpumask_and(tmpmask, tmpmask, cpu_online_mask); in tick_handle_oneshot_broadcast()
|
/linux-6.6.21/arch/arc/kernel/ |
D | mcip.c | 273 if (!cpumask_and(&online, cpumask, cpu_online_mask)) in idu_irq_set_affinity()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | smp.c | 1447 cpumask_and(*mask, cpu_online_mask, cpu_cpu_mask(cpu)); in update_mask_by_l2() 1537 cpumask_and(*mask, cpu_online_mask, cpu_cpu_mask(cpu)); in update_coregroup_mask() 1600 cpumask_and(mask, mask, cpu_cpu_mask(cpu)); in add_cpu_to_masks()
|
/linux-6.6.21/arch/mips/lantiq/ |
D | irq.c | 248 if (!cpumask_and(&tmask, cpumask, cpu_online_mask)) in ltq_icu_irq_set_affinity()
|