syscall.sh / mipsn32 / swapon

swapon

start/stop swapping to file/device

sys_swapon(const char *specialfile, int swap_flags)
number6162 (0x1812)
abin32
entry pointsys_swapon
sinceLinux 5.0
man pageswapon(2)
sourceelixir.bootlin.com

Registers

registervalue
v06162, the syscall number
a0const char *specialfile
a1int swap_flags
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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