syscall.sh / xtensa / swapoff

swapoff

start/stop swapping to file/device

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

Registers

registervalue
a2177, the syscall number
a6const char *specialfile
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/swapoff