Home
last modified time | relevance | path

Searched refs:pair_count (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/arch/riscv/kernel/vdso/
Dhwprobe.c11 extern int riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
15 static int riscv_vdso_get_values(struct riscv_hwprobe *pairs, size_t pair_count, in riscv_vdso_get_values() argument
23 struct riscv_hwprobe *end = pairs + pair_count; in riscv_vdso_get_values()
32 return riscv_hwprobe(pairs, pair_count, cpusetsize, cpus, flags); in riscv_vdso_get_values()
50 static int riscv_vdso_get_cpus(struct riscv_hwprobe *pairs, size_t pair_count, in riscv_vdso_get_cpus() argument
57 struct riscv_hwprobe *end = pairs + pair_count; in riscv_vdso_get_cpus()
74 return riscv_hwprobe(pairs, pair_count, cpusetsize, cpus, flags); in riscv_vdso_get_cpus()
102 int __vdso_riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
106 int __vdso_riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count, in __vdso_riscv_hwprobe() argument
111 return riscv_vdso_get_cpus(pairs, pair_count, cpusetsize, in __vdso_riscv_hwprobe()
[all …]
/linux-6.12.1/arch/riscv/kernel/
Dsys_hwprobe.c258 size_t pair_count, size_t cpusetsize, in hwprobe_get_values() argument
295 for (out = 0; out < pair_count; out++, pairs++) { in hwprobe_get_values()
315 size_t pair_count, size_t cpusetsize, in hwprobe_get_cpus() argument
344 for (i = 0; i < pair_count; i++) { in hwprobe_get_cpus()
388 size_t pair_count, size_t cpusetsize, in do_riscv_hwprobe() argument
393 return hwprobe_get_cpus(pairs, pair_count, cpusetsize, in do_riscv_hwprobe()
396 return hwprobe_get_values(pairs, pair_count, cpusetsize, in do_riscv_hwprobe()
445 size_t, pair_count, size_t, cpusetsize, unsigned long __user *, in SYSCALL_DEFINE5() argument
448 return do_riscv_hwprobe(pairs, pair_count, cpusetsize, in SYSCALL_DEFINE5()
/linux-6.12.1/tools/testing/selftests/riscv/hwprobe/
Dhwprobe.h22 long riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
/linux-6.12.1/Documentation/arch/riscv/
Dhwprobe.rst14 long sys_riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
/linux-6.12.1/drivers/net/
Dvirtio_net.c4763 u32 pair_count; in virtnet_get_sset_count() local
4769 pair_count = ctx.desc_num[VIRTNET_Q_TYPE_RX] + ctx.desc_num[VIRTNET_Q_TYPE_TX]; in virtnet_get_sset_count()
4771 return pair_count + ctx.desc_num[VIRTNET_Q_TYPE_CQ] + in virtnet_get_sset_count()
4772 vi->curr_queue_pairs * pair_count; in virtnet_get_sset_count()