syscall.sh / ppc / swapon

swapon

start/stop swapping to file/device

sys_swapon(const char *specialfile, int swap_flags)
number87 (0x57)
abinospu
entry pointsys_swapon
sinceLinux 5.0
man pageswapon(2)
sourceelixir.bootlin.com

Registers

registervalue
r087, the syscall number
r3const char *specialfile
r4int swap_flags
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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