Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/include/linux/
Dcpumask.h26 #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/
Dcpumask.c22 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/
Drtg.h32 __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());
Dipi.h31 __assign_bitmask(target_cpus, cpumask_bits(mask), nr_cpumask_bits);
Dthermal.h110 __assign_bitmask(cpumask, cpumask_bits(cpus),
139 __assign_bitmask(cpumask, cpumask_bits(cpus),
Deas_sched.h65 __assign_bitmask(lowest, cpumask_bits(lowest_mask), num_possible_cpus());
/kernel/linux/linux-5.10/arch/x86/kernel/apic/
Dapic_flat_64.c62 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()
Dipi.c292 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/
Dcpumask.h21 return arch_test_bit(cpu, cpumask_bits(cpu_online_mask)); in arch_cpu_online()
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dsbi.c223 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/
Dtlbflush.c36 sbi_remote_sfence_vma(cpumask_bits(&hmask), start, size); in __sbi_tlb_flush_range()
Dcacheflush.c73 sbi_remote_fence_i(cpumask_bits(&hartid_mask)); in flush_icache_mm()
/kernel/linux/linux-5.10/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, cpumask_bits(b)); in str_to_bitmap()
/kernel/linux/linux-5.10/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()
Dwatchdog.c49 unsigned long *watchdog_cpumask_bits = cpumask_bits(&watchdog_cpumask);
Dpadata.c881 nr_cpu_ids, cpumask_bits(cpumask)); in show_cpumask()
897 ret = bitmap_parse(buf, count, cpumask_bits(new_cpumask), in store_cpumask()
Dsmp.c801 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/
Dtrace-events-sample.h250 __assign_bitmask(cpus, cpumask_bits(mask), num_possible_cpus());
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-csky-mpintc.c221 writel_relaxed((*cpumask_bits(mask)) << 8 | IPI_IRQ, in csky_mpintc_send_ipi()
/kernel/linux/linux-5.10/arch/arc/kernel/
Dmcip.c280 destination_bits = cpumask_bits(&online)[0]; in idu_irq_set_affinity()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dsmp.c440 smp_num_probed, cpumask_bits(cpu_present_mask)[0]); in setup_smp()
Dsetup.c1218 num_online_cpus(), cpumask_bits(cpu_possible_mask)[0]); in show_cpuinfo()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/
Dinject.c262 *cpumask_bits(mce_inject_cpumask)); in raise_mce()
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
Dspu_base.c102 bitmap_fill(cpumask_bits(mm_cpumask(mm)), nr); in mm_needs_global_tlbie()
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
Dmpic.c835 u32 mask = cpumask_bits(cpumask)[0]; in mpic_set_affinity()
837 mask &= cpumask_bits(cpu_online_mask)[0]; in mpic_set_affinity()

12