sync_file_range on metag
sync a file segment with disk
sys_sync_file_range_metag(int, unsigned long, unsigned long, unsigned long, unsigned long, unsigned int)
| number | 84 (0x54) |
|---|---|
| abi | common |
| entry point | sys_sync_file_range_metag |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | sync_file_range(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 84, the syscall number |
D1Ar1 | int |
D0Ar2 | unsigned long |
D1Ar3 | unsigned long |
D0Ar4 | unsigned long |
D1Ar5 | unsigned long |
D0Ar6 | unsigned int |
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 277
- x86 314
- arm64 84
- riscv64 84
- ia32 314
- x32 1073742101
- loongarch64 84
- s390x 307
- mips64 5264
- mipsn32 6268
- mipso32 4305
- alpha 469
- arc 84
- blackfin 343, removed in 4.17
- cris 314, removed in 4.17
- csky 84
- frv 314, removed in 4.17
- hexagon 84
- ia64 1300, removed in 6.7
- m32r 314, removed in 4.17
- m68k 307
- microblaze 314
- mn10300 315, removed in 4.17
- nios2 84
- openrisc 84
- parisc 292
- score 84, removed in 4.17
- sh 314
- sparc 255
- sparc64 255
- tilegx 84, removed in 4.17
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/sync_file_range?kernel=all