syscall.sh / riscv64 / futex_waitv

futex_waitv

wait for FUTEX_WAKE operation on a vector of futexes

sys_futex_waitv(struct futex_waitv *waiters, unsigned int nr_futexes, unsigned int flags, struct __kernel_timespec *timeout, clockid_t clockid)
number449 (0x1c1)
abicommon
entry pointsys_futex_waitv
sinceLinux 5.16
man pagefutex_waitv(2)
sourceelixir.bootlin.com

Registers

registervalue
a7449, the syscall number
a0struct futex_waitv *waiters
a1unsigned int nr_futexes
a2unsigned int flags
a3struct __kernel_timespec *timeout
a4clockid_t clockid
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/futex_waitv