/kernel/linux/linux-5.10/include/linux/ |
D | cpumask.h | 26 #define cpumask_bits(maskp) ((maskp)->bits) macro 34 #define cpumask_pr_args(maskp) nr_cpu_ids, cpumask_bits(maskp) 241 return find_first_bit(cpumask_bits(srcp), nr_cpumask_bits); in cpumask_first() 252 return find_last_bit(cpumask_bits(srcp), nr_cpumask_bits); in cpumask_last() 269 return find_next_zero_bit(cpumask_bits(srcp), nr_cpumask_bits, n+1); in cpumask_next_zero() 356 set_bit(cpumask_check(cpu), cpumask_bits(dstp)); in cpumask_set_cpu() 361 __set_bit(cpumask_check(cpu), cpumask_bits(dstp)); in __cpumask_set_cpu() 372 clear_bit(cpumask_check(cpu), cpumask_bits(dstp)); in cpumask_clear_cpu() 377 __clear_bit(cpumask_check(cpu), cpumask_bits(dstp)); in __cpumask_clear_cpu() 389 return test_bit(cpumask_check(cpu), cpumask_bits((cpumask))); in cpumask_test_cpu() [all …]
|
/kernel/linux/linux-5.10/lib/ |
D | cpumask.c | 22 return find_next_bit(cpumask_bits(srcp), nr_cpumask_bits, n + 1); in cpumask_next() 40 return find_next_and_bit(cpumask_bits(src1p), cpumask_bits(src2p), in cpumask_next_and()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | rtg.h | 32 __assign_bitmask(cpus, cpumask_bits(perferred_cpumask), num_possible_cpus()); 66 __assign_bitmask(allowed, cpumask_bits(&task->cpus_mask), num_possible_cpus()); 107 __assign_bitmask(cpus, cpumask_bits(rtg_cpus), num_possible_cpus());
|
D | ipi.h | 31 __assign_bitmask(target_cpus, cpumask_bits(mask), nr_cpumask_bits);
|
D | thermal.h | 110 __assign_bitmask(cpumask, cpumask_bits(cpus), 139 __assign_bitmask(cpumask, cpumask_bits(cpus),
|
D | eas_sched.h | 65 __assign_bitmask(lowest, cpumask_bits(lowest_mask), num_possible_cpus());
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | cpumask.h | 21 return arch_test_bit(cpu, cpumask_bits(cpu_online_mask)); in arch_cpu_online()
|
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
D | sbi.c | 223 hart_mask = cpumask_bits(&tmask); in __sbi_send_ipi_v02() 321 hart_mask = cpumask_bits(&tmask); in __sbi_rfence_v02() 556 sbi_send_ipi(cpumask_bits(&hartid_mask)); in sbi_send_cpumask_ipi()
|
/kernel/linux/linux-5.10/arch/riscv/mm/ |
D | tlbflush.c | 36 sbi_remote_sfence_vma(cpumask_bits(&hmask), start, size); in __sbi_tlb_flush_range()
|
D | cacheflush.c | 73 sbi_remote_fence_i(cpumask_bits(&hartid_mask)); in flush_icache_mm()
|
/kernel/linux/linux-5.10/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, cpumask_bits(b)); in str_to_bitmap()
|
/kernel/linux/linux-5.10/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 | 49 unsigned long *watchdog_cpumask_bits = cpumask_bits(&watchdog_cpumask);
|
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 | smp.c | 801 nr_cpu_ids = find_last_bit(cpumask_bits(cpu_possible_mask),NR_CPUS) + 1; in setup_nr_cpu_ids()
|
/kernel/linux/linux-5.10/samples/trace_events/ |
D | trace-events-sample.h | 250 __assign_bitmask(cpus, cpumask_bits(mask), num_possible_cpus());
|
/kernel/linux/linux-5.10/drivers/irqchip/ |
D | irq-csky-mpintc.c | 221 writel_relaxed((*cpumask_bits(mask)) << 8 | IPI_IRQ, in csky_mpintc_send_ipi()
|
/kernel/linux/linux-5.10/arch/arc/kernel/ |
D | mcip.c | 280 destination_bits = cpumask_bits(&online)[0]; in idu_irq_set_affinity()
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
D | smp.c | 440 smp_num_probed, cpumask_bits(cpu_present_mask)[0]); in setup_smp()
|
D | setup.c | 1218 num_online_cpus(), cpumask_bits(cpu_possible_mask)[0]); in show_cpuinfo()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/ |
D | inject.c | 262 *cpumask_bits(mce_inject_cpumask)); in raise_mce()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/ |
D | spu_base.c | 102 bitmap_fill(cpumask_bits(mm_cpumask(mm)), nr); in mm_needs_global_tlbie()
|
/kernel/linux/linux-5.10/arch/powerpc/sysdev/ |
D | mpic.c | 835 u32 mask = cpumask_bits(cpumask)[0]; in mpic_set_affinity() 837 mask &= cpumask_bits(cpu_online_mask)[0]; in mpic_set_affinity()
|