syscall.sh / sparc64 / swapon

swapon

start/stop swapping to file/device

sys_swapon(const char *specialfile, int swap_flags)
number85 (0x55)
abicommon
entry pointsys_swapon
sinceLinux 5.0
man pageswapon(2)
sourceelixir.bootlin.com

Registers

registervalue
g185, the syscall number
o0const char *specialfile
o1int swap_flags
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

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