Lines Matching refs:cpus
86 const struct cpumask *cpus) in hwprobe_arch_id() argument
92 for_each_cpu(cpu, cpus) { in hwprobe_arch_id()
126 const struct cpumask *cpus) in hwprobe_isa_ext0() argument
145 for_each_cpu(cpu, cpus) { in hwprobe_isa_ext0()
168 static u64 hwprobe_misaligned(const struct cpumask *cpus) in hwprobe_misaligned() argument
173 for_each_cpu(cpu, cpus) { in hwprobe_misaligned()
192 const struct cpumask *cpus) in hwprobe_one_pair() argument
198 hwprobe_arch_id(pair, cpus); in hwprobe_one_pair()
211 hwprobe_isa_ext0(pair, cpus); in hwprobe_one_pair()
215 pair->value = hwprobe_misaligned(cpus); in hwprobe_one_pair()
237 cpumask_t cpus; in do_riscv_hwprobe() local
248 cpumask_clear(&cpus); in do_riscv_hwprobe()
250 cpumask_copy(&cpus, cpu_online_mask); in do_riscv_hwprobe()
255 ret = copy_from_user(&cpus, cpus_user, cpu_count); in do_riscv_hwprobe()
263 cpumask_and(&cpus, &cpus, cpu_online_mask); in do_riscv_hwprobe()
264 if (cpumask_empty(&cpus)) in do_riscv_hwprobe()
275 hwprobe_one_pair(&pair, &cpus); in do_riscv_hwprobe()
333 cpus, unsigned int, flags) in SYSCALL_DEFINE5() argument
336 cpus, flags); in SYSCALL_DEFINE5()