syscall.sh / nios2 / sync_file_range

sync_file_range

sync a file segment with disk

sys_sync_file_range(int fd, loff_t offset, loff_t nbytes, unsigned int flags)
number84 (0x54)
abicommon
entry pointsys_sync_file_range
sinceLinux 3.19
man pagesync_file_range(2)
sourceelixir.bootlin.com

Registers

registervalue
r284, the syscall number
r4int fd
r5loff_t offset
r6loff_t nbytes
r7unsigned int flags
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/nios2/sync_file_range