syscall.sh / x64 / swapoff

swapoff

start/stop swapping to file/device

sys_swapoff(const char *specialfile)
number168 (0xa8)
abicommon
entry pointsys_swapoff
sinceLinux 3.3
man pageswapoff(2)
sourceelixir.bootlin.com

Registers

registervalue
rax168, 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/x64/swapoff