syscall.sh / sh / swapoff

swapoff

start/stop swapping to file/device

sys_swapoff(const char *specialfile)
number115 (0x73)
abicommon
entry pointsys_swapoff
sinceLinux 5.0
man pageswapoff(2)
sourceelixir.bootlin.com

Registers

registervalue
r3115, the syscall number
r4const char *specialfile
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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