syscall.sh / xtensa / mlock

mlock

lock and unlock memory

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

Registers

registervalue
a284, the syscall number
a6unsigned long start
a3size_t len
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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