Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/kernel/cgroup/
Dcpuset.c401 cpumask_and(pmask, cs->effective_cpus, cpu_online_mask); in guarantee_online_cpus()
777 cpumask_and(doms[0], top_cpuset.effective_cpus, in generate_sched_domains()
897 cpumask_and(dp, dp, housekeeping_cpumask(HK_FLAG_DOMAIN)); in generate_sched_domains()
1096 cpumask_and(new_cpus, new_cpus, cs->cpus_requested); in compute_effective_cpumask()
1097 cpumask_and(new_cpus, new_cpus, cpu_active_mask); in compute_effective_cpumask()
1099 cpumask_and(new_cpus, cs->cpus_requested, in compute_effective_cpumask()
1203 deleting = cpumask_and(tmp->delmask, cpuset->cpus_allowed, in update_parent_subparts_cpumask()
1214 deleting = cpumask_and(tmp->delmask, tmp->delmask, in update_parent_subparts_cpumask()
1217 cpumask_and(tmp->addmask, newmask, parent->effective_cpus); in update_parent_subparts_cpumask()
1232 if (!cpumask_and(tmp->addmask, tmp->delmask, in update_parent_subparts_cpumask()
[all …]
/kernel/linux/linux-5.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()
808 cpumask_and(vector_searchmask, dest, cpu_online_mask); in apic_set_affinity()
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-sifive-plic.c120 cpumask_and(&amask, &priv->lmask, cpu_online_mask); in plic_irq_unmask()
143 cpumask_and(&amask, &priv->lmask, mask_val); in plic_set_affinity()
Dirq-bcm6345-l1.c209 if (!cpumask_and(&valid, &intc->cpumask, dest)) in bcm6345_l1_set_affinity()
/kernel/linux/linux-5.10/kernel/irq/
Daffinity.c145 cpumask_and(nmsk, cpu_mask, node_to_cpumask[n]); in alloc_nodes_vectors()
298 cpumask_and(nmsk, cpu_mask, node_to_cpumask[nv->id]); in __irq_build_affinity_masks()
Dcpuhotplug.c150 cpumask_and(&available_cpus, &available_cpus, in migrate_one_irq()
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_hwlat.c300 cpumask_and(current_mask, cpu_online_mask, tr->tracing_cpumask); in move_to_next_cpu()
376 cpumask_and(current_mask, cpu_online_mask, tr->tracing_cpumask); in start_kthread()
/kernel/linux/linux-5.10/kernel/sched/
Dcpupri.c80 cpumask_and(lowest_mask, p->cpus_ptr, vec->mask); in __cpupri_find()
Dcpudeadline.c123 cpumask_and(later_mask, cp->free_cpus, p->cpus_ptr)) { in cpudl_find()
Dtopology.c1456 cpumask_and(sched_domain_span(sd), cpu_map, tl->mask(cpu)); in sd_init()
2232 cpumask_and(doms_cur[0], cpu_map, housekeeping_cpumask(HK_FLAG_DOMAIN)); in sched_init_domains()
2321 cpumask_and(doms_new[0], cpu_active_mask, in partition_sched_domains_locked()
2356 cpumask_and(doms_new[0], cpu_active_mask, in partition_sched_domains_locked()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dtopology.c91 cpumask_and(&mask, &mask, cpu_online_mask); in cpu_group_map()
107 cpumask_and(&mask, &mask, cpu_online_mask); in cpu_thread_map()
/kernel/linux/linux-5.10/kernel/time/
Dtick-broadcast.c311 cpumask_and(tmpmask, cpu_online_mask, tick_broadcast_mask); in tick_do_periodic_broadcast()
656 cpumask_and(tmpmask, tmpmask, cpu_online_mask); in tick_handle_oneshot_broadcast()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsmp.c1307 cpumask_and(*mask, cpu_online_mask, cpu_cpu_mask(cpu)); in update_mask_by_l2()
1397 cpumask_and(*mask, cpu_online_mask, cpu_cpu_mask(cpu)); in update_coregroup_mask()
1457 cpumask_and(mask, mask, cpu_cpu_mask(cpu)); in add_cpu_to_masks()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Daffinity.c666 cpumask_and(&entry->def_intr.mask, &node_affinity.real_cpu_mask, in hfi1_dev_affinity_init()
717 cpumask_and(&entry->comp_vect_mask, in hfi1_dev_affinity_init()
1157 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()
/kernel/linux/linux-5.10/arch/arc/kernel/
Dmcip.c275 if (!cpumask_and(&online, cpumask, cpu_online_mask)) in idu_irq_set_affinity()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dkernel.patch257 + if (WARN_ON(!cpumask_and(pmask, possible_mask, cpu_active_mask)))
276 - cpumask_and(pmask, cs->effective_cpus, cpu_online_mask);
277 + cpumask_and(pmask, pmask, cs->effective_cpus);
344 cpumask_and(new_cpus, new_cpus, cs->cpus_requested);
345 cpumask_and(new_cpus, new_cpus, cpu_active_mask);
347 - cpumask_and(new_cpus, cs->cpus_requested,
349 + cpumask_and(new_cpus, cs->cpus_requested, parent_cs(cs)->effective_cpus);
/kernel/linux/linux-5.10/arch/mips/lantiq/
Dirq.c247 if (!cpumask_and(&tmask, cpumask, cpu_online_mask)) in ltq_icu_irq_set_affinity()
/kernel/linux/linux-5.10/kernel/
Dwatchdog.c644 cpumask_and(&watchdog_cpumask, &watchdog_cpumask, cpu_possible_mask); in proc_watchdog_update()

123