syscall.sh / alpha / mlock

mlock

lock and unlock memory

sys_mlock(unsigned long start, size_t len)
number314 (0x13a)
abicommon
entry pointsys_mlock
sinceLinux 5.0
man pagemlock(2)
sourceelixir.bootlin.com

Registers

registervalue
v0314, the syscall number
a0unsigned long start
a1size_t len
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/mlock