Searched refs:cpusetsize (Results 1 – 5 of 5) sorted by relevance
| /linux/arch/riscv/kernel/vdso/ |
| A D | hwprobe.c | 12 size_t cpusetsize, unsigned long *cpus, 16 size_t cpusetsize, unsigned long *cpus, in riscv_vdso_get_values() argument 21 bool all_cpus = !cpusetsize && !cpus; in riscv_vdso_get_values() 51 size_t cpusetsize, unsigned long *cpus, in riscv_vdso_get_cpus() argument 63 if (!cpusetsize || !cpus) in riscv_vdso_get_cpus() 66 for (i = 0; i < cpusetsize; i++) { in riscv_vdso_get_cpus() 94 for (i = 0; i < cpusetsize; i++) in riscv_vdso_get_cpus() 103 size_t cpusetsize, unsigned long *cpus, 107 size_t cpusetsize, unsigned long *cpus, in __vdso_riscv_hwprobe() argument 111 return riscv_vdso_get_cpus(pairs, pair_count, cpusetsize, in __vdso_riscv_hwprobe() [all …]
|
| /linux/arch/riscv/kernel/ |
| A D | sys_hwprobe.c | 258 size_t pair_count, size_t cpusetsize, in hwprobe_get_values() argument 276 if (!cpusetsize && !cpus_user) { in hwprobe_get_values() 279 if (cpusetsize > cpumask_size()) in hwprobe_get_values() 280 cpusetsize = cpumask_size(); in hwprobe_get_values() 315 size_t pair_count, size_t cpusetsize, in hwprobe_get_cpus() argument 327 if (!cpusetsize || !cpus_user) in hwprobe_get_cpus() 330 if (cpusetsize > cpumask_size()) in hwprobe_get_cpus() 331 cpusetsize = cpumask_size(); in hwprobe_get_cpus() 333 ret = copy_from_user(&cpus, cpus_user, cpusetsize); in hwprobe_get_cpus() 380 ret = copy_to_user(cpus_user, &cpus, cpusetsize); in hwprobe_get_cpus() [all …]
|
| /linux/tools/testing/selftests/riscv/hwprobe/ |
| A D | hwprobe.h | 23 size_t cpusetsize, unsigned long *cpus, unsigned int flags);
|
| /linux/tools/perf/bench/ |
| A D | bench.h | 67 size_t cpusetsize __maybe_unused, in pthread_attr_setaffinity_np()
|
| /linux/Documentation/arch/riscv/ |
| A D | hwprobe.rst | 15 size_t cpusetsize, cpu_set_t *cpus, 23 CPU_SET(3) with size ``cpusetsize`` bytes. For value-like keys (eg. vendor, 27 Usermode can supply NULL for ``cpus`` and 0 for ``cpusetsize`` as a shortcut for 40 represented with a CPU set of size ``cpusetsize``.
|
Completed in 8 milliseconds