sync_file_range on mn10300
sync a file segment with disk
sys_sync_file_range(int fd, loff_t offset, loff_t nbytes, unsigned int flags)
| number | 315 (0x13b) |
|---|---|
| abi | common |
| entry point | sys_sync_file_range |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for mn10300) |
| man page | sync_file_range(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 315, the syscall number |
a0 | int fd |
d1 | loff_t offset |
a3 | loff_t nbytes |
a2 | unsigned int flags |
d0 | the return value |
Then run syscall 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 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
- metag 84, removed in 4.17
- microblaze 314
- 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/mn10300/sync_file_range?kernel=all