sync_file_range on m32r
sync a file segment with disk
sys_sync_file_range(int fd, loff_t offset, loff_t nbytes, unsigned int flags)
| number | 314 (0x13a) |
|---|---|
| abi | common |
| entry point | sys_sync_file_range |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for m32r) |
| man page | sync_file_range(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 314, the syscall number |
r0 | int fd |
r1 | loff_t offset |
r2 | loff_t nbytes |
r3 | unsigned int flags |
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 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
- m68k 307
- metag 84, removed in 4.17
- 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/m32r/sync_file_range?kernel=all