/linux-6.6.21/include/linux/ |
D | cpumask.h | 28 #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/ |
D | cpumask.c | 178 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()
|
D | cpumask_kunit.c | 14 nr_cpumask_bits, cpumask_bits(m)
|
/linux-6.6.21/arch/x86/include/asm/ |
D | cpumask.h | 16 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/ |
D | ipi.h | 31 __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/ |
D | apic_flat_64.c | 42 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()
|
D | ipi.c | 271 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/ |
D | trace-events-sample.h | 314 __assign_bitmask(cpus, cpumask_bits(mask), num_possible_cpus()); 315 __assign_cpumask(cpum, cpumask_bits(mask));
|
/linux-6.6.21/tools/perf/util/ |
D | svghelper.c | 689 #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/ |
D | compat.c | 120 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()
|
D | padata.c | 881 nr_cpu_ids, cpumask_bits(cpumask)); in show_cpumask() 897 ret = bitmap_parse(buf, count, cpumask_bits(new_cpumask), in store_cpumask()
|
D | watchdog.c | 46 unsigned long *watchdog_cpumask_bits = cpumask_bits(&watchdog_cpumask);
|
D | smp.c | 967 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/ |
D | timer-mediatek-cpux.c | 51 const unsigned long *irq_mask = cpumask_bits(cpu_possible_mask); in mtk_cpux_set_irq()
|
/linux-6.6.21/drivers/thermal/ |
D | thermal_trace.h | 127 __assign_bitmask(cpumask, cpumask_bits(cpus),
|
/linux-6.6.21/drivers/thermal/intel/ |
D | intel_powerclamp.c | 172 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/ |
D | i40e_trace.h | 94 __assign_bitmask(irq_affinity, cpumask_bits(&q->affinity_mask),
|
/linux-6.6.21/drivers/irqchip/ |
D | irq-csky-mpintc.c | 221 writel_relaxed((*cpumask_bits(mask)) << 8 | IPI_IRQ, in csky_mpintc_send_ipi()
|
/linux-6.6.21/arch/arc/kernel/ |
D | mcip.c | 278 destination_bits = cpumask_bits(&online)[0]; in idu_irq_set_affinity()
|
/linux-6.6.21/arch/alpha/kernel/ |
D | smp.c | 440 smp_num_probed, cpumask_bits(cpu_present_mask)[0]); in setup_smp()
|
D | setup.c | 1202 num_online_cpus(), cpumask_bits(cpu_possible_mask)[0]); in show_cpuinfo()
|
/linux-6.6.21/arch/x86/kernel/cpu/mce/ |
D | inject.c | 279 *cpumask_bits(mce_inject_cpumask)); in raise_mce()
|
/linux-6.6.21/kernel/time/ |
D | tick-broadcast.c | 629 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/ |
D | spu_base.c | 101 bitmap_fill(cpumask_bits(mm_cpumask(mm)), nr); in mm_needs_global_tlbie()
|
/linux-6.6.21/arch/powerpc/sysdev/ |
D | mpic.c | 837 u32 mask = cpumask_bits(cpumask)[0]; in mpic_set_affinity() 839 mask &= cpumask_bits(cpu_online_mask)[0]; in mpic_set_affinity()
|