swapoff on m32r
start/stop swapping to file/device
sys_swapoff(const char *specialfile)
| number | 115 (0x73) |
|---|---|
| abi | common |
| kconfig | CONFIG_SWAP |
| entry point | sys_swapoff |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for m32r) |
| man page | swapoff(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 115, the syscall number |
r0 | const char *specialfile |
r0 | the return value |
Then run trap #2 to enter the kernel.
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
- 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
- tilepro 225, removed in 4.17
- xtensa 177
Get this as JSON: https://api.syscall.sh/v2/syscalls/m32r/swapoff?kernel=all