syscall.sh / x32 / swapoff

swapoff

start/stop swapping to file/device

sys_swapoff(const char *specialfile)
number1073741992 (0x400000a8)
abicommon
entry pointsys_swapoff
sinceLinux 3.4
man pageswapoff(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741992, the syscall number
rdiconst char *specialfile
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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