syscall.sh / xtensa / 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)
| number | 326 (0x146) |
|---|---|
| abi | common |
| entry point | sys_sync_file_range2 |
| since | Linux 5.0 |
| man page | sync_file_range2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a2 | 326, the syscall number |
a6 | int fd |
a3 | unsigned int flags |
a4 | loff_t offset |
a5 | loff_t nbytes |
a2 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/sync_file_range2