swapoff on tilepro
start/stop swapping to file/device
sys_swapoff(const char *specialfile)
| number | 225 (0xe1) |
|---|---|
| abi | common |
| kconfig | CONFIG_SWAP |
| entry point | sys_swapoff |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | swapoff(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 225, the syscall number |
r0 | const char *specialfile |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 168
- x86 115
- arm64 225
- arm 115
- riscv64 225
- ia32 115
- x32 1073741992
- loongarch64 225
- ppc64 115
- ppc 115
- s390x 115
- mips64 5163
- mipsn32 6163
- mipso32 4115
- alpha 304
- arc 225
- cris 115, removed in 4.17
- csky 225
- frv 115, removed in 4.17
- hexagon 225
- ia64 1095, removed in 6.7
- m32r 115, removed in 4.17
- m68k 115
- metag 225, removed in 4.17
- microblaze 115
- mn10300 115, removed in 4.17
- nds32 225, removed in 5.18
- nios2 225
- openrisc 225
- parisc 115
- score 225, removed in 4.17
- sh 115
- sparc 213
- sparc64 213
- tilegx 225, removed in 4.17
- xtensa 177
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/swapoff?kernel=all