Home
last modified time | relevance | path

Searched refs:cpumask_bits (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.6.21/include/linux/
Dcpumask.h28 #define cpumask_bits(maskp) ((maskp)->bits) macro
36 #define cpumask_pr_args(maskp) nr_cpu_ids, cpumask_bits(maskp)
162 return find_first_bit(cpumask_bits(srcp), small_cpumask_bits); in cpumask_first()
173 return find_first_zero_bit(cpumask_bits(srcp), small_cpumask_bits); in cpumask_first_zero()
186 return find_first_and_bit(cpumask_bits(srcp1), cpumask_bits(srcp2), small_cpumask_bits); in cpumask_first_and()
197 return find_last_bit(cpumask_bits(srcp), small_cpumask_bits); in cpumask_last()
213 return find_next_bit(cpumask_bits(srcp), small_cpumask_bits, n + 1); in cpumask_next()
228 return find_next_zero_bit(cpumask_bits(srcp), small_cpumask_bits, n+1); in cpumask_next_zero()
270 return find_next_and_bit(cpumask_bits(src1p), cpumask_bits(src2p), in cpumask_next_and()
282 for_each_set_bit(cpu, cpumask_bits(mask), small_cpumask_bits)
[all …]
/linux-6.6.21/lib/
Dcpumask.c178 next = find_next_and_bit_wrap(cpumask_bits(src1p), cpumask_bits(src2p), in cpumask_any_and_distribute()
193 next = find_next_bit_wrap(cpumask_bits(srcp), nr_cpumask_bits, prev + 1); in cpumask_any_distribute()
Dcpumask_kunit.c14 nr_cpumask_bits, cpumask_bits(m)
/linux-6.6.21/arch/x86/include/asm/
Dcpumask.h16 return arch_test_bit(cpu, cpumask_bits(cpu_online_mask)); in arch_cpu_online()
21 arch_clear_bit(cpumask_check(cpu), cpumask_bits(dstp)); in arch_cpumask_clear_cpu()
/linux-6.6.21/include/trace/events/
Dipi.h31 __assign_bitmask(target_cpus, cpumask_bits(mask), nr_cpumask_bits);
73 __assign_cpumask(cpumask, cpumask_bits(cpumask));
/linux-6.6.21/arch/x86/kernel/apic/
Dapic_flat_64.c42 unsigned long mask = cpumask_bits(cpumask)[0]; in flat_send_IPI_mask()
50 unsigned long mask = cpumask_bits(cpumask)[0]; in flat_send_IPI_mask_allbutself()
Dipi.c271 unsigned long mask = cpumask_bits(cpumask)[0]; in default_send_IPI_mask_logical()
278 WARN_ON(mask & ~cpumask_bits(cpu_online_mask)[0]); in default_send_IPI_mask_logical()
/linux-6.6.21/samples/trace_events/
Dtrace-events-sample.h314 __assign_bitmask(cpus, cpumask_bits(mask), num_possible_cpus());
315 __assign_cpumask(cpum, cpumask_bits(mask));
/linux-6.6.21/tools/perf/util/
Dsvghelper.c689 #define cpumask_bits(maskp) ((maskp)->bits) macro
706 if (!test_bit(cpu, cpumask_bits(&t->sib_thr[i]))) in scan_thread_topology()
709 for_each_set_bit(thr, cpumask_bits(&t->sib_thr[i]), nr_cpus) in scan_thread_topology()
722 for_each_set_bit(cpu, cpumask_bits(&t->sib_core[i]), nr_cpus) in scan_core_topology()
744 __set_bit(c.cpu, cpumask_bits(b)); in str_to_bitmap()
/linux-6.6.21/kernel/
Dcompat.c120 k = cpumask_bits(new_mask); in compat_get_user_cpu_mask()
162 if (compat_put_bitmap(user_mask_ptr, cpumask_bits(mask), retlen * 8)) in COMPAT_SYSCALL_DEFINE3()
Dpadata.c881 nr_cpu_ids, cpumask_bits(cpumask)); in show_cpumask()
897 ret = bitmap_parse(buf, count, cpumask_bits(new_cpumask), in store_cpumask()
Dwatchdog.c46 unsigned long *watchdog_cpumask_bits = cpumask_bits(&watchdog_cpumask);
Dsmp.c967 set_nr_cpu_ids(find_last_bit(cpumask_bits(cpu_possible_mask), NR_CPUS) + 1); in setup_nr_cpu_ids()
/linux-6.6.21/drivers/clocksource/
Dtimer-mediatek-cpux.c51 const unsigned long *irq_mask = cpumask_bits(cpu_possible_mask); in mtk_cpux_set_irq()
/linux-6.6.21/drivers/thermal/
Dthermal_trace.h127 __assign_bitmask(cpumask, cpumask_bits(cpus),
/linux-6.6.21/drivers/thermal/intel/
Dintel_powerclamp.c172 ret = bitmap_parse(arg, strlen(arg), cpumask_bits(new_mask), in cpumask_set()
204 return bitmap_print_to_pagebuf(false, buf, cpumask_bits(idle_injection_cpu_mask), in cpumask_get()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_trace.h94 __assign_bitmask(irq_affinity, cpumask_bits(&q->affinity_mask),
/linux-6.6.21/drivers/irqchip/
Dirq-csky-mpintc.c221 writel_relaxed((*cpumask_bits(mask)) << 8 | IPI_IRQ, in csky_mpintc_send_ipi()
/linux-6.6.21/arch/arc/kernel/
Dmcip.c278 destination_bits = cpumask_bits(&online)[0]; in idu_irq_set_affinity()
/linux-6.6.21/arch/alpha/kernel/
Dsmp.c440 smp_num_probed, cpumask_bits(cpu_present_mask)[0]); in setup_smp()
Dsetup.c1202 num_online_cpus(), cpumask_bits(cpu_possible_mask)[0]); in show_cpuinfo()
/linux-6.6.21/arch/x86/kernel/cpu/mce/
Dinject.c279 *cpumask_bits(mce_inject_cpumask)); in raise_mce()
/linux-6.6.21/kernel/time/
Dtick-broadcast.c629 return arch_test_bit(smp_processor_id(), cpumask_bits(tick_broadcast_force_mask)); in tick_check_broadcast_expired()
/linux-6.6.21/arch/powerpc/platforms/cell/
Dspu_base.c101 bitmap_fill(cpumask_bits(mm_cpumask(mm)), nr); in mm_needs_global_tlbie()
/linux-6.6.21/arch/powerpc/sysdev/
Dmpic.c837 u32 mask = cpumask_bits(cpumask)[0]; in mpic_set_affinity()
839 mask &= cpumask_bits(cpu_online_mask)[0]; in mpic_set_affinity()

12