syscall.sh / parisc / sync_file_range
sync_file_range
sync a file segment with disk
parisc_sync_file_range(int fd, loff_t offset, loff_t nbytes, unsigned int flags)
| number | 292 (0x124) |
|---|---|
| abi | 32 |
| entry point | parisc_sync_file_range |
| since | Linux 5.0 |
| man page | sync_file_range(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 292, the syscall number |
r26 | int fd |
r25 | loff_t offset |
r24 | loff_t nbytes |
r23 | unsigned int flags |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
- x64 277
- x86 314
- arm64 84
- riscv64 84
- x32 1073742101
- loongarch64 84
- s390x 307
- mips64 5264
- mipsn32 6268
- mipso32 4305
- alpha 469
- arc 84
- csky 84
- hexagon 84
- m68k 307
- microblaze 314
- nios2 84
- openrisc 84
- sh 314
- sparc 255
- sparc64 255
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/sync_file_range