syscall.sh / openrisc / swapoff

swapoff

start/stop swapping to file/device

sys_swapoff(const char *specialfile)
number225 (0xe1)
abicommon
entry pointsys_swapoff
sinceLinux 3.7
man pageswapoff(2)
sourceelixir.bootlin.com

Registers

registervalue
r11225, the syscall number
r3const char *specialfile
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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