syscall.sh / s390x / futex_wait

futex_wait

sys_futex_wait(void *uaddr, unsigned long val, unsigned long mask, unsigned int flags, struct __kernel_timespec *timespec, clockid_t clockid)
number455 (0x1c7)
abicommon
entry pointsys_futex_wait
sinceLinux 6.7
sourceelixir.bootlin.com

Registers

registervalue
r1455, the syscall number
r2void *uaddr
r3unsigned long val
r4unsigned long mask
r5unsigned int flags
r6struct __kernel_timespec *timespec
r7clockid_t clockid
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/s390x/futex_wait