/linux-6.1.9/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) 129 return find_first_bit(cpumask_bits(srcp), nr_cpumask_bits); in cpumask_first() 140 return find_first_zero_bit(cpumask_bits(srcp), nr_cpumask_bits); in cpumask_first_zero() 153 return find_first_and_bit(cpumask_bits(srcp1), cpumask_bits(srcp2), nr_cpumask_bits); in cpumask_first_and() 164 return find_last_bit(cpumask_bits(srcp), nr_cpumask_bits); in cpumask_last() 180 return find_next_bit(cpumask_bits(srcp), nr_cpumask_bits, n + 1); in cpumask_next() 195 return find_next_zero_bit(cpumask_bits(srcp), nr_cpumask_bits, n+1); in cpumask_next_zero() 237 return find_next_and_bit(cpumask_bits(src1p), cpumask_bits(src2p), in cpumask_next_and() 249 for_each_set_bit(cpu, cpumask_bits(mask), nr_cpumask_bits) [all …]
|
/linux-6.1.9/lib/ |
D | cpumask.c | 169 next = find_next_and_bit_wrap(cpumask_bits(src1p), cpumask_bits(src2p), in cpumask_any_and_distribute() 184 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.1.9/arch/x86/include/asm/ |
D | cpumask.h | 21 return arch_test_bit(cpu, cpumask_bits(cpu_online_mask)); in arch_cpu_online() 26 arch_clear_bit(cpumask_check(cpu), cpumask_bits(dstp)); in arch_cpumask_clear_cpu()
|
/linux-6.1.9/arch/x86/kernel/apic/ |
D | apic_flat_64.c | 62 unsigned long mask = cpumask_bits(cpumask)[0]; in flat_send_IPI_mask() 70 unsigned long mask = cpumask_bits(cpumask)[0]; in flat_send_IPI_mask_allbutself()
|
D | ipi.c | 292 unsigned long mask = cpumask_bits(cpumask)[0]; in default_send_IPI_mask_logical() 299 WARN_ON(mask & ~cpumask_bits(cpu_online_mask)[0]); in default_send_IPI_mask_logical()
|
/linux-6.1.9/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.1.9/include/trace/events/ |
D | ipi.h | 31 __assign_bitmask(target_cpus, cpumask_bits(mask), nr_cpumask_bits);
|
D | thermal.h | 127 __assign_bitmask(cpumask, cpumask_bits(cpus),
|
/linux-6.1.9/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 | watchdog.c | 48 unsigned long *watchdog_cpumask_bits = cpumask_bits(&watchdog_cpumask);
|
D | padata.c | 873 nr_cpu_ids, cpumask_bits(cpumask)); in show_cpumask() 889 ret = bitmap_parse(buf, count, cpumask_bits(new_cpumask), in store_cpumask()
|
D | smp.c | 1099 set_nr_cpu_ids(find_last_bit(cpumask_bits(cpu_possible_mask), NR_CPUS) + 1); in setup_nr_cpu_ids()
|
/linux-6.1.9/samples/trace_events/ |
D | trace-events-sample.h | 301 __assign_bitmask(cpus, cpumask_bits(mask), num_possible_cpus());
|
/linux-6.1.9/drivers/irqchip/ |
D | irq-csky-mpintc.c | 221 writel_relaxed((*cpumask_bits(mask)) << 8 | IPI_IRQ, in csky_mpintc_send_ipi()
|
/linux-6.1.9/arch/arc/kernel/ |
D | mcip.c | 280 destination_bits = cpumask_bits(&online)[0]; in idu_irq_set_affinity()
|
/linux-6.1.9/drivers/clocksource/ |
D | timer-mediatek.c | 102 const unsigned long *irq_mask = cpumask_bits(cpu_possible_mask); in mtk_cpux_set_irq()
|
/linux-6.1.9/arch/alpha/kernel/ |
D | smp.c | 440 smp_num_probed, cpumask_bits(cpu_present_mask)[0]); in setup_smp()
|
D | setup.c | 1203 num_online_cpus(), cpumask_bits(cpu_possible_mask)[0]); in show_cpuinfo()
|
/linux-6.1.9/arch/x86/kernel/cpu/mce/ |
D | inject.c | 280 *cpumask_bits(mce_inject_cpumask)); in raise_mce()
|
/linux-6.1.9/arch/powerpc/platforms/cell/ |
D | spu_base.c | 101 bitmap_fill(cpumask_bits(mm_cpumask(mm)), nr); in mm_needs_global_tlbie()
|
/linux-6.1.9/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()
|
/linux-6.1.9/net/core/ |
D | net-sysfs.c | 848 err = bitmap_parse(buf, len, cpumask_bits(mask), nr_cpumask_bits); in store_rps_map() 1522 err = bitmap_parse(buf, len, cpumask_bits(mask), nr_cpumask_bits); in xps_cpus_store()
|
/linux-6.1.9/drivers/block/drbd/ |
D | drbd_main.c | 2495 cpumask_bits(new_cpu_mask), nr_cpu_ids); in set_resource_options()
|
/linux-6.1.9/io_uring/ |
D | io_uring.c | 3752 ret = compat_get_bitmap(cpumask_bits(new_mask), in io_register_iowq_aff()
|