syscall.sh / ppc / sync_file_range2
sync_file_range2
sync a file segment with disk
sys_ppc_sync_file_range2(int fd, unsigned int flags, unsigned int offset1, unsigned int offset2, unsigned int nbytes1, unsigned int nbytes2)
| number | 308 (0x134) |
|---|---|
| abi | 32 |
| entry point | sys_ppc_sync_file_range2 |
| since | Linux 5.0 |
| man page | sync_file_range2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 308, the syscall number |
r3 | int fd |
r4 | unsigned int flags |
r5 | unsigned int offset1 |
r6 | unsigned int offset2 |
r7 | unsigned int nbytes1 |
r8 | unsigned int nbytes2 |
r3 | the return value |
Then run sc to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc/sync_file_range2