Home
last modified time | relevance | path

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

123

/linux-5.19.10/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-5.19.10/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()
Dmanage.c260 cpumask_and(&tmp_mask, mask, hk_mask); in irq_do_set_affinity()
274 cpumask_and(&tmp_mask, prog_mask, cpu_online_mask); in irq_do_set_affinity()
622 cpumask_and(&mask, cpu_online_mask, set); in irq_setup_affinity()
631 cpumask_and(&mask, &mask, nodemask); in irq_setup_affinity()
/linux-5.19.10/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-5.19.10/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-5.19.10/kernel/cgroup/
Dcpuset.c424 if (WARN_ON(!cpumask_and(pmask, possible_mask, cpu_online_mask))) in guarantee_online_cpus()
443 cpumask_and(pmask, pmask, cs->effective_cpus); in guarantee_online_cpus()
835 cpumask_and(doms[0], top_cpuset.effective_cpus, in generate_sched_domains()
955 cpumask_and(dp, dp, housekeeping_cpumask(HK_TYPE_DOMAIN)); in generate_sched_domains()
1154 cpumask_and(new_cpus, new_cpus, cs->cpus_allowed); in compute_effective_cpumask()
1155 cpumask_and(new_cpus, new_cpus, cpu_active_mask); in compute_effective_cpumask()
1157 cpumask_and(new_cpus, cs->cpus_allowed, parent->effective_cpus); in compute_effective_cpumask()
1258 deleting = cpumask_and(tmp->delmask, cpuset->cpus_allowed, in update_parent_subparts_cpumask()
1269 deleting = cpumask_and(tmp->delmask, tmp->delmask, in update_parent_subparts_cpumask()
1272 cpumask_and(tmp->addmask, newmask, parent->effective_cpus); in update_parent_subparts_cpumask()
[all …]
/linux-5.19.10/drivers/powercap/
Ddtpm_cpu.c51 cpumask_and(&cpus, cpu_online_mask, to_cpumask(pd->cpus)); in set_pd_power_limit()
136 cpumask_and(&cpus, cpu_online_mask, to_cpumask(em->cpus)); in update_pd_power_uw()
/linux-5.19.10/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-5.19.10/drivers/irqchip/
Dirq-sifive-plic.c124 cpumask_and(&amask, &priv->lmask, cpu_online_mask); in plic_irq_unmask()
147 cpumask_and(&amask, &priv->lmask, mask_val); in plic_set_affinity()
Dirq-bcm6345-l1.c205 if (!cpumask_and(&valid, &intc->cpumask, dest)) in bcm6345_l1_set_affinity()
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/drivers/parisc/
Dgsc.c146 if (!cpumask_and(&tmask, dest, cpu_online_mask)) in gsc_set_affinity_irq()
/linux-5.19.10/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-5.19.10/arch/powerpc/kernel/
Dsmp.c1443 cpumask_and(*mask, cpu_online_mask, cpu_cpu_mask(cpu)); in update_mask_by_l2()
1533 cpumask_and(*mask, cpu_online_mask, cpu_cpu_mask(cpu)); in update_coregroup_mask()
1596 cpumask_and(mask, mask, cpu_cpu_mask(cpu)); in add_cpu_to_masks()
/linux-5.19.10/arch/arc/kernel/
Dmcip.c275 if (!cpumask_and(&online, cpumask, cpu_online_mask)) in idu_irq_set_affinity()
/linux-5.19.10/arch/mips/lantiq/
Dirq.c248 if (!cpumask_and(&tmask, cpumask, cpu_online_mask)) in ltq_icu_irq_set_affinity()
/linux-5.19.10/arch/s390/kernel/
Dperf_cpum_cf.c945 cpumask_and(&req->mask, &req->mask, cpu_online_mask); in cfset_all_stop()
996 cpumask_and(mask, &req->mask, cpu_online_mask); in cfset_all_start()
1122 cpumask_and(mask, &req->mask, cpu_online_mask); in cfset_all_read()

123