sync on metag
commit filesystem caches to disk
sys_sync(void)
| number | 81 (0x51) |
|---|---|
| abi | common |
| entry point | sys_sync |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | sync(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 81, the syscall number |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
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 162
- x86 36
- arm64 81
- arm 36
- riscv64 81
- ia32 36
- x32 1073741986
- loongarch64 81
- ppc64 36
- ppc 36
- s390x 36
- mips64 5157
- mipsn32 6157
- mipso32 4036
- alpha 36
- arc 81
- blackfin 36, removed in 4.17
- cris 36, removed in 4.17
- csky 81
- frv 36, removed in 4.17
- hexagon 81
- ia64 1050, removed in 6.7
- m32r 36, removed in 4.17
- m68k 36
- microblaze 36
- mn10300 36, removed in 4.17
- nds32 81, removed in 5.18
- nios2 81
- openrisc 81
- parisc 36
- score 81, removed in 4.17
- sh 36
- sparc 36
- sparc64 36
- tilegx 81, removed in 4.17
- tilepro 81, removed in 4.17
- xtensa 178
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/sync?kernel=all