Lines Matching refs:cpus

22 			    const struct cpumask *cpus)  in hwprobe_arch_id()  argument
28 for_each_cpu(cpu, cpus) { in hwprobe_arch_id()
62 const struct cpumask *cpus) in hwprobe_isa_ext0() argument
81 for_each_cpu(cpu, cpus) { in hwprobe_isa_ext0()
163 static bool hwprobe_ext0_has(const struct cpumask *cpus, unsigned long ext) in hwprobe_ext0_has() argument
167 hwprobe_isa_ext0(&pair, cpus); in hwprobe_ext0_has()
172 static u64 hwprobe_misaligned(const struct cpumask *cpus) in hwprobe_misaligned() argument
177 for_each_cpu(cpu, cpus) { in hwprobe_misaligned()
195 static u64 hwprobe_misaligned(const struct cpumask *cpus) in hwprobe_misaligned() argument
208 static u64 hwprobe_vec_misaligned(const struct cpumask *cpus) in hwprobe_vec_misaligned() argument
214 for_each_cpu(cpu, cpus) { in hwprobe_vec_misaligned()
232 static u64 hwprobe_vec_misaligned(const struct cpumask *cpus) in hwprobe_vec_misaligned() argument
245 const struct cpumask *cpus) in hwprobe_one_pair() argument
251 hwprobe_arch_id(pair, cpus); in hwprobe_one_pair()
264 hwprobe_isa_ext0(pair, cpus); in hwprobe_one_pair()
269 pair->value = hwprobe_misaligned(cpus); in hwprobe_one_pair()
273 pair->value = hwprobe_vec_misaligned(cpus); in hwprobe_one_pair()
278 if (hwprobe_ext0_has(cpus, RISCV_HWPROBE_EXT_ZICBOZ)) in hwprobe_one_pair()
308 cpumask_t cpus; in hwprobe_get_values() local
319 cpumask_clear(&cpus); in hwprobe_get_values()
321 cpumask_copy(&cpus, cpu_online_mask); in hwprobe_get_values()
326 ret = copy_from_user(&cpus, cpus_user, cpusetsize); in hwprobe_get_values()
334 cpumask_and(&cpus, &cpus, cpu_online_mask); in hwprobe_get_values()
335 if (cpumask_empty(&cpus)) in hwprobe_get_values()
346 hwprobe_one_pair(&pair, &cpus); in hwprobe_get_values()
363 cpumask_t cpus, one_cpu; in hwprobe_get_cpus() local
377 ret = copy_from_user(&cpus, cpus_user, cpusetsize); in hwprobe_get_cpus()
381 if (cpumask_empty(&cpus)) in hwprobe_get_cpus()
382 cpumask_copy(&cpus, cpu_online_mask); in hwprobe_get_cpus()
384 cpumask_and(&cpus, &cpus, cpu_online_mask); in hwprobe_get_cpus()
409 for_each_cpu(cpu, &cpus) { in hwprobe_get_cpus()
415 cpumask_clear_cpu(cpu, &cpus); in hwprobe_get_cpus()
422 cpumask_clear(&cpus); in hwprobe_get_cpus()
424 ret = copy_to_user(cpus_user, &cpus, cpusetsize); in hwprobe_get_cpus()
490 cpus, unsigned int, flags) in SYSCALL_DEFINE5() argument
493 cpus, flags); in SYSCALL_DEFINE5()