swapon on frv
start/stop swapping to file/device
sys_swapon(const char *specialfile, int swap_flags)
| number | 87 (0x57) |
|---|---|
| abi | common |
| kconfig | CONFIG_SWAP |
| entry point | sys_swapon |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for frv) |
| man page | swapon(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
gr7 | 87, the syscall number |
gr8 | const char *specialfile |
gr9 | int swap_flags |
gr8 | the return value |
Then run tira gr0, 0 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 167
- x86 87
- arm64 224
- arm 87
- riscv64 224
- ia32 87
- x32 1073741991
- loongarch64 224
- ppc64 87
- ppc 87
- s390x 87
- mips64 5162
- mipsn32 6162
- mipso32 4087
- alpha 322
- arc 224
- cris 87, removed in 4.17
- csky 224
- hexagon 224
- ia64 1094, removed in 6.7
- m32r 87, removed in 4.17
- m68k 87
- metag 224, removed in 4.17
- microblaze 87
- mn10300 87, removed in 4.17
- nds32 224, removed in 5.18
- nios2 224
- openrisc 224
- parisc 87
- score 224, removed in 4.17
- sh 87
- sparc 85
- sparc64 85
- tilegx 224, removed in 4.17
- tilepro 224, removed in 4.17
- xtensa 173
Get this as JSON: https://api.syscall.sh/v2/syscalls/frv/swapon?kernel=all