Home
last modified time | relevance | path

Searched refs:cpumask_and (Results 1 – 25 of 72) sorted by relevance

123

/linux-6.6.21/lib/
Dgroup_cpus.c147 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/
Dcpupri.c103 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()
Dcpudeadline.c122 cpumask_and(later_mask, cp->free_cpus, &p->cpus_mask)) { in cpudl_find()
/linux-6.6.21/arch/mips/kernel/
Dmips-mt-fpaff.c122 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/
Dcpuset.c507 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/
Dcoupled.c445 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/
Dirq_ia64.c106 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()
Dtopology.c207 cpumask_and(&shared_cpu_map, in show_shared_cpu_map()
/linux-6.6.21/drivers/powercap/
Ddtpm_cpu.c50 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/
Dvector.c275 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/
Dtrace_hwlat.c329 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/
Dirq-loongson-eiointc.c100 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()
Dirq-bcm6345-l1.c199 if (!cpumask_and(&valid, &intc->cpumask, dest)) in bcm6345_l1_set_affinity()
/linux-6.6.21/arch/sparc/kernel/
Dsun4m_smp.c195 cpumask_and(&mask, cpu_online_mask, &mask); in sun4m_cross_call()
Dsun4d_smp.c319 cpumask_and(&mask, cpu_online_mask, &mask); in sun4d_cross_call()
Dleon_smp.c407 cpumask_and(&mask, cpu_online_mask, &mask); in leon_cross_call()
/linux-6.6.21/drivers/parisc/
Dgsc.c146 if (!cpumask_and(&tmask, dest, cpu_online_mask)) in gsc_set_affinity_irq()
/linux-6.6.21/arch/riscv/kernel/
Dsys_riscv.c263 cpumask_and(&cpus, &cpus, cpu_online_mask); in do_riscv_hwprobe()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Daffinity.c624 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()
Dnetdev_rx.c176 cpumask_and(node_cpu_mask, cpu_mask, cpumask_of_node(dd->node)); in hfi1_num_netdev_contexts()
/linux-6.6.21/kernel/bpf/
Dcpumask.c253 return cpumask_and((struct cpumask *)dst, src1, src2); in bpf_cpumask_and()
/linux-6.6.21/kernel/time/
Dtick-broadcast.c393 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/
Dmcip.c273 if (!cpumask_and(&online, cpumask, cpu_online_mask)) in idu_irq_set_affinity()
/linux-6.6.21/arch/powerpc/kernel/
Dsmp.c1447 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/
Dirq.c248 if (!cpumask_and(&tmask, cpumask, cpu_online_mask)) in ltq_icu_irq_set_affinity()

123