syscall.sh / mips64 / futex

futex

fast user-space locking

sys_futex(u32 *uaddr, int op, u32 val, const struct __kernel_timespec *utime, u32 *uaddr2, u32 val3)
number5194 (0x144a)
abin64
entry pointsys_futex
sinceLinux 5.0
man pagefutex(2)
sourceelixir.bootlin.com

Registers

registervalue
v05194, the syscall number
a0u32 *uaddr
a1int op
a2u32 val
a3const struct __kernel_timespec *utime
a4u32 *uaddr2
a5u32 val3
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mips64/futex