syscall.sh / hexagon / sync_file_range2
sync_file_range2
sync a file segment with disk
sys_sync_file_range2(int fd, unsigned int flags, loff_t offset, loff_t nbytes)
This syscall was removed in Linux 6.11.
| number | 84 (0x54) |
|---|---|
| abi | common |
| entry point | sys_sync_file_range2 |
| since | Linux 6.10 |
| removed in | Linux 6.11 |
| man page | sync_file_range2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r6 | 84, the syscall number |
r0 | int fd |
r1 | unsigned int flags |
r2 | loff_t offset |
r3 | loff_t nbytes |
r0 | the return value |
Then run trap0(#1) to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/hexagon/sync_file_range2