syscall.sh / hexagon / swapoff
swapoff
start/stop swapping to file/device
sys_swapoff(const char *specialfile)
| number | 225 (0xe1) |
|---|---|
| abi | common |
| entry point | sys_swapoff |
| since | Linux 3.7 |
| man page | swapoff(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r6 | 225, the syscall number |
r0 | const char *specialfile |
r0 | the return value |
Then run trap0(#1) 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
- m68k 115
- microblaze 115
- nios2 225
- openrisc 225
- parisc 115
- sh 115
- sparc 213
- sparc64 213
- xtensa 177
Get this as JSON: https://api.syscall.sh/v2/syscalls/hexagon/swapoff