Home
last modified time | relevance | path

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

123

/linux-6.1.9/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.1.9/kernel/irq/
Daffinity.c145 cpumask_and(nmsk, cpu_mask, node_to_cpumask[n]); in alloc_nodes_vectors()
273 cpumask_and(nmsk, cpu_mask, node_to_cpumask[n]); in __irq_build_affinity_masks()
299 cpumask_and(nmsk, cpu_mask, node_to_cpumask[nv->id]); in __irq_build_affinity_masks()
/linux-6.1.9/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.1.9/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.1.9/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()
918 cpumask_and(doms[0], top_cpuset.effective_cpus, in generate_sched_domains()
1038 cpumask_and(dp, dp, housekeeping_cpumask(HK_TYPE_DOMAIN)); in generate_sched_domains()
1245 cpumask_and(new_cpus, new_cpus, cs->cpus_allowed); in compute_effective_cpumask()
1246 cpumask_and(new_cpus, new_cpus, cpu_active_mask); in compute_effective_cpumask()
1248 cpumask_and(new_cpus, cs->cpus_allowed, parent->effective_cpus); in compute_effective_cpumask()
1357 cpumask_and(tmp->delmask, cs->cpus_allowed, in update_parent_subparts_cpumask()
1367 deleting = cpumask_and(tmp->delmask, cs->cpus_allowed, in update_parent_subparts_cpumask()
1384 deleting = cpumask_and(tmp->delmask, tmp->delmask, in update_parent_subparts_cpumask()
[all …]
/linux-6.1.9/drivers/powercap/
Ddtpm_cpu.c51 cpumask_and(&cpus, cpu_online_mask, to_cpumask(pd->cpus)); in set_pd_power_limit()
121 cpumask_and(&cpus, cpu_online_mask, to_cpumask(em->cpus)); in update_pd_power_uw()
/linux-6.1.9/arch/x86/kernel/apic/
Dvector.c264 cpumask_and(vector_searchmask, dest, cpu_online_mask); in assign_irq_vector()
278 cpumask_and(vector_searchmask, cpumask_of_node(node), affmsk); in assign_irq_vector_any_locked()
284 cpumask_and(vector_searchmask, affmsk, cpu_online_mask); in assign_irq_vector_any_locked()
319 cpumask_and(vector_searchmask, dest, affmsk); in assign_managed_vector()
425 cpumask_and(vector_searchmask, dest, cpu_online_mask); in activate_managed()
864 cpumask_and(vector_searchmask, dest, cpu_online_mask); in apic_set_affinity()
/linux-6.1.9/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()
585 cpumask_and(current_mask, cpu_online_mask, tr->tracing_cpumask); in start_per_cpu_kthreads()
/linux-6.1.9/drivers/irqchip/
Dirq-loongson-eiointc.c101 cpumask_and(&intersect_affinity, affinity, cpu_online_mask); in eiointc_set_irq_affinity()
102 cpumask_and(&intersect_affinity, &intersect_affinity, &priv->cpuspan_map); in eiointc_set_irq_affinity()
Dirq-bcm6345-l1.c205 if (!cpumask_and(&valid, &intc->cpumask, dest)) in bcm6345_l1_set_affinity()
/linux-6.1.9/kernel/sched/
Dcpupri.c103 cpumask_and(lowest_mask, &p->cpus_mask, vec->mask); in __cpupri_find()
Dcpudeadline.c122 cpumask_and(later_mask, cp->free_cpus, &p->cpus_mask)) { in cpudl_find()
/linux-6.1.9/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.1.9/drivers/infiniband/hw/hfi1/
Daffinity.c626 cpumask_and(&entry->def_intr.mask, &node_affinity.real_cpu_mask, in hfi1_dev_affinity_init()
677 cpumask_and(&entry->comp_vect_mask, in hfi1_dev_affinity_init()
1117 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.1.9/drivers/parisc/
Dgsc.c146 if (!cpumask_and(&tmask, dest, cpu_online_mask)) in gsc_set_affinity_irq()
/linux-6.1.9/kernel/time/
Dtick-broadcast.c392 cpumask_and(tmpmask, cpu_online_mask, tick_broadcast_mask); in tick_do_periodic_broadcast()
737 cpumask_and(tmpmask, tmpmask, cpu_online_mask); in tick_handle_oneshot_broadcast()
/linux-6.1.9/arch/powerpc/kernel/
Dsmp.c1438 cpumask_and(*mask, cpu_online_mask, cpu_cpu_mask(cpu)); in update_mask_by_l2()
1528 cpumask_and(*mask, cpu_online_mask, cpu_cpu_mask(cpu)); in update_coregroup_mask()
1591 cpumask_and(mask, mask, cpu_cpu_mask(cpu)); in add_cpu_to_masks()
/linux-6.1.9/arch/arc/kernel/
Dmcip.c275 if (!cpumask_and(&online, cpumask, cpu_online_mask)) in idu_irq_set_affinity()
/linux-6.1.9/arch/mips/lantiq/
Dirq.c248 if (!cpumask_and(&tmask, cpumask, cpu_online_mask)) in ltq_icu_irq_set_affinity()
/linux-6.1.9/arch/s390/kernel/
Dperf_cpum_cf.c946 cpumask_and(&req->mask, &req->mask, cpu_online_mask); in cfset_all_stop()
997 cpumask_and(mask, &req->mask, cpu_online_mask); in cfset_all_start()
1123 cpumask_and(mask, &req->mask, cpu_online_mask); in cfset_all_read()
/linux-6.1.9/drivers/base/
Dnode.c42 cpumask_and(mask, cpumask_of_node(node_dev->dev.id), cpu_online_mask); in cpumap_read()
63 cpumask_and(mask, cpumask_of_node(node_dev->dev.id), cpu_online_mask); in cpulist_read()

123