syscall.sh / sparc / swapoff
swapoff
start/stop swapping to file/device
sys_swapoff(const char *specialfile)
| number | 213 (0xd5) |
|---|---|
| abi | common |
| entry point | sys_swapoff |
| since | Linux 5.0 |
| man page | swapoff(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 213, the syscall number |
o0 | const char *specialfile |
o0 | the return value |
Then run t 0x10 to enter the kernel.
Same syscall on other architectures
- x64 168
- x86 115
- arm64 225
- arm 115
- riscv64 225
- x32 1073741992
- loongarch64 225
- ppc64 115
- ppc 115
- s390x 115
- mips64 5163
- mipsn32 6163
- mipso32 4115
- alpha 304
- arc 225
- csky 225
- hexagon 225
- m68k 115
- microblaze 115
- nios2 225
- openrisc 225
- parisc 115
- sh 115
- sparc64 213
- xtensa 177
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/swapoff