syscall.sh / openrisc / 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.7
man pagesync_file_range(2)
sourceelixir.bootlin.com

Registers

registervalue
r1184, the syscall number
r3int fd
r4loff_t offset
r5loff_t nbytes
r6unsigned int flags
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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