syscall.sh / arm / arm_sync_file_range
arm_sync_file_range
sync a file segment with disk
sys_sync_file_range2(int fd, unsigned int flags, loff_t offset, loff_t nbytes)
| number | 341 (0x155) |
|---|---|
| abi | common |
| entry point | sys_sync_file_range2 |
| since | Linux 4.10 |
| man page | arm_sync_file_range(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 341, the syscall number |
r0 | int fd |
r1 | unsigned int flags |
r2 | loff_t offset |
r3 | loff_t nbytes |
r0 | the return value |
Then run svc #0 to enter the kernel.
Get this as JSON: https://api.syscall.sh/v2/syscalls/arm/arm_sync_file_range