syscall.sh / sh / sync_file_range

sync_file_range

sync a file segment with disk

sys_sh_sync_file_range6(int fd, loff_t offset, loff_t nbytes, unsigned int flags)
number314 (0x13a)
abicommon
entry pointsys_sh_sync_file_range6
sinceLinux 5.0
man pagesync_file_range(2)
sourceelixir.bootlin.com

Registers

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

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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