Home
last modified time | relevance | path

Searched refs:cpumask_first_and (Results 1 – 23 of 23) sorted by relevance

/linux-6.6.21/arch/ia64/kernel/
Dmsi_ia64.c21 int cpu = cpumask_first_and(cpu_mask, cpu_online_mask); in ia64_set_msi_irq_affinity()
122 int cpu = cpumask_first_and(mask, cpu_online_mask); in dmar_msi_set_affinity()
158 dest = cpu_physical_id(cpumask_first_and(&(irq_to_domain(irq)), in msi_compose_msg()
Diosapic.c338 cpu = cpumask_first_and(cpu_online_mask, mask); in iosapic_set_affinity()
/linux-6.6.21/include/linux/
Dcpumask.h184 unsigned int cpumask_first_and(const struct cpumask *srcp1, const struct cpumask *srcp2) in cpumask_first_and() function
241 return cpumask_first_and(src1p, src2p); in cpumask_any_and_distribute()
758 #define cpumask_any_and(mask1, mask2) cpumask_first_and((mask1), (mask2))
/linux-6.6.21/arch/mips/sibyte/sb1250/
Dirq.c78 i = cpumask_first_and(mask, cpu_online_mask); in sb1250_set_affinity()
/linux-6.6.21/kernel/bpf/
Dcpumask.c138 return cpumask_first_and(src1, src2); in bpf_cpumask_first_and()
/linux-6.6.21/arch/powerpc/platforms/powernv/
Dopal-imc.c191 cpu = cpumask_first_and(l_cpumask, cpu_online_mask); in disable_nest_pmu_counters()
/linux-6.6.21/arch/mips/sibyte/bcm1480/
Dirq.c85 i = cpumask_first_and(mask, cpu_online_mask); in bcm1480_set_affinity()
/linux-6.6.21/arch/mips/sgi-ip27/
Dip27-irq.c75 cpu = cpumask_first_and(mask, cpu_online_mask); in setup_hub_mask()
/linux-6.6.21/arch/powerpc/kernel/
Dirq.c382 cpuid = cpumask_first_and(mask, cpu_online_mask); in irq_choose_cpu()
/linux-6.6.21/drivers/iommu/
Dhyperv-iommu.c208 cpu = cpumask_first_and(affinity, cpu_online_mask); in hyperv_root_ir_compose_msi_msg()
/linux-6.6.21/kernel/
Dsmp.c732 for (cpu = cpumask_first_and(nodemask, mask); cpu < nr_cpu_ids; in smp_call_function_any()
793 cpu = cpumask_first_and(mask, cpu_online_mask); in smp_call_function_many_cond()
Dworkqueue.c1690 new_cpu = cpumask_first_and(wq_unbound_cpumask, cpu_online_mask); in wq_select_unbound_cpu()
/linux-6.6.21/arch/mips/sgi-ip30/
Dip30-irq.c183 hd->cpu = cpumask_first_and(mask, cpu_online_mask); in ip30_set_heart_irq_affinity()
/linux-6.6.21/arch/powerpc/sysdev/xics/
Dxics-common.c286 int server = cpumask_first_and(cpu_online_mask, cpumask); in xics_get_irq_server()
/linux-6.6.21/arch/x86/hyperv/
Dirqdomain.c208 cpu = cpumask_first_and(affinity, cpu_online_mask); in hv_irq_compose_msi_msg()
/linux-6.6.21/drivers/irqchip/
Dirq-bcm6345-l1.c113 return cpumask_first_and(&intc->cpumask, irq_data_get_affinity_mask(d)); in cpu_for_irq()
Dirq-mips-gic.c266 cpu = cpumask_first_and(cpumask, cpu_online_mask); in gic_set_affinity()
/linux-6.6.21/arch/parisc/kernel/
Dirq.c105 cpu_dest = cpumask_first_and(dest, cpu_online_mask); in cpu_check_affinity()
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Defx_channels.c371 if (cpumask_first_and(cpu_online_mask, numa_mask) >= nr_cpu_ids) in efx_siena_set_interrupt_affinity()
378 cpu = cpumask_first_and(cpu_online_mask, numa_mask); in efx_siena_set_interrupt_affinity()
/linux-6.6.21/drivers/net/ethernet/sfc/
Defx_channels.c370 if (cpumask_first_and(cpu_online_mask, numa_mask) >= nr_cpu_ids) in efx_set_interrupt_affinity()
377 cpu = cpumask_first_and(cpu_online_mask, numa_mask); in efx_set_interrupt_affinity()
/linux-6.6.21/arch/mips/pci/
Dpci-xtalk-bridge.c314 cpu = cpumask_first_and(mask, cpu_online_mask); in bridge_set_affinity()
/linux-6.6.21/block/
Dblk-mq.c655 cpu = cpumask_first_and(data.hctx->cpumask, cpu_online_mask); in blk_mq_alloc_request_hctx()
2188 int cpu = cpumask_first_and(hctx->cpumask, cpu_online_mask); in blk_mq_first_mapped_cpu()
3520 if (cpumask_first_and(hctx->cpumask, cpu_online_mask) != cpu) in blk_mq_last_cpu_in_hctx()
/linux-6.6.21/drivers/pci/controller/
Dpci-hyperv.c1748 return cpumask_first_and(affinity, cpu_online_mask); in hv_compose_msi_req_get_cpu()